[blfs-support] nfs-utils-1.2.6 libcom_err problem

lux-integ lux-integ at btconnect.com
Sat Nov 24 13:46:08 PST 2012


Greetings

I have been trying to compile nfs-utils-1.2.6   ( with nfs4/nfs4.1 and gssd ) 
on a machine with these:-

-cpu amd64 2 cores
-os cblfs dev  linux-3.6.7,  gcc-4.6.3,  krb5-1.10.3

make ends like so:-

####################
bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -Wextra -Wstrict-
prototypes  -pipe -march=amdfam10 -O2 -pipe -m64 -fPIC  
-I/usr/include/gssglue   -I/usr/local/include -march=amdfam10 -O2 -pipe -m64 -
fPIC  -ltirpc 
-L/usr/bin -L/usr/local/lib -o gssd gssd-context.o gssd-context_mit.o gssd-
context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-
err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o 
../../support/nfs/libnfs.a  -lgssglue -ldl   -L/usr/local/lib -Wl,--enable-
new-dtags -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -L/usr/local/lib -lkrb5 -
lk5crypto -lcom_err 
libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -march=amdfam10 -O2 
-pipe -m64 -fPIC -I/usr/include/gssglue -I/usr/local/include -march=amdfam10 -
O2 -pipe -m64 -fPIC -o gssd gssd-context.o gssd-context_mit.o gssd-
context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-
err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o 
-Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/local/lib  /usr/lib/libtirpc.so -
L/usr/lib -L/usr/local/lib 
 -lnsl -lpthread -L/usr/bin ../../support/nfs/libnfs.a /usr/lib/libgssglue.so 
-ldl -lkrb5 -lk5crypto -lcom_err
gssd-gssd_proc.o: In function `create_auth_rpc_client':
gssd_proc.c:(.text+0x119f): undefined reference to `authgss_create_default'
gssd-gssd_proc.o: In function `process_krb5_upcall':
gssd_proc.c:(.text+0x16ed): undefined reference to `authgss_get_private_data'
collect2: ld returned 1 exit status
make[2]: *** [gssd] Error 1
make[2]: Leaving directory `/home/luxinteg/nfs-utils-1.2.6/utils/gssd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/luxinteg/nfs-utils-1.2.6/utils'
make: *** [all-recursive] Error 1
#######################

I checked my machine and there is no libcom_err (a or so ).  I would be 
grateful to know if  there is a workround i.e. patches available for nfs-utils 
that obviates the need for libcom_err.

thanks in advance

sincerely
luxInteg
ps samba4 (rc) also fails to build because it  seems to depend on nfs4 being 
in place!



More information about the blfs-support mailing list