errno problem with v1.28 and glibc 2.3.2

Axel axel.azerty at
Tue Jun 3 05:25:22 EDT 2003

I m trying to usekerberos on a linux 2.4.X kernel, with gcc 3.3 and glibc
2.3.2, but compiling fails as following :

make[1]: Entering directory `/home/axel/AKAO/krb5-1.2.8/src/krb524'
cc -L../lib  -Wl,-rpath -Wl,/usr/local//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/ 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 s a bug you re already aware about (due to errno/glibc 2.3
changes), but I d
like to ask I there is a patch to correct this and to get it compile with
this 2.3 glibc.


More information about the krbdev mailing list