Problem compiling krb5 1.2.7-beta2

Pierre pierre at
Tue Nov 12 04:44:00 EST 2002

On 2002.11.12 02:48 Pierre wrote:
> On 2002.11.11 04:58 Tom Yu wrote:
>> >>>>> "pierre" == Pierre  <pierre at> writes:
>> pierre> Hi,
>> pierre> I try to compile krb5-1.2.7-beta2 on my GNU/Linux system with
>> gcc-3.2
>> pierre> there was no problem with the configure, but for the make I
>> got this :
>> pierre> [...]
>> pierre> making all in lib/kdb...
>> pierre> gmake[2]: Entering directory
>> `/tmp/krb5-1.2.7-beta2/src/lib/kdb'
>> pierre> gcc -s -DHAVE_UNISTD_H=1 -DHAVE_SRAND48=1 -DHAVE_SRAND=1
>> -I/usr/local/BerkeleyDB.4.1/include
>> How are you getting the "-I/usr/local/BerkeleyDB.4.1/include" into
>> your compile lines?
> A local CPPFLAGS setting... this causes the error.
> I remove it and it compiles fine now.
> Thank you.

I have spoken too quickly :)
Now I got this :

making all in kadmin/v4server...
gmake[2]: Entering directory 
making all in kadmin/v4server/unit-test...
gmake[3]: Entering directory 
gmake[3]: Leaving directory 
gcc -s -L../../lib  -Wl,-rpath -Wl,/usr/local/lib -o kadmind4 
kadm_server.o admin_server.o kadm_ser_wrap.o kadm_funcs.o kadm_stream.o 
kadm_supp.o acl_files.o kadm_err.o -lkadm5clnt -lkdb5 ../../lib/libdb.a 
-lgssrpc -ldyn -lgssapi_krb5 ../../lib/libdb.a \
         -lkrb4 -lkrb5 -ldes425 -lk5crypto -lcom_err   -lhesiod 
../../lib/libdb.a(hash.o): In function `__kdb2_hash_open':
hash.o(.text+0x3a4): the use of `tmpnam' is dangerous, better use 
kadm_funcs.o: In function `kadm_approve_pw':
kadm_funcs.o(.text+0x14ff): undefined reference to `dbm_open'
kadm_funcs.o(.text+0x153c): undefined reference to `dbm_fetch'
collect2: ld returned 1 exit status
gmake[2]: *** [kadmind4] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recurse] Error 1
gmake[1]: Leaving directory `/tmp/test/krb5-1.2.7-beta2/src/kadmin'
gmake: *** [all-recurse] Error 1



More information about the krbdev mailing list