[BusyBox] Busybox and uClibc using sparc-linux-gcc
Stanley
ngstanley at cwc.nus.edu.sg
Thu Jul 12 22:48:05 UTC 2001
Hi all,
I made some modifications to the Makefile and typing make, i received the following output:
sparc-linux-gcc -s -Wl,-warn-common -o busybox 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 more.o mount.o mv.o poweroff.o ps.o pwd.o reboot.o reset.o rm.o rmdi
r.o sed.o sh.o sleep.o sort.o swaponoff.o sync.o syslogd.o tail.o tar.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 apple
ts.o libbb.a /opt/uClinux-LEON/uClibc/lib/libc.a
/lib/libc.so.6: In function `print_and_abort':
/usr/src/bs/BUILD/glibc-2.1.3/malloc/obstack.c:474: multiple definition of `strcpy'
/opt/uClinux-LEON/uClibc/lib/libc.a(strcpy.o)(.text+0x0): first defined here
/lib/libc.so.6: In function `__pselect':
/usr/src/bs/BUILD/glibc-2.1.3/misc/../sysdeps/generic/pselect.c:59: multiple definition of `chro
ot'
/opt/uClinux-LEON/uClibc/lib/libc.a(chroot.o)(.text+0x0): first defined here
/lib/libc.so.6: In function `__printf_fphex':
/usr/src/bs/BUILD/glibc-2.1.3/stdio-common/../sysdeps/generic/printf_fphex.c:468: multiple defin
ition of `printf'
/opt/uClinux-LEON/uClibc/lib/libc.a(printf.o)(.text+0x0): first defined here
And so on.....
/opt/uClinux-LEON/uClibc/lib/libc.a(raise.o)(.text+0x0): first defined here
cmdedit.o: In function `input_backward':
cmdedit.o(.text+0x3c8): undefined reference to `div'
cmdedit.o(.text+0x3f8): undefined reference to `umul'
cmdedit.o: In function `cmdedit_setwidth':
cmdedit.o(.text+0x620): undefined reference to `rem'
cmdedit.o(.text+0x658): undefined reference to `div'
cmdedit.o: In function `input_tab':
cmdedit.o(.text+0x199c): undefined reference to `div'
cmdedit.o(.text+0x19a8): undefined reference to `umul'
And so on.....
/opt/uClinux-LEON/uClibc/lib/libc.a(tm_conv.o)(.text+0x16c): more undefined references to `rem'follow
/opt/uClinux-LEON/uClibc/lib/libc.a(mktime.o)(.text+0x34): undefined reference to `div'
/opt/uClinux-LEON/uClibc/lib/libc.a(mktime.o)(.text+0x44): undefined reference to `rem'
/opt/uClinux-LEON/uClibc/lib/libc.a(mktime.o)(.text+0x54): undefined reference to `div'
/opt/uClinux-LEON/uClibc/lib/libc.a(mktime.o)(.text+0x64): undefined reference to `rem'
/opt/uClinux-LEON/uClibc/lib/libc.a(mktime.o): In function `__mktime_internal':
mktime.o(.text+0x1cc): undefined reference to `rem'
mktime.o(.text+0x1dc): undefined reference to `div'
I have the following questions:
a) where does this /usr/src/bs/BUILD/glibc-2.1.3/misc/ comes from ? I don't seem to enable it in the Makefile
b) How come there is undefined reference to `div' and undefined reference to `rem' errors ?
thanks
stanley
I
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20010712/e4b588b7/attachment-0001.htm
More information about the busybox
mailing list