errno compile error with glibc 2.3.2
Axel
axel.lienard at laposte.net
Tue Jun 3 06:05:30 EDT 2003
hi
I m trying to compile kerberos on a linux 2.4, gcc 3.3,
glibc 2.3.2 system
but it fails:
cc -L../lib -Wl,-rpath -Wl,/opt/kerberos/lib -o krb524d krb524d.o -lkadm5srv -lkdb5 ../lib/libdb.a -lgssrpc -ldyn -lgssapi_krb5 libkrb524.a -lkrb4 -lkrb5 -ldes425 -lk5crypto -lcom_err -lresolv
../lib/libdb.a(hash.o): In function `__kdb2_hash_open':
/home/axel/AKAO/krb5-1.2.8/src/util/db2/obj/../hash/hash.c:119: the use of `tmpnam' is dangerous, better use `mkstemp'
../lib/libkrb4.so: undefined reference to `errno'
collect2: ld returned 1 exit status
make[1]: *** [krb524d] Error 1
make[1]: Leaving directory `/home/axel/AKAO/krb5-1.2.8/src/krb524'
make: *** [all-recurse] Error 1
I think it is due to errno related changes in glibc 2.3.2, is there
somewhere a patch to correct this and use kerberos ? what else can I do ?
Regards
More information about the Kerberos
mailing list