[uClibc]LFS problem with current uClibc/busybox

Josh Larios jdlarios at cac.washington.edu
Sat Mar 23 04:05:43 UTC 2002


I can't seem to compile busybox-0.60.2 against uClibc-0.9.10 if LFS
support is enabled. I've got a stock RedHat 2.4.9 kernel with glibc-2.2.4
on an x86 machine. If I compile busybox against the system libraries, it
compiles just fine. If I compile it against uClibc, however, it complains
about undefined references to some of the 64-bit syscalls, like so:

/usr/i386-linux-uclibc/usr/bin/i386-uclibc-gcc -s -Wl,-warn-common -o busybox ash.o basename.o cat.o chgrp.o chmod.o chown.o clear.o cmdedit.o cp.o cut.o dd.o df.o dirname.o dmesg.o du.o echo.o env.o expr.o fdflush.o find.o free.o grep.o gunzip.o gzip.o halt.o head.o id.o init.o insmod.o kill.o klogd.o ln.o logger.o ls.o lsmod.o md5sum.o mkdir.o mknod.o mkswap.o modprobe.o more.o mount.o mv.o pidof.o poweroff.o printf.o ps.o pwd.o reboot.o renice.o reset.o rm.o rmdir.o rmmod.o sed.o sleep.o sort.o swaponoff.o sync.o syslogd.o tail.o tar.o tee.o test.o touch.o tr.o true_false.o tty.o umount.o uname.o uniq.o uptime.o vi.o wc.o which.o whoami.o xargs.o yes.o  busybox.o usage.o applets.o libbb.a
ash.o: In function `expandmeta':
ash.o(.text+0x48ae): undefined reference to `glob64'
ash.o(.text+0x48f4): undefined reference to `globfree64'
ash.o(.text+0x490d): undefined reference to `globfree64'
ash.o: In function `ulimitcmd':
ash.o(.text+0x70af): undefined reference to `getrlimit64'
ash.o(.text+0x7157): undefined reference to `getrlimit64'
ash.o(.text+0x7194): undefined reference to `setrlimit64'
dd.o: In function `dd_main':
dd.o(.text+0x33d): undefined reference to `ftruncate64'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1

I have DOLFS set to true in both uClibc and busybox, and if I set it to
false in both, everything works (but without large file support,
presumably). I don't know enough about this sort of thing to know where to
start looking for possible problems. Can anyone give me a pointer, or let
me know what other information I should provide?

The same thing happens with busybox-stable-20020322.

Thanks much,

--
Josh Larios                   Computing & Communications Client Services
University of Washington      Box 352830, Mary Gates Hall 011A
jdlarios at cac.washington.edu   Seattle, WA 98195-2830




More information about the uClibc mailing list