[BusyBox] Compiling busybox aginst uClilbc

Richard A. Smith rsmith at bitworks.com
Tue Jan 16 20:44:16 UTC 2001


I don't seem to be able to compile busybox vs uClibc.  

I got the CVS of uClibc and it compiled fine.

I edited the Makefile with the following:

I set static to true.
I uncommented and set LIBCDIR = ../uClibc which is where libc.a is
I uncommented LDFLAGS += -nostdinc
I uncommented the LIBRARIES variable

The CROSS_CFLAGS and GCCINCDIR appear to be for cross compiling only?

A make on this yields lots of unresolved symbols stuff like fopen, stderr, stdout, fileno..
so I don't think its finding the library.

Do I have to do anything else?


Oh and BTW... Who ever is doing documentation might add somewhere that when building a boot 
system using busybox the link to init must be a HARD link.  A softlink does not work.  By 
default the make install creates symbolic links.  




--
Richard A. Smith                         Bitworks, Inc.               
rsmith at bitworks.com               501.846.5777                        
Sr. Design Engineer        http://www.bitworks.com   







More information about the busybox mailing list