Latest svn revision 12662 compilation broken

Rob Landley rob at landley.net
Sun Dec 4 19:08:52 UTC 2005


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
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.



More information about the busybox mailing list