[uClibc]Kernel does not build with binary toolchain

tom at ceisystems.com tom at ceisystems.com
Wed Jun 4 17:21:37 UTC 2003


Hello all,

	Just a few extra side notes.  To compile many packages, you need lots of "extra" functionality built into BusyBox, which is absent in the "vanilla" root image.  Additionally, many of these utilities must be 100% GNU compatable.  This is not the case for many BusyBox tools.  The simplest reason is that many GNU utilities have _lots_ of uncommon options and legacy compatabilities...which you will most likely not need on an embedded/light-weight system.

	So, I suggest that you grab the gzip, bzip2, bin86, nasm, and maybe even Perl sources, build and install them in your buildroot, and then try compiling the kernel or other packages.  This is most likely to be your best bet.

Good luck,
Thomas Cameron
CEI Systems, Inc.


> -----Original Message-----
> From: Andi [mailto:db5fx at afthd.tu-darmstadt.de] 
> Sent: Wednesday, June 04, 2003 3:05 AM
> To: tecneeq at gmx.net
> Cc: uclibc at uclibc.org
> Subject: Re:[uClibc]Kernel does not build with binary toolchain
> 
> 
> Hi Karsten!
> 
>  Karsten Kruse <tecneeq at gmx.net> wrote on 04.06.2003 01:57:
> 
> >Hi,
> >
> >i try to build a kernel in the chroot'ed i386-toolchain but 
> it does not
> >work and i have no idea why this is the case. The build 
> itself works, 
> >but my kernel-image is very, very small:
> > [...]
> >Setup is 4765 bytes.
> >System is 12 kB
> >
> >Any idea what could be wrong or cause this? I checked the 
> Changes file 
> >but it seems i have everything i need.
> >
> 
> I got the same problem about a month ago and there are two issues:
> 
> 1. You definitely need gnu-zip . The busybox zip won't do the job 
> compressing the kernel image at all. 
> ( ftp://wuarchive.wustl.edu/mirrors/gnu/gzip/ )
> 
> 2. The root_fs-i386 downloaded from uClibc-org doesn't contain the 
> bin86 assembler and linker which is used to build the kernel loader. 
> You can get it at http://www.cix.co.uk/~mayday/ . 
> 
> Btw. if you want to build lilo you'll need nasm too (sorry, 
> I've got no 
> link at hand).
> 
> 
> Fröhlichen Gruß!
> Mirthful regards!
> 
> Andreas Pabst
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 


More information about the uClibc mailing list