[BusyBox] Compiling busybox with uC-libc
Erik Andersen
andersen at lineo.com
Thu Nov 16 16:07:58 UTC 2000
On Thu Nov 16, 2000 at 10:17:02AM +0000, Miguel Armas wrote:
>
> Hi there!
>
> I've been trying to compile busybox with uC-libc on an iX86 box.
> I tried all the configs I found on the list, and finally could compile,
> But when I try to run any tool I get a segfault and dumps core.
> The only thing that works is running the ./busybox --help
>
> Could anyone that has it working put uC-libc and busybox in an ftp so I
> can try their configurations??
Right now, I seem to have broken malloc, so you will need to use uClibc
malloc-simple till I get it fixed (edit Config to set MALLOC = malloc-simple).
I need to look throuh my changes to find what I broke...
Also to compile busybox, you currently need to turn off BB_GETOPT and
BB_FEATURE_NFS_MOUNT
> Also I have problems compiling with BB_SH, it always fails with:
>
> sh.c: In function `builtin_env':
> sh.c:218: `environ' undeclared (first use in this function)
> sh.c:218: (Each undeclared identifier is reported only once
> sh.c:218: for each function it appears in.)
> make: *** [sh.o] Error 1
Hmm. I'll take a look at this. I refactored someheader files
recently. Yup -- it had moved inside a _USE_GNU block. I just
moved it back out so it will be included by default in the header file
Try again?
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list