Skip to contentSkip to conversation

anyone else seeing a "ncurses-native" build error?

DISCUSSION Robert P. J. Day 2 participants 3 messages Feb 11, 2015 – Feb 12, 2015

lore
Share & tools
lore
#0 lore raw

building for a MIPS target on a fully-updated 64-bit fedora rawhide
system:

| gcc -DHAVE_CONFIG_H -I../ncurses -I/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses -isystem/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/../include -I/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-D_GNU_SOURCE -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/base/lib_initscr.c -o ../obj_s/lib_initscr.o
| In file included from /home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/curses.priv.h:283:0,

|                  from ../ncurses/lib_gen.c:19:
| _744.c:835:15: error: expected ')' before 'int'
| ../include/curses.h:1594:56: note: in definition of macro 'mouse_trafo'
|  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
|                                                         ^
| Makefile:1682: recipe for target '../obj_s/lib_gen.o' failed
| make[1]: *** [../obj_s/lib_gen.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory

'/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/build/narrowc/ncurses' | Makefile:134: recipe for target 'libs' failed
| make: *** [libs] Error 2

totally new to me, about to dig in ...

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

I haven't.

- Armin

Quoted 33 lines · Robert P. J. Day

building for a MIPS target on a fully-updated 64-bit fedora rawhide
system:

| gcc -DHAVE_CONFIG_H -I../ncurses

(quoted diff) +0 -7
-I/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses
-isystem/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-D_GNU_SOURCE -DNDEBUG -I. -I../include
-I/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/../include
-I/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-isystem/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-D_GNU_SOURCE -O2 -pipe  --param max-inline-insns-single=1200 -fPIC -c

/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/base/lib_initscr.c -o ../obj_s/lib_initscr.o
| In file included from /home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/curses.priv.h:283:0,

|                  from ../ncurses/lib_gen.c:19:
| _744.c:835:15: error: expected ')' before 'int'
| ../include/curses.h:1594:56: note: in definition of macro 'mouse_trafo'
|  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
|                                                         ^
| Makefile:1682: recipe for target '../obj_s/lib_gen.o' failed
| make[1]: *** [../obj_s/lib_gen.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory

'/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/build/narrowc/ncurses' | Makefile:134: recipe for target 'libs' failed
| make: *** [libs] Error 2

totally new to me, about to dig in ...

rday

#2 lore raw
Quoted 3 lines · On Wed, 11 Feb 2015, akuster808 wrote:

I haven't.

- Armin

please don't top post.

Quoted 30 lines · Robert P. J. Day
Quoted 29 lines

building for a MIPS target on a fully-updated 64-bit fedora rawhide
system:

| gcc -DHAVE_CONFIG_H -I../ncurses

(quoted diff) +0 -7
-I/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses
-isystem/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-D_GNU_SOURCE -DNDEBUG -I. -I../include
-I/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/../include
-I/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-isystem/home/rpjday/oe/builds/vtss/minimal/tmp/sysroots/x86_64-linux/usr/include
-D_GNU_SOURCE -O2 -pipe  --param max-inline-insns-single=1200 -fPIC -c

/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/base/lib_initscr.c -o ../obj_s/lib_initscr.o
| In file included from /home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/ncurses-5.9/ncurses/curses.priv.h:283:0,

|                  from ../ncurses/lib_gen.c:19:
| _744.c:835:15: error: expected ')' before 'int'
| ../include/curses.h:1594:56: note: in definition of macro 'mouse_trafo'
|  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
|                                                         ^
| Makefile:1682: recipe for target '../obj_s/lib_gen.o' failed
| make[1]: *** [../obj_s/lib_gen.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory

'/home/rpjday/oe/builds/vtss/minimal/tmp/work/x86_64-linux/ncurses-native/5.9-r15.1/build/narrowc/ncurses' | Makefile:134: recipe for target 'libs' failed
| make: *** [libs] Error 2

Quoted 1 line
Quoted 1 line

totally new to me, about to dig in ...

i just tried a totally generic qemux86/core-image-minimal build on
this fedora rawhide system, and got exactly the same build error. first time i've ever seen this, this build used to work fine.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================