Environment variables wrong?

Marcia R. Newcomb Marcia.R.Newcomb at Hitchcock.ORG
Tue Aug 3 11:48:20 EDT 2004


I am trying to build a copy of our name directory (DND) which uses kerberos. When I run make I get the following message that it can not find 
certain kerberos functions. Everything I've seen on the Internet so far has indicated that this is probably because the environment is not correct (don't know if that's true or not, but...). I've set the CPP_FLAGS & LDFLAGS variables to the correct paths but that didn't help at all.

Any suggestions about what might be wrong would be greatly appreciated!

Thanks,
Marcia Newcomb

gcc -g -O2 -Wall -I/usr/kerberos/include -o dndserv dndserv.o  -L/usr/local/lib -L/usr/kerberos/lib libdndserv.a -lkrb4 -lkrb5 -ldes -lpthread /usr/lib/libgdbm.so
/usr/local/lib/libkrb4.a(err_txt.o)(.text+0x1d): In function `krb4int_et_init':
/usr/local/src/krb5-1.3.1/src/lib/krb4/err_txt.c:64: undefined reference to `add_error_table'
/usr/local/lib/libkrb4.a(err_txt.o)(.text+0x4d): In function `krb4int_et_fini':
/usr/local/src/krb5-1.3.1/src/lib/krb4/err_txt.c:72: undefined reference to `remove_error_table'
/usr/local/lib/libkrb4.a(err_txt.o)(.text+0x86): In function `krb_get_err_text':
/usr/local/src/krb5-1.3.1/src/lib/krb4/err_txt.c:84: undefined reference to `error_message'
/usr/local/lib/libkrb4.a(krb_err.o)(.text+0xc): In function `initialize_krb_error_table':
/usr/local/src/krb5-1.3.1/src/lib/krb4/krb_err.c:288: undefined reference to `add_error_table'




More information about the krbdev mailing list