Problem compiling krb5 1.2.5

Pierre pierre at
Thu Jun 13 20:39:01 EDT 2002


I try to compile krb5-1.2.5 on my GNU/Linux system with gcc-3.1
there was no problem with the configure, but for the make i got this :

making all in lib/kadm5/unit-test...
gmake[3]: Entering directory `/tmp/krb5-1.2.5/src/lib/kadm5/unit-test'
gcc -L../../../lib -Wl,-rpath -Wl,/usr/local/lib -o randkey-test 
randkey-test.o \
	-lkadm5srv -lhesiod  -lkdb5 ../../../lib/libdb.a -lgssrpc -ldyn 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err  
../../../lib/libdb.a(hash.o): In function `__kdb2_hash_open':
hash.o(.text+0x3a4): the use of `tmpnam' is dangerous, better use 
In function `get_txt_records':
hesiod.o(.text+0x89d): undefined reference to `__res_mkquery'
hesiod.o(.text+0x8c5): undefined reference to `__res_send'
hesiod.o(.text+0x925): undefined reference to `__dn_skipname'
hesiod.o(.text+0x9ee): undefined reference to `__dn_skipname'
collect2: ld returned 1 exit status
gmake[3]: *** [randkey-test] Error 1
gmake[3]: Leaving directory `/tmp/krb5-1.2.5/src/lib/kadm5/unit-test'
gmake[2]: *** [all-recurse] Error 1
gmake[2]: Leaving directory `/tmp/krb5-1.2.5/src/lib/kadm5'
gmake[1]: *** [all-recurse] Error 1
gmake[1]: Leaving directory `/tmp/krb5-1.2.5/src/lib'
gmake: *** [all-recurse] Error 1

It would be great if you could help me with this !

Best regards,


More information about the krbdev mailing list