[blfs-support] Samba compile error

Bruce Dubbs bruce.dubbs at gmail.com
Thu Feb 23 08:13:21 PST 2012


Thomas de Roo wrote:
> Hello,
> 
> I'm trying to compile samba on LFS-SVN-20120219. It failes with this error:
> 
> Linking bin/smbd
> lib/sysquotas_nfs.o: In function `my_xdr_getquota_args':
> sysquotas_nfs.c:(.text+0x32): undefined reference to `xdr_string'
> sysquotas_nfs.c:(.text+0x4a): undefined reference to `xdr_int'
> lib/sysquotas_nfs.o: In function `my_xdr_getquota_rslt':
> sysquotas_nfs.c:(.text+0x96): undefined reference to `xdr_int'
> sysquotas_nfs.c:(.text+0x110): undefined reference to `xdr_int'
> sysquotas_nfs.c:(.text+0x184): undefined reference to `xdr_bool'
> sysquotas_nfs.c:(.text+0x1f8): undefined reference to `xdr_int'
> sysquotas_nfs.c:(.text+0x26c): undefined reference to `xdr_int'
> sysquotas_nfs.c:(.text+0x2e0): undefined reference to `xdr_int'
> lib/sysquotas_nfs.o: In function `sys_get_nfs_quota':
> sysquotas_nfs.c:(.text+0x631): undefined reference to `clnt_create'
> sysquotas_nfs.c:(.text+0x640): undefined reference to `authunix_create_default'
> collect2: ld returned 1 exit status
> make: *** [bin/smbd] Error 1

Those references are in libtirpc.  That package may need to be updated 
to add that dependency.  You may need to also do something like

LIBS=-ltirpc make

to get it to find the library.

   -- Bruce



More information about the blfs-support mailing list