Also, I tried the same compile on Linux with gcc-2.95.2 so that I could
test GCC before putting it on the Solaris box and got the same error:

ssl_util_ssl.c:145: conflicting types for `d2i_PrivateKey_bio'
/usr/src/apache/openssl-0.9.6/include/openssl/x509.h:779: previous
declaration of `d2i_PrivateKey_bio'

-Brian

Brian Rectanus wrote:
> 
> I am trying to compile mod_ssl-2.3.11-1.3.6 with apache 1.3.6 and
> openssh-0.9.6 (tried 0.9.5 as well) and I get the following compile
> error:
> 
> "ssl_util_ssl.c", line 145: identifier redeclared: d2i_PrivateKey_bio
>         current : static function(pointer to struct bio_st {pointer to
> struct bio_method_st {..} method, pointer to function(pointer to
> struct...
>         previous: function(pointer to struct bio_st {pointer to struct
> bio_method_st {..} method, pointer to function(pointer to struct
> bio_st... :
> "/dbms/oracle/home/oracle/src/openssl-0.9.6/include/openssl/x509.h",
> line 779
> cc: acomp failed for ssl_util_ssl.c
> 
> This is being compiled under Sun SPARC Solaris 2.6 with SUNWspro
> (Workshop 5.0) patch 107357-09.
> 
> mod_ssl was configured with...
> 
> ./configure \
>   --with-apache=../apache_1.3.6 \
>   --with-ssl=../openssl-0.9.6 \
>   --prefix=$HOME/app/apache-1.3.6 \
>   --disable-rule=SSL_COMPAT \
>   --enable-shared=ssl
> 
> Any ideas why d2i_PrivateKey_bio is being re-declared?  Unfortunatly, I
> -must- use apache 1.3.6.
> 
> -Brian
> 
> --
> [EMAIL PROTECTED]

--
[EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to