Reversing the order of -lkrb and -lk5crypto solved it. Greg, manythanks to you.
Best wishes for christmas and a happy new year to all from cologne! Best regards, Rainer -------------------------------------------------------------------------------------- On 12/23/18 6:24 PM, Greg Hudson wrote: > On 12/23/18 3:11 AM, r l wrote: >> undefined reference to `krb5_c_fx_cf2_simple' >> I searched the whole source for it using find ... | grep > It is defined in src/lib/crypto/krb/cf2.c. > >> gcc -o gssklog gssklog.o gssklog_afs.o \ >> gssklog_gss.o gssklog_comm.o \ >> -Wl,--noinhibit-exec,-rpath,:/usr/lib:/lib -L/usr/afsws/lib >> -L/usr/afsws/lib/afs -lprot -lubik -lauth -lcmd -lsys -lrxkad -lrx -llwp >> /usr/afsws/lib/libdes.a /usr/afsws/lib/afs/util.a >> /usr/afsws/lib/afs/libafscom_err.a \ >> \ >> -L/opt/krb5/lib -lgssapi_krb5 -l gssrpc -lcom_err -lk5crypto >> -lkrb5 -lkrb5support -ldl strlcat.o -lresolv -lnsl > I notice this link line is putting -lk5crypto before -lkrb5, which is > backwards. I'm not sure it should matter, but depending on the platform > it might, especially if there's a very old (1.6 or earlier) version of > libk5crypto somewhere on the system. ________________________________________________ Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos