[BusyBox] Problem compiling 0.60.1...external code required!?!
Charles Steinkuehler
charles at steinkuehler.net
Fri Oct 19 09:32:33 UTC 2001
> If I link with libutil.a from modutils (simply adding it to the end of the
> above gcc command), the error goes away (and busybox insmod works
properly),
> but there's no mention of having to link against external code in any of
the
> busybox documentation...
Update:
After a bit more digging, I found I can get everything to compile properly
using only busybox code if I comment out the test for __GNU_LIBRARY__ < 5 in
libbb/module_syscalls.c
I'm still not sure *why* I need to do this, but it works (and makes the
binary about 5K smaller than linking with the library from modutils).
Details on my C library:
__GNU_LIBRARY__ 6
__GLIBC__ 2
__GLIBC_MINOR__ 0
Again, this is a Debian 2.1 (slink) environment...
Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
More information about the busybox
mailing list