[BusyBox] error: /usr/bin/ld: cannot find -lc

Jason Bodnar jason at shakabuku.org
Tue Jul 1 04:41:58 UTC 2003


On 01 Jul 2003 02:59:05 +0200, Rene Bartsch wrote
> Am Mon, 2003-06-30 um 01.10 schrieb Rene Bartsch:
> > Hi,
> > 
> > I'm new to the list, so hello to all! :o)
> > 
> > Can anyone give me a hint what's going wrong with the linker (0.60.5,
> > DOSTATIC=true)?
> > 
> > gcc -s -Wl,-warn-common --static -o busybox ash.o basename.o cat.o
> > chgrp.o chmod.o chown.o chroot.o chvt.o clear.o cmdedit.o cp.o cut.o da
> > /usr/bin/ld: cannot find -lc
> > collect2: ld returned 1 exit status
> > make: *** [busybox] Fehler 1
> 
> I just did some tests which show this happens if I set "DOSTATIC = true"
> in Makefile.

You're missing libc.a.



--
Jason Bodnar
jason at shakabuku.org
http://www.shakabuku.org

"You want free speech? Let's see you acknowledge a man whose words make
your blood boil who is standing center stage advocating at the top of
his lungs that which you would spend a lifetime opposing at the top of
yours." -- President Andrew Shephard, "The American President"




More information about the busybox mailing list