[BusyBox] Compile problems with latest unstable & libc5

Andrew Flegg andrew at bleb.org
Wed Apr 23 15:56:42 UTC 2003


Hi,

Using the attached .config with the latest unstable snapshot doesn't
compile with Debian sarge's altgcc libc5 environment. It works fine,
however, using the normal glibc gcc.

andrew at wigwam $ PATH=/usr/i486-linuxlibc1/bin:$PATH make
gcc -I./include -Wall -Wstrict-prototypes -Wshadow -O2
-malign-functions=0 -malign-jumps=0 -malign-loops=0 -fomit-frame-pointer
-D_GNU_SOURCE -DNDEBUG     -c
-o applets/applets.o applets/applets.c
In file included from include/busybox.h:43,
                 from applets/applets.c:32:
include/libbb.h:152: parse error before `stream'
include/libbb.h:153: warning: function declaration isn't a prototype
include/libbb.h:154: parse error before `format'
include/libbb.h:155: warning: function declaration isn't a prototype
include/libbb.h:156: parse error before `stream'
include/libbb.h:157: warning: function declaration isn't a prototype
include/libbb.h:158: parse error before `format'
include/libbb.h:159: warning: function declaration isn't a prototype
make: *** [applets/applets.o] Error 1

Uncommenting the LIBCDIR:=/usr/i486-linuxlibc1 line in Rules.mak doesn't
make any difference.

Anbody got any ideas?

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/


More information about the busybox mailing list