[BusyBox] busybox+uClibc = undefined reference to '__uClibc_main'

Patryk Laurent patryk at pakl.net
Mon Jul 22 14:06:04 UTC 2002


Greetings, 

Does anyone know how to interpret/get around this error at the end of the 
compilation process for busybox with uClibc? 

/home/patryk/MINI/uClibc-0.9.12/extra/gcc-uClibc/mips-uclibc-gcc -s 
 -Wl,-warn-common -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 date.o dd.o df.o dirname.o 
dmesg.o du.o echo.o env.o find.o free.o grep.o gunzip.o gzip.o halt.o head.o 
id.o init.o kill.o klogd.o ln.o logger.o ls.o lsmod.o mkdir.o mknod.o 
mkswap.o modprobe.o more.o mount.o mv.o pidof.o poweroff.o ps.o pwd.o 
reboot.o reset.o rm.o rmdir.o sed.o sleep.o sort.o swaponoff.o sync.o 
syslogd.o tail.o tar.o test.o touch.o true_false.o tty.o umount.o uname.o 
uniq.o uptime.o wc.o which.o whoami.o xargs.o yes.o  busybox.o usage.o 
applets.o libbb.a ../uClibc-0.9.12/lib/crtn.o
/usr/mips-linux-uclibc/lib/crt0.o: In function `__start':
/usr/mips-linux-uclibc/lib/crt0.o(.text+0x2c): undefined reference to 
`__uClibc_main'
collect2: ld returned 1 exit status
[root at ps2box busybox-0.60.3]# 

Many thanks,
Patryk 




More information about the busybox mailing list