From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-14 i686; en-US; 0.8)
/usr/kerberos/include/kerberosIV/des.h defines many of the same symbols and
functions as /usr/include/openssl/des.h leading to compilation failure when
building software that uses both.
Steps to Reproduce:
1.Checkout OpenSSH CVS head (www.openssh.com/portable.html)
3. LDFLAGS=-L/usr/kerberos/lib/ CPPFLAGS="-I/usr/kerberos/include/
-I/usr/kerberos/include/kerberosIV/" ./configure --prefix=/usr
--sysconfdir=/etc/ssh --with-tcp-wrappers --with-kerberos4
Actual Results: /usr/kerberos/include/kerberosIV/des.h:116: conflicting
types for `bit_64'
/usr/include/openssl/des.h:260: previous declaration of `bit_64'
/usr/kerberos/include/kerberosIV/des.h:128: conflicting types for
OpenBSD have resolved these problems by modifying their KerberosIV libs to
link directly against the DES routines provided by OpenSSL
Known issue, solvable in the case of OpenBSD because IIRC the libdes used
by KTH Kerberos 4 is derived from the same source as the one in OpenSSL's
libcrypto, which is not the case with the MIT distribution.
The OpenSSL folks renamed the symbols in libcrypto in the 0.9.7
release, marking this as fixed in the current release.