mod_auth_mysql des_encrypt incompatibility with ssl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mod_auth_mysql des_encrypt incompatibility with ssl



I am trying to compile apache_1.3.0+ssl_1.19 and SSLeay 0.8.0 with
mod_auth_mysql enabled on SunOS 5.5.1 and am getting the following error:


gcc -c  -I../../os/unix -I../../include -I/opt/ssl/0.8.0/include
-DSOLARIS2=251 -DSTATUS -DAPACHE_SSL `../../apaci` mod_auth_mysql.c
In file included from mod_auth_mysql.c:80:
/usr/include/crypt.h:23: conflicting types for `des_encrypt'
/opt/ssl/0.8.0/include/des.h:171: previous declaration of `des_encrypt'
make[2]: *** [mod_auth_mysql.o] Error 1


It would appear that the standard crypt.h and SSL's des.h have name
collisions. Has anyone gotten these to work together? I was thinking of
eliminating crypt.h and trying to get mod_auth_mysql to use des.h for its
definition of crypt. (mod_auth_mysql doesn't actually use
des_encrypt.)

Jennifer Dunkl