conflicting types for 'X509_REVOKED'

czaczawik

New member
Joined
Mar 16, 2013
Messages
2
Im trying to install OpenSSL on my debian. Im very rookie and im stuckwith errors. Pease help with step by step lammas guide. Thx

What i do:

Code:
cd /usr/src
wget ftp://ftp.openssl.org/source/openssl-fips-2.0.12.tar.gz
tar -xvzf openssl-fips-2.0.12.tar.gz
cd openssl-fips-2.0.12

./config --prefix=/usr no-threads shared
make
make test
make install

After updating openSSL, we need to update DirectAdmin
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build apache

and error:

Code:
In file included from /usr/include/openssl/ssl.h:183,
                 from ssl_private.h:90,
                 from mod_ssl.c:27:
/usr/include/openssl/x509.h:433: error: conflicting types for 'X509_REVOKED'
/usr/include/openssl/ossl_typ.h:153: note: previous declaration of 'X509_REVOKED' was here
In file included from /usr/include/openssl/ssl.h:183,
                 from ssl_private.h:90,
                 from ssl_engine_config.c:29:
/usr/include/openssl/x509.h:433: error: conflicting types for 'X509_REVOKED'
/usr/include/openssl/ossl_typ.h:153: note: previous declaration of 'X509_REVOKED' was here
mod_ssl.c: In function 'ssl_cleanup_pre_config':
mod_ssl.c:313: warning: implicit declaration of function 'ENGINE_cleanup'
mod_ssl.c: In function 'ssl_hook_pre_config':
mod_ssl.c:350: warning: implicit declaration of function 'ENGINE_load_builtin_engines'
make[3]: *** [mod_ssl.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [ssl_engine_config.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.23/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.23/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.23/modules'
make: *** [all-recursive] Error 1

*** The make has failed, would you like to try to make again? (y,n):
 
Back
Top