Yep you're rigth!

In fact there is a conflict beetween DES crypt and the one from unistd.h.
To solve this problem you can disable "OLD DES" support using flag 
OPENSSL_DISABLE_OLD_DES_SUPPORT. (That was my problem with openssl-0.9.7, and apache 
1.3.x)

For example before "config" you can type:
[root]:# export CFLAGS=-DOPENSSL_DISABLE_OLD_DES_SUPPORT

Hope this will help.
Fred

-----Original Message-----
From:   David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED]]
Sent:   Mon 09/16/2002 6:15 PM
To:     [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc:     
Subject:        Apache 2.0.40 and OpenSSL 0.9.7 beta -> No Joy

Anyone else encountered this problem?

When compiling Apache 2.0.40 with OpenSSL 0.9.7 beta

(...under Red Hat 7.3
 ...with gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110),
    but apparently also with gcc 3.2)

one encounters a compilation error (has also been described in
a posting to mailing.unix.modssl-users by [EMAIL PROTECTED] on
Sat, 14 Sep 2002 17:38:00 +0000):

When compiling mod_ssl.c:

In file included from mod_ssl.h:140,
                 from mod_ssl.c:60:
/usr/include/unistd.h:946: parse error before `('
/usr/include/unistd.h:946: parse error before `__const'

Looks like the declaration of 'crypt' at that place causes
some problem.

Compilation WORKS if one uses OpenSSL 0.9.6g (so I downgraded...)

Also tested with Apache 2.0.39, same error

Best regards,

        -- David Tonhofer
        m-plify.com




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


<<winmail.dat>>

Reply via email to