[BusyBox] Problems compiling NFS support

Roland Seuhs rseuhs at aon.at
Tue Jul 24 02:46:46 UTC 2001


Hi!

I use current CVS and compile busybox for the ARM platform. It works great 
for everything else I tried, but as soon as I activate NFS-support for mount 
in Config.h, I get the following error:

/opt/dev/arm-linux-uclibc/bin/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 modprobe.o more.o mount.o mv.o 
nfsmount.o poweroff.o ps.o pwd.o reboot.o reset.o rm.o rmdir.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 applets.o libbb.a
nfsmount.o: In function `get_mountport':
nfsmount.o(.text+0xbc): undefined reference to `pmap_getmaps'
nfsmount.o: In function `nfsmount':
nfsmount.o(.text+0xd38): undefined reference to `clnt_perror'
nfsmount.o(.text+0xdac): undefined reference to `clnt_pcreateerror'
nfsmount.o(.text+0xec4): undefined reference to `clntudp_create'
nfsmount.o(.text+0xf10): undefined reference to `clnttcp_create'
nfsmount.o(.text+0xf30): undefined reference to `authunix_create_default'
nfsmount.o(.text+0x1148): undefined reference to `bindresvport'
nfsmount.o(.text+0x11c0): undefined reference to `pmap_getport'
nfsmount.o(.text+0x12cc): undefined reference to `clnt_perror'
nfsmount.o: In function `xdr_fhandle':
nfsmount.o(.text+0x13b0): undefined reference to `xdr_opaque'
nfsmount.o: In function `xdr_fhstatus':
nfsmount.o(.text+0x13cc): undefined reference to `xdr_u_int'
nfsmount.o: In function `xdr_dirpath':
nfsmount.o(.text+0x140c): undefined reference to `xdr_string'
nfsmount.o: In function `xdr_fhandle3':
nfsmount.o(.text+0x142c): undefined reference to `xdr_bytes'
nfsmount.o: In function `xdr_mountres3_ok':
nfsmount.o(.text+0x1478): undefined reference to `xdr_array'
nfsmount.o(.text+0x1488): undefined reference to `xdr_int'
nfsmount.o: In function `xdr_mountstat3':
nfsmount.o(.text+0x1498): undefined reference to `xdr_enum'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1

------

Thanks for your help,

Roland





More information about the busybox mailing list