[BusyBox] Compiling busybox NFS-capable mount with uClibc

David Douthitt ssrat at mailbag.com
Thu Aug 9 13:33:48 MDT 2001


I tried to compile busybox, and got an error.  This is the first time
compiling with NFS capabilities in mount.  I'm compiling the August 9
2001 CVS tarball, and using uClibc.

This is the error I got:

/pub/src/new/new/uClibc/uClibc/extra/gcc-uClibc/i386-uclibc-gcc -s
-Wl,-warn-common --static -o busybox cat.o chgrp.o chmod.o chown.o
clear.o cp.o cut.o date.o dd.o df.o dmesg.o du.o dutmp.o env.o fdflush.o
find.o grep.o gunzip.o gzip.o halt.o head.o hostname.o id.o insmod.o
kill.o ln.o loadkmap.o logger.o ls.o makedevs.o md5sum.o mkdir.o
mkfs_minix.o mknod.o mkswap.o mktemp.o more.o mount.o mt.o mv.o
nfsmount.o nslookup.o ping.o printf.o rdate.o renice.o rm.o rmdir.o
rmmod.o sort.o stty.o swaponoff.o sync.o tail.o tar.o tee.o tftp.o
touch.o tr.o true_false.o umount.o uname.o uniq.o update.o uptime.o
usleep.o wc.o which.o whoami.o xargs.o  busybox.o usage.o applets.o
libbb.a  
nfsmount.o: In function `get_mountport':
nfsmount.o(.text+0x8f): undefined reference to `pmap_getmaps'
nfsmount.o: In function `nfsmount':
nfsmount.o(.text+0xe20): undefined reference to `clnt_perror'
nfsmount.o(.text+0xe97): undefined reference to `clnt_pcreateerror'
nfsmount.o(.text+0xffd): undefined reference to `clntudp_create'
nfsmount.o(.text+0x1056): undefined reference to `clnttcp_create'
nfsmount.o(.text+0x1080): undefined reference to
`authunix_create_default'
nfsmount.o(.text+0x128a): undefined reference to `bindresvport'
nfsmount.o(.text+0x12de): undefined reference to `pmap_getport'
nfsmount.o(.text+0x140d): undefined reference to `clnt_perror'
nfsmount.o: In function `xdr_fhandle':
nfsmount.o(.text+0x14ff): undefined reference to `xdr_opaque'
nfsmount.o: In function `xdr_fhstatus':
nfsmount.o(.text+0x1521): undefined reference to `xdr_u_int'
nfsmount.o: In function `xdr_dirpath':
nfsmount.o(.text+0x155e): undefined reference to `xdr_string'
nfsmount.o: In function `xdr_fhandle3':
nfsmount.o(.text+0x1584): undefined reference to `xdr_bytes'
nfsmount.o: In function `xdr_mountres3_ok':
nfsmount.o(.text+0x15b1): undefined reference to `xdr_int'
nfsmount.o(.text+0x15c3): undefined reference to `xdr_array'
nfsmount.o: In function `xdr_mountstat3':
nfsmount.o(.text+0x15e5): undefined reference to `xdr_enum'
collect2: ld returned 1 exit status
make[2]: *** [busybox] Error 1

If I understand this right, these symbols are all in libc.so.6 (glibc
2.1); they apparently are NOT in uClibc.





More information about the busybox mailing list