build error; missing dependencies on *every* new applet

Denys Vlasenko vda.linux at googlemail.com
Tue Nov 24 21:22:57 UTC 2009


On Tue, Nov 24, 2009 at 8:05 PM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> Hi there,
>
> another applet, the same old freaking breakage.
>
> I had a tree without the ntp stuff here previous defconfig'ured, did:
> $ git pull --rebase
> $ make clean ; make allnoconfig
> $ make menuconfig
> # enable the true applet, but that shouldn't even be needed
> $ make -j32
> gcc  -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused
> -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes
> -Wmissing-declarations -Wdeclaration-after-statement
> -Wold-style-definition -fno-builtin-strlen -finline-limit=0
> -fomit-frame-pointer -ffunction-sections -fdata-sections
> -fno-guess-branch-probability -funsigned-char -static-libgcc
> -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os
> -march=i386 -mpreferred-stack-boundary=2  -std=gnu99 -Iinclude -Ilibbb
> -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG
> -D"BB_VER=KBUILD_STR(1.16.0.git)" -DBB_BT=AUTOCONF_TIMESTAMP
> applets/usage_pod.c   m crypt -o applets/usage_pod
> gcc: m: No such file or directory
> gcc: crypt: No such file or directory
> applets/usage_pod.c:19:27: error: applet_tables.h: No such file or
> directory
> applets/usage_pod.c: In function ‘main’:
> applets/usage_pod.c:45: error: ‘applet_names’ undeclared (first use in
> this function)
> applets/usage_pod.c:45: error: (Each undeclared identifier is reported
> only once
> applets/usage_pod.c:45: error: for each function it appears in.)
> make: *** [applets/usage_pod] Error 1
>
> same old sh^W
>
> A 1-job make does the proper:
> $ make
>  SPLIT   include/autoconf.h -> include/config/*
>  GEN     include/bbconfigopts.h
>  HOSTCC  applets/usage
>  GEN     include/usage_compressed.h
>  HOSTCC  applets/applet_tables
>  GEN     include/applet_tables.h
>  CC      applets/applets.o
>  LD      applets/built-in.o
>  HOSTCC  applets/usage_pod
>
> Perhaps some brave sould could *please* fix that annoyance!

Dreaded Makefiles.

Try attached.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.patch
Type: application/octet-stream
Size: 1324 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20091124/823ee603/attachment.obj>


More information about the busybox mailing list