[BusyBox] busybox + gcc 2.97

Bryan Rittmeyer bryan at ixiacom.com
Wed Jan 10 05:53:11 UTC 2001


Hello,

Just wondering if anyone has tried building BB's insmod.c with gcc 2.97.
I get the following error:

sh-linux-gnu-gcc -Wall -Os -fomit-frame-pointer -D_GNU_SOURCE -ml -m4
-I- -I. -I.  -DBB_VER='"0.49pre"' -DBB_BT='"2001.01.10-05:49+0000"'   -c
-o insmod.o insmod.c
insmod.c: In function `hide_special_symbols':
insmod.c:2868: warning: implicit declaration of function `ELFW'
insmod.c:2868: `ST_TYPE' undeclared (first use in this function)
insmod.c:2868: (Each undeclared identifier is reported only once
insmod.c:2868: for each function it appears in.)
insmod.c:2868: called object is not a function
make: *** [insmod.o] Error 1

I am also (obviously) using a cross compiler, so I'm not sure if this is
a problem with insmod.c, gcc 2.97 itself, or the (admittedly
experimental) Hitachi SH4 patches to gcc.

Regards,

Bryan

-- 
Bryan Rittmeyer
mailto:bryan at ixiacom.com
Ixia Communications
26601 W. Agoura Rd.
Calabasas, CA 91302





More information about the busybox mailing list