[BusyBox] multibuild.pl script (or perl) seems broken

Giulio Orsero giulioo at pobox.com
Thu Mar 15 20:59:44 UTC 2001


2.0.33/libc5/2.7.2.3/perl-5.004_03

This is a multibuild.pl problem (or due to the perl version installed on my
system), NOT a busybox one.

repeating "perl tests/multibuild.pl" gives random failures at each run

It seems there's a problem in compiling the right file.
I don't have this problem on a more "recent" (perl 5.005_03) box.


Just a few examples from multibuild.log


***
ECHO        <====== It should be echo.c but it uses dumpkmap.c instead!!
***
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c dumpkmap.c -o dumpkma
p.o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c busybox.c -o busybox.
o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c messages.c -o message
s.o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c usage.c -o usage.o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c utility.c -o utility.
o
gcc -s -Wl,-warn-common -o busybox dumpkmap.o  busybox.o messages.o usage.o util
ity.o
busybox.o(.rodata+0x10): undefined reference to `echo_main'
make: *** [busybox] Error 1
 

***
FIND         <====== It should be find.c but it uses fdflush.c instead!!
***
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c fdflush.c -o fdflush.
o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c busybox.c -o busybox.
o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c messages.c -o message
s.o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c usage.c -o usage.o
gcc -I- -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.50pre"' -DBB_
BT='"2001.03.15-20:44+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c utility.c -o utility.
o
gcc -s -Wl,-warn-common -o busybox fdflush.o  busybox.o messages.o usage.o utili
ty.o
busybox.o(.rodata+0x10): undefined reference to `find_main'
make: *** [busybox] Error 1


and so on.

-- 
giulioo at pobox.com





More information about the busybox mailing list