Latest svn revision 12662 compilation broken

Bernhard Fischer rep.nop at aon.at
Mon Dec 5 22:08:50 UTC 2005


On Mon, Dec 05, 2005 at 10:37:52PM +0100, Tito wrote:
>On Sunday 04 December 2005 20:08, Rob Landley wrote:
>> On Sunday 04 December 2005 07:15, Tito wrote:
>> > Hi to all,
>> > I'm trying to compile the latest bb svn revision 12662,
>> > but it seems to be broken.
>> > The error message i get is:
>> > root at localhost:/dev/pts/3:/root/Desktop/busybox# make
>> > make -C /root/Desktop/busybox \
>> > top_srcdir=/root/Desktop/busybox \
>> > top_builddir=/root/Desktop/busybox \
>> > KBUILD_SRC=/root/Desktop/busybox \
>> > -f /root/Desktop/busybox/Makefile _all
>> > make[1]: Entering directory `/root/Desktop/busybox'
>> > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/bb_mkdep
>> > /root/Desktop/busybox/scripts/bb_mkdep.c scripts/bb_mkdep -c
>> > include/config.h -c include/bb_config.h \
>> >         -I /root/Desktop/busybox/include /root/Desktop/busybox >
>> > .depend.tmp mv .depend.tmp .depend
>> > gcc -I/root/Desktop/busybox/include -I/root/Desktop/busybox/include
>> > -I/root/Desktop/busybox/libbb -funsigned-char -Wall -Wstrict-prototypes
>> > -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2 -falign-functions=0
>> > -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG
>> > -c -o /root/Desktop/busybox/applets/applets.o
>> > /root/Desktop/busybox/applets/applets.c In file included from
>> > /root/Desktop/busybox/applets/applets.c:48:
>> > /root/Desktop/busybox/include/applets.h:677: error: 'tr_main' undeclared
>> 
>> Line 677 is the middle of these three:
>> 
>> #ifdef CONFIG_TR
>>         APPLET(tr, tr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
>> #endif
>> 
>> So that line shouldn't even be hit unless CONFIG_TR is set...
>> 
>> > here (not in a function) /root/Desktop/busybox/include/applets.h:740:
>> > error: 'watchdog_main' undeclared here (not in a function) make[1]: ***
>> 
>> Same with CONFIG_WATCHDOG...
>> 
>> > So far I've tried a fresh  svn co svn://busybox.net/trunk/busybox
>> > but nothing changed.
>> > By looking at applets.h I couldn't see any obvious problem.
>> 
>> Me neither.  I'm building make allnoconfig, make allyesconfig, and make 
>> allbaseconfig.  (Er, "allbareconfig".  I get that wrong every time.  But it 
>> built.)
>> 
>> > Let me know if you need more info about .config or other stuff.
>> 
>> Yes, please attach a copy of your .config.  I have no _idea_ what's wrong...
>> 
>> Rob
>
>Hi,
>things are going weird.
>I've tried also busybox-1.01, but i get almost the same error:
>
>In file included from /root/Desktop/busybox-1.01/busybox-1.01/applets/applets.c:48:
>/root/Desktop/busybox-1.01/busybox-1.01/include/applets.h:551: error: 'sysctl_main' undeclared here (not in a function)
>/root/Desktop/busybox-1.01/busybox-1.01/include/applets.h:587: error: 'tr_main' undeclared here (not in a function)
>/root/Desktop/busybox-1.01/busybox-1.01/include/applets.h:647: error: 'watchdog_main' undeclared here (not in a function)

could that be the config namespace biting again?

BB_CONFIG_TR vs. the tokenring stuff, just as a very wild guess.

Do you see anything suspicious in the preprocessor-output of applets.c?

>make: *** [/root/Desktop/busybox-1.01/busybox-1.01/applets/applets.o] Error 1
>
>The question now for me is:
>is my system somehow broken?
>Maybe it is, but other sources compile fine (Kernel, some apps, some of my own progs).
>Some hints??
>
>Ciao,
>Tito



More information about the busybox mailing list