[uClibc] uClibc and nfs-utils

Pete Flugstad peteflugstad at mchsi.com
Mon Dec 15 06:44:03 UTC 2003


[helps if I post from the right account...:-)]

Anyone else got nfs-utils (1.0.6) running on uClibc (0.9.23)?  I'm 
seeing a link error:

> Making all in mountd
> gcc  -L../../support/lib -o mountd mountd.o mount_dispatch.o auth.ormtab.o cache.o svc_run.o -lexport -lnfs -lmisc   -lnsl
> ../../support/lib/libnfs.a(svc_socket.o)(.text+0x83): In function `svc_socket':
> /root/nfs-utils-1.0.6.orig/support/nfs/svc_socket.c:66: undefined reference to `__bzero'
> ../../support/lib/libnfs.a(svc_socket.o)(.text+0xad):/root/nfs-utils-1.0.6.orig/support/nfs/svc_socket.c:69: undefined reference to `getrpcbynumber_r'
> collect2: ld returned 1 exit status

The bzero fix is pretty easy (map to memset), but the getrpcbynumber_r 
is not going to be so easy I think.  I see someone posted about this 
back in July, but I didn't see any answer.

Is there another NFS server that I should use instead (i.e. maybe not 
the Linux Kernel based on)?  I'd like the performance of the kernel one, 
but I could live without it is it's going to be a while.

Thanks,
Pete







More information about the uClibc mailing list