svn commit: trunk/busybox: applets archival archival/libunarchive etc...
Denis Vlasenko
vda.linux at googlemail.com
Thu Oct 5 17:13:39 UTC 2006
On Thursday 05 October 2006 14:27, Bernhard Fischer wrote:
> On Thu, Oct 05, 2006 at 02:14:56PM +0200, Bernhard Fischer wrote:
> >On Thu, Oct 05, 2006 at 03:17:13AM -0700, vda at busybox.net wrote:
> >>Author: vda
> >>Date: 2006-10-05 03:17:08 -0700 (Thu, 05 Oct 2006)
> >>New Revision: 16307
> >>
> >>Log:
> >>build system overhaul
> >
> >Forgot to add a file or two?
>
> also (i must be doing something wrong, yes?):
> $ (set -x;make allnoconfig;make;cp -a ..config..mine .config;make)
> [snip]
> + make
> SPLIT include/autoconf.h -> include/config/*
> GEN include/bbconfigopts.h
> GEN include/usage_compressed.h
> + cp -a ..config..mine .config
> + make
> CC archival/gunzip.o
> archival/gunzip.c: In function 'gunzip_main':
> archival/gunzip.c:119: error: 'ENABLE_FEATURE_GUNZIP_UNCOMPRESS'
> undeclared (first use in this function)
> archival/gunzip.c:119: error: (Each undeclared identifier is reported
> only once
> archival/gunzip.c:119: error: for each function it appears in.)
> make[1]: *** [archival/gunzip.o] Error 1
> make: *** [archival] Error 2
Fixed now. Sorry.
> hm.
> $ cd ../
> $ mkdir obj
> $ cd obj/
> $ cp -a ../busybox/.config .
> $ make CC=gcc-4.1 -f ../busybox/Makefile
> ../busybox/Makefile:266: /tmp/obj/scripts/Kbuild.include: No such file
> or directory
> ../busybox/Makefile:305: /tmp/obj/Makefile.flags: No such file or
> directory
> make: *** No rule to make target `/tmp/obj/Makefile.flags'. Stop.
make O=object_dir works for me. According to makefile,
export KBUILD_OUTPUT=dir/to/store/output/files/
make
should work too.
>
> $ make CC=gcc-4.1 srctree=/tmp/busybox -f ../busybox/Makefile
> make[2]: scripts/Makefile.build: No such file or directory
> make[2]: *** No rule to make target `scripts/Makefile.build'. Stop.
> make[1]: *** [scripts_basic] Error 2
> make: *** [include/autoconf.h] Error 2
>
> hmz.
> $ make CC=gcc-4.1 srctree=/tmp/busybox KBUILD_SRC=/tmp/busybox -f
> ../busybox/Makefile
> Using /tmp/busybox as source for kernel
> /tmp/busybox is not clean, please run 'make mrproper'
> in the '/tmp/busybox' directory.
> make: *** [prepare3] Error 1
> goto maybe_missing_files;
>
> $ make -C ../busybox mrproper
> make: Entering directory `/tmp/busybox'
> make[1]: scripts/Makefile.clean: No such file or directory
> make[1]: *** No rule to make target `scripts/Makefile.clean'. Stop.
> make: *** [_clean_/tmp/busybox] Error 2
> make: Leaving directory `/tmp/busybox'
Working on these problems now.
--
vda
More information about the busybox
mailing list