Hi,
I have battled through the various mailing lists and cant find an answer
to the problem
of incompatibility between the SSL des.h and the kerberos (MIT) des.h as
dished out
with Solaris 2.6.
When compiling Samba 2.2.2 with SSL .96 I get :
Compiling lib/util.c
In file included from /opt/OPENssl/include/openssl/evp.h:89,
                 from /opt/OPENssl/include/openssl/x509.h:67,
                 from /opt/OPENssl/include/openssl/ssl.h:69,
                 from lib/util.c:56:
/opt/OPENssl/include/openssl/des.h:67: #error <openssl/des.h> replaces
<kerberos/des.h>.
In file included from /opt/OPENssl/include/openssl/evp.h:89,
                 from /opt/OPENssl/include/openssl/x509.h:67,
                 from /opt/OPENssl/include/openssl/ssl.h:69,
                 from lib/util.c:56:
/opt/OPENssl/include/openssl/des.h:93: warning: `DES_KEY_SZ' redefined
/usr/include/kerberos/des.h:29: warning: this is the location of the
previous definition
/opt/OPENssl/include/openssl/des.h:232: warning: `KRBDES_ENCRYPT'
redefined
/usr/include/kerberos/des.h:30: warning: this is the location of the
previous definition
/opt/OPENssl/include/openssl/des.h:233: warning: `KRBDES_DECRYPT'
redefined
/usr/include/kerberos/des.h:31: warning: this is the location of the
previous definition
*** Error code 1

This is because the Samba stuff includes /usr/include/rpc/rpc.h which
itself includes
/usr/include/rpc/auth_kerb.h which references  kerberos/krb.h which
wants the des.h
from /usr/include/kerberos !!

Any ideas?

cheers
Jim

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to