rtems-addon-packages compile failure

Mike Westfall mike at mesamike.org
Wed Dec 16 22:40:31 UTC 2015


Can someone help me with this?
As you can see from the output below, I am attempting to compile for a
powerpc/psim target.

rtems-addon-packages fails when compiling ncurses with the following errors:

powerpc-rtems4.12-gcc --pipe -B/opt/rtems/4.12/powerpc-rtems4.12/psim/lib/
-specs bsp_specs -qrtems   -meabi -mcpu=603e -msdata=sysv -fno-common
-Dppc603e -DHAVE_CONFIG_H -I../ncurses -I.   -D_XOPEN_SOURCE=500 -DNDEBUG
-I. -I../include -I/opt/rtems/4.12/powerpc-rtems4.12/psim/lib/include -O2
--param max-inline-insns-single=1200 -c ../ncurses/lib_gen.c -o
../objects/lib_gen.o
_26302.c:758:3: error: "_Bool" after # is not a positive integer
_26302.c:764:3: error: "_Bool" after # is not a positive integer
_26302.c:770:3: error: "_Bool" after # is not a positive integer
_26302.c:776:3: error: "_Bool" after # is not a positive integer
_26302.c:782:3: error: "_Bool" after # is not a positive integer
_26302.c:788:3: error: "_Bool" after # is not a positive integer
_26302.c:794:3: error: "_Bool" after # is not a positive integer
_26302.c:800:3: error: "_Bool" after # is not a positive integer
_26302.c:806:3: error: "_Bool" after # is not a positive integer
_26302.c:812:3: error: "_Bool" after # is not a positive integer
_26302.c:818:3: error: "_Bool" after # is not a positive integer
_26302.c:824:3: error: "_Bool" after # is not a positive integer
_26302.c:836:3: error: "_Bool" after # is not a positive integer
In file included from ../ncurses/curses.priv.h:283:0,
                 from ../ncurses/lib_gen.c:19:
_26302.c:837:2: error: expected ')' before 'int'
Makefile:776: recipe for target '../objects/lib_gen.o' failed
make[2]: *** [../objects/lib_gen.o] Error 1
make[2]: Leaving directory
'/opt/rtems/devel/rtems-addon-packages/ncurses-5.9/ncurses'


Mike Westfall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20151216/17b7c261/attachment.html>


More information about the users mailing list