On Fri, Oct 22, 1999, [EMAIL PROTECTED] wrote:
> Full_Name: Ghislaine Labouret
> Version: 2.4.4 to 2.4.6
> OS: FreeBSD 2.2.7
> Submission from: itesec.hsc.fr (192.70.106.33)
>
> This is the same thing as bug #292
>
> ===> src/modules/ssl
> gcc -c -I/usr/local/include -I../../os/unix -I../../include -funsigned-char
> -DMOD_SSL=204106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../../lib/expat-lite
> `../../apaci` -DSSL_COMPAT -I/usr/local/include -DMOD_SSL_VERSION=\"2.4.6\"
> ssl_engine_mutex.c
> ssl_engine_mutex.c: In function `ssl_mutex_sem_create':
> ssl_engine_mutex.c:293: incompatible type for argument 4 of `semctl'
> ssl_engine_mutex.c:302: incompatible type for argument 4 of `semctl'
> *** Error code 1
Ops, even my lovely system is non-POSIX conforming in his older
versions... hmmm... ok, apply the following patch and all should be
fine. I've comitted this for 2.4.7.
Index: mod_ssl.h
===================================================================
RCS file: /e/modssl/cvs/mod_ssl/pkg.apache/src/modules/ssl/mod_ssl.h,v
retrieving revision 1.116
diff -u -r1.116 mod_ssl.h
--- mod_ssl.h 1999/10/01 11:30:42 1.116
+++ mod_ssl.h 1999/10/22 19:34:41
@@ -256,8 +256,9 @@
#define SSL_MUTEX_LOCK_MODE (_S_IREAD|_S_IWRITE )
#endif
#if defined(USE_SYSVSEM_SERIALIZED_ACCEPT) ||\
- defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ||\
- (defined(LINUX) && defined(__GLIBC__) && defined(__GLIBC_MINOR__) && \
+ (defined(__FreeBSD__) && defined(__FreeBSD_version) &&\
+ __FreeBSD_version >= 300000) ||\
+ (defined(LINUX) && defined(__GLIBC__) && defined(__GLIBC_MINOR__) &&\
LINUX >= 2 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) ||\
defined(SOLARIS2)
#define SSL_CAN_USE_SEM
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]