[BusyBox] conflicting types for `bool'...
Steven Scholz
steven.scholz at imc-berlin.de
Thu Dec 5 12:26:03 UTC 2002
Hi there,
I just pulled the recent cvs version of busybox and tried "make menuconfig"
But this results in
make -C scripts/config
make[1]: Entering directory `/home/scholz/EXTERNAL_CVS/busybox/scripts/config'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-DCURSES_LOC="<ncurses.h>" -I. -c mconf.c -o mconf.o
In file included from expr.h:15,
from lkc.h:9,
from mconf.c:29:
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdbool.h:11: conflicting types
for `bool'
/usr/include/ncurses.h:103: previous declaration of `bool'
make[1]: *** [mconf.o] Error 1
????
My /usr/include/ncurses.h contains the lines
/* XSI and SVr4 specify that curses implements 'bool'. However, C++ may also
* implement it. If so, we must use the C++ compiler's type to avoid conflict
* with other interfaces.
*/
...
#if (!defined(__cplusplus) || !1) && (!0)
#undef bool
typedef unsigned char bool;
#endif
???
The snapshot busybox-unstable-20021205.tar.bz2 is still working!
Any ideas?
Thanks,
Steven
More information about the busybox
mailing list