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
Argument 4 is semctlarg, which is defined as
'union ssl_ipc_semun semctlarg;'
while semctl is waiting for a variable of type semun.
Shouldn't you define ssl_ipc_semun only on platforms which don't have
semun pre-defined or something?
As for FreeBSD 2.2.7, in /usr/include/sys/sem.h:
union semun {
int val; /* value for SETVAL */
struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */
u_short *array; /* array for GETALL & SETALL */
};
I lazily changed the 'union ssl_ipc_semun semctlarg;' line to
'union semun semctlarg;' to compile.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]