Skip to contentSkip to conversation

ncurses

DISCUSSION Craig Swank 1 participant 1 message Mar 4, 2012

lore
Share & tools
lore
#0 lore raw

Hello,
I'm getting an error when I try to bitbake ncurses. I set up my openembedded environment according to the instructions at:
http://www.angstrom-distribution.org/building-angstrom

when I do bitbake ncurses I get the following error:

| error: unknown type name 'SIG_ATOMIC_T'
| In file included from /home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/ncurses/build.priv.h:85:0,
|                  from /home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/ncurses/tinfo/make_keys.c:40:
| /home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/ncurses/../include/nc_alloc.h:97:0: warning: "strdup" redefined [enabled by default]
| /usr/include/x86_64-linux-gnu/bits/string2.h:1316:0: note: this is the location of the previous definition
| /home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/ncurses/curses.priv.h:1165:1: error: unknown type name 'SIG_ATOMIC_T'
| In file included from /home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/ncurses/curses.priv.h:1444:0,
|                  from /home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/ncurses/tinfo/access.c:33:
| /home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/ncurses/../include/nc_alloc.h:97:0: warning: "strdup" redefined [enabled by default]
| /usr/include/x86_64-linux-gnu/bits/string2.h:1316:0: note: this is the location of the previous definition
| make[1]: *** [../obj_s/access.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory `/home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/narrowc/ncurses'
| make: *** [libs] Error 2
| make: Leaving directory `/home/craig/Projects/OE/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/x86_64-linux/ncurses-native-5.9-r4.1/ncurses-5.9/narrowc'
| ERROR: oe_runmake failed

NOTE: package ncurses-native-5.9-r4.1: task do_compile: Failed
ERROR: Task 219 (virtual:native:/home/craig/Projects/OE/setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb, do_compile) failed with exit code '1'

Can anyone suggest how I can get it working?

Just in case you need this:

OS: Ubuntu 11.10
Processor: quad core AMD (64 bit)

Craig