Build error with 1.3.5

Darren Reed (OSE) darrenr at optimation.com.au
Fri Oct 1 03:40:33 EDT 2004


When building 1.3.5 (with U.Mich replication patches) on Solaris8...

./configure --enable-replication --enable-umich --enable-kdc-replay-cache --enable-shared

...I got stopped here:

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DKRB5_KRB4_COMPAT=1 -DHAVE_BT_RSEQ=1 -DKRB
5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -DKRB5_DNS_LO
OKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_
STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=
1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF
_LONG=4 -DHAVE_REGCOMP=1  -I../../include -I./../../include  -I../../include/krb
5 -I./../../include/krb5 -I./../crypto/des -I./../../include/kerberosIV   -g -O2
 -Wall -Wmissing-prototypes -Wcast-qual  -Wcast-align -Wconversion -Wshadow -Wno
-comment -pedantic -c cksum.c
In file included from cksum.c:41:
des.h:39: redefinition of `des_cblock'
../../include/kerberosIV/des.h:68: `des_cblock' previously declared here
des.h:42: redefinition of `des_key_schedule'
../../include/kerberosIV/des.h:87: `des_key_schedule' previously declared here
des.h:72: syntax error before "int"
des.h:76: syntax error before "int"
des.h:77: syntax error before "int"
des.h:79: syntax error before "void"
des.h:82: syntax error before "int"
des.h:83: syntax error before "unsigned"
des.h:86: syntax error before "int"
cksum.c:60: warning: no previous prototype for `des_cbc_cksum'
cksum.c:60: conflicting types for `des_cbc_cksum'
des.h:71: previous declaration of `des_cbc_cksum'
*** Error code 1

Renaming des.h in the des425 directory to des425.h got rid of the compile error by putting the conflicting file out of harm's way,
but I'm not completely happy that this is the right solution.

Has anyone else run into this?  Similar fix or..?

Darren



More information about the krbdev mailing list