compiling krb5-1.2.8 for OS X Server 10.2.5

Alex Reynolds reynolda at sas.upenn.edu
Fri Apr 25 11:54:55 EDT 2003


I am trying to build krb5-1.2.8 for OS X Server 10.2.5 and used the following 
configuration:

./configure --without-krb4

I have added KerberosSupport and KerberosComErr headers from a Cyrus source 
distibution of a Kerberos client, since they do not appear to be part of the 
krb5 distribution.

I can 'make' up to the following point, at which the build fails:

making all in lib...
making all in lib/crypto...
making all in lib/crypto/crc32...
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1   -I../../../include -I./../../
../include -I../../../include/krb5 -I./../../../include/krb5   -c crc32.c
../../../include/k5-int.h:1169: undefined type, found `krb5_safe'
../../../include/k5-int.h:1172: undefined type, found `krb5_priv'
../../../include/k5-int.h:1175: undefined type, found `krb5_priv_enc_part'
../../../include/k5-int.h:1319: undefined type, found `krb5_safe'
../../../include/k5-int.h:1322: undefined type, found `krb5_priv'
../../../include/k5-int.h:1325: undefined type, found `krb5_priv_enc_part'
../../../include/k5-int.h:1577: undefined type, found `krb5_kt_ops'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
In file included from ../../../include/k5-int.h:996,
                 from crc32.c:30:
/System/Library/Frameworks/Kerberos.framework/Headers/com_err.h:76: 
redefinition of `struct error_table'
In file included from crc32.c:30:
../../../include/k5-int.h:1169: parse error before '*' token
../../../include/k5-int.h:1172: parse error before '*' token
../../../include/k5-int.h:1175: parse error before '*' token
../../../include/k5-int.h:1319: parse error before "krb5_safe"
../../../include/k5-int.h:1322: parse error before "krb5_priv"
../../../include/k5-int.h:1325: parse error before "krb5_priv_enc_part"
../../../include/k5-int.h:1577: parse error before "krb5_kt_dfl_ops"
../../../include/k5-int.h:1577: warning: data definition has no type or storage 
class
make[3]: *** [crc32.o] Error 1
make[2]: *** [all-recurse] Error 1
make[1]: *** [all-recurse] Error 1
make: *** [all-recurse] Error 1

Does anyone have any suggestions on how to compile krb5-1.2.8 or earlier for OS 
X 10.2?

Thanks for any advice,

Regards,
Alex Reynolds



More information about the krbdev mailing list