Error compile NFS


 
Thread Tools Search this Thread
Operating Systems Linux Slackware Error compile NFS
# 1  
Old 06-01-2013
Error compile NFS

Tryng to compile nfs-utils to latest packages but..

Code:
make[2]: Entering directory `/tmp/nfs-utils-1.2.8/utils/gssd'
/bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -Wextra -Wstrict-prototypes  -pipe -O2 -fPIC  -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC  -ltirpc  -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  -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lkrb5 -lk5crypto -lcom_err -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -O2 -fPIC -I/usr/kerberos/include -I/usr/kerberos/include -O2 -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/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib  /usr/lib64/libtirpc.so /usr/lib64/libgssglue.so -lnsl -lpthread /usr/lib64/libgssapi.so /usr/lib64/libheimntlm.so ../../support/nfs/libnfs.a -L/usr/kerberos/lib -lgssapi_krb5 /usr/lib64/libkrb5.so /usr/lib64/libheimbase.so /usr/lib64/libhx509.so /usr/lib64/libwind.so /usr/lib64/libheimsqlite.so /usr/lib64/libhcrypto.so /usr/lib64/libasn1.so /usr/lib64/libroken.so -lcrypt -ldl -lresolv -lk5crypto -lcom_err -pthread
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libcom_err.so.2, needed by /usr/lib64/libtirpc.so, may conflict with libcom_err.so.3
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libkrb5.so.3, needed by /usr/kerberos/lib/libgssapi_krb5.so, may conflict with libkrb5.so.26
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: gssd-krb5_util.o: undefined reference to symbol 'krb5_free_keytab_entry_contents@@krb5_3_MIT'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: 'krb5_free_keytab_entry_contents@@krb5_3_MIT' is defined in DSO /usr/kerberos/lib/libkrb5.so.3 so try adding it to the linker command line

How to add to command line?
I have tried LDFLAGS="-libkrb5" but doesn't work
# 2  
Old 06-05-2013
It does not like your libraries, wrong version? It sounds like you need newer NFS. since it is referencing older lib versions.
# 3  
Old 06-05-2013
Kerberos and nfs are latest
# 4  
Old 06-10-2013
It reads like /somewhere/lib/xxxxx.so.3 is symlinked to /somewhere/lib/xxxxx.so but the code expects xxxxx.so.5, so you may need to remove some sym links and add sym links to the highest numbers.

I am assuming Kerberos and NFS were at these latest when their builds were last created. You might need to back the newer one down, presumably Kerberos since NFS is the user-app of Kerberos, not vice-versa.
This User Gave Thanks to DGPickett For This Post:
# 5  
Old 06-11-2013
Yes,it is.
Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies

2. Ubuntu

Kernel compile error

Hi I'm compiling a real-time kernel in linux, but after I type make bzImage things end with this: (Things going well doing CC and things).... CC arch/x86/kernel/kgdb.o CC arch/x86/kernel/vm86_32.o CC arch/x86/kernel/early_printk.o CC arch/x86/kernel/ipipe.o... (2 Replies)
Discussion started by: mdop
2 Replies

3. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

4. Solaris

Samba 3.5.4 compile error

Hello! I am trying install samba 3.5.4. and following this instruction from the source package. So, there are my steps: 1 cd ../samba-3.5.4/source3 2 ./configure (without any arguments) and when i run make it returns error .................................................... Compiling... (2 Replies)
Discussion started by: zhum
2 Replies

5. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

6. Programming

C compile error

hello can anyone help? :confused: i make a C code in FreeBSD 5.4 and it succeed to run the program requires connection to mysql server when i try to compile it under solaris i get this error message ld: fatal: file ./lib/libmysqlclient.so: wrong ELF machine type: EM_386 why? and how to... (3 Replies)
Discussion started by: kuampang
3 Replies

7. Programming

compile error message

i was trying to compile a c program and got the error below. i need help on how to resolve this $ make -ef putput `if ; then echo getinf.awk ; else echo getora.awk;fi` EI.sql `if ; then echo esql -static ; else echo esqlo8i;fi` -O -I. -c EI`if ; then echo .ec; else echo... (4 Replies)
Discussion started by: putput
4 Replies

8. Programming

Compile error

Dear All I have a program writen in C and test in Unix. Now, I am try to run this program in windows 2000. I am receiving an error ]_getopt is not define. I will appreciate if any one can help explain to me why this problem is hapening and to slove this problem. Thank you (9 Replies)
Discussion started by: coulio
9 Replies

9. Programming

compile error while using dlopen

Hi unix lovers, I am getting error while compile a function which uses dlopen. My code is I am getting error as follows Am I missing something? I think I am missing a lot :-) I am using solaris. Thanks in advance, -Ashish (5 Replies)
Discussion started by: shriashishpatil
5 Replies

10. Programming

Error in compile C by gcc

Hi all, I compile my c program and get following result hrnpfc01.c:1387: stray '\' in program hrnpfc01.c:1387: parse error before `,' hrnpfc01.c:1388: stray '\' in program hrnpfc01.c:1388: parse error before `,' hrnpfc01.c:1396: stray '\' in program hrnpfc01.c:1396: parse error before... (4 Replies)
Discussion started by: zico
4 Replies
Login or Register to Ask a Question