[BusyBox] mkrootfs.sh script and uclibc problem

Tim M. Sanders tsanders at thesanders.org
Wed Mar 13 12:05:06 UTC 2002


this is for x86 machine

I have downloaded uClibc-0.9.8 and busybox-0.60.1.  I run the
mkrootfs.sh script and get the following error

    make[2]: Circular shared <- all dependency dropped.
    cp: cannot stat `libc.so*': No such file or directory
    cp: cannot stat `uClibc*.so': No such file or directory
    cp: cannot stat `ld.so-1/d-link/ld-linux-uclibc.so*': No such file or
    directory
    cp: cannot stat `ld.so-1/libdl/libdl.so*': No such file or directory
    cp: cannot stat `crypt/libcrypt.so*': No such file or directory

The files do exit in <uclibc basedir>/lib.  There is no ld.so-1
directory though.

I copy the entire contents of <uclibc basdir>/lib to the root filesystem
that the script creates.  But when I boot my kernel it can not find the
/sbin/init process (or can not run it).  However if I statically link
busybox the /sbin/init routine does execute.  I am assuming the first
failure is do dynamic library problems.

Is ld-uClibc.so.0 the library loader (kin to ld-linux.so.2 on my
Mandrake machine)?

Or do I have to compile uClibc, install it, then make busybox build
using the uClibc libs, includes, etc?



-- 

============================
Tim M. Sanders
tsanders at thesanders.org



More information about the busybox mailing list