Hi,
make check seems to be broken:
$ make \
CROSS_COMPILE=/there.pentium4/build_i386/staging_dir/usr/bin/i386-linux-uclibc-
\
EXTRA_CFLAGS="--sysroot=/there.pentium4/build_i386/staging_dir/ -isysroot
/there.pentium4/build_i386/staging_dir -I=/usr/include"
[snip normal compile output]
[Note that this is statically linked and matches the host-arch thus runs
fine]
$ make \
CROSS_COMPILE=/there.pentium4/build_i386/staging_dir/usr/bin/i386-linux-uclibc-
\
EXTRA_CFLAGS="--sysroot=/there.pentium4/build_i386/staging_dir/ -isysroot
/there.pentium4/build_i386/staging_dir -I=/usr/include" \
V=1 check
rm -f .kernelrelease
echo 1.11.0.svn > .kernelrelease
make -f scripts/Makefile.build obj=scripts/basic
make -f scripts/Makefile.build obj=.
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=applets
/there.pentium4/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc
-Wp,-MD,applets/.applets.o.d -march=i386
-mpreferred-stack-boundary=2 -Wdeclaration-after-statement
-Wno-pointer-sign --sysroot=/there.pentium4/build_i386/staging_dir/
-isysroot /there.pentium4/build_i386/staging_dir -I=/usr/include
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(applets)"
-D"KBUILD_MODNAME=KBUILD_STR(applets)" -c -o applets/applets.o
applets/applets.c
applets/applets.c:11:21: error: busybox.h: No such file or directory
make[1]: *** [applets/applets.o] Error 1
make: *** [applets] Error 2
Somebody ate the default CFLAGS. Thus:
Index: Makefile
===================================================================
--- Makefile (revision 21690)
+++ Makefile (working copy)
@@ -361,7 +361,7 @@ endif
# of make so .config is not included in this case either (for *config).
no-dot-config-targets := clean mrproper distclean \
- cscope TAGS tags help %docs check%
+ cscope TAGS tags help %docs
config-targets := 0
mixed-targets := 0
$ make $etc
$ make $etc check
rm -f .kernelrelease
echo 1.11.0.svn > .kernelrelease
make -f scripts/Makefile.build obj=scripts/basic
make -f scripts/Makefile.build obj=.
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=applets
make -f scripts/Makefile.build obj=archival
make -f scripts/Makefile.build obj=archival/libunarchive
make -f scripts/Makefile.build obj=console-tools
make -f scripts/Makefile.build obj=coreutils
make -f scripts/Makefile.build obj=coreutils/libcoreutils
make -f scripts/Makefile.build obj=debianutils
make -f scripts/Makefile.build obj=e2fsprogs
make -f scripts/Makefile.build obj=editors
make -f scripts/Makefile.build obj=findutils
make -f scripts/Makefile.build obj=init
make -f scripts/Makefile.build obj=libbb
make -f scripts/Makefile.build obj=libpwdgrp
make -f scripts/Makefile.build obj=loginutils
make -f scripts/Makefile.build obj=miscutils
make -f scripts/Makefile.build obj=modutils
make -f scripts/Makefile.build obj=networking
make -f scripts/Makefile.build obj=networking/libiproute
make -f scripts/Makefile.build obj=networking/udhcp
make -f scripts/Makefile.build obj=printutils
make -f scripts/Makefile.build obj=procps
make -f scripts/Makefile.build obj=runit
make -f scripts/Makefile.build obj=selinux
make -f scripts/Makefile.build obj=shell
make -f scripts/Makefile.build obj=sysklogd
make -f scripts/Makefile.build obj=util-linux
make -f scripts/Makefile.build obj=util-linux/volume_id
rm -f .old_version
bindir=/tmp/busybox srcdir=/tmp/busybox/testsuite SED="" \
/bin/sh /tmp/busybox/testsuite/runtest -v
FAIL: Config.in
+ menu 'Init Utilities'
/tmp/busybox/init/Config.in: line 6: menu: command not found
FAIL: Kbuild
+ lib-y:=
/tmp/busybox/init/Kbuild: line 7: lib-y:=: command not found
FAIL: built-in.o
/tmp/busybox/init/built-in.o: line 1: syntax error near unexpected token
`newline'
FAIL: halt.c
[snip]
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox