Hi, I don't currently belong to the mailing list, but I get the same 
error. Here is how my system has semctl defined in 
/usr/include/sys/sem.h

extern int semctl __P((int __semid, int __semnum, int __cmd,
                       union semun __arg));

Using: mod_ssl-2.4.4-1.3.9
Caldera OpenLinux, Kernel 2.0.36, libc.so.5.4.46

Whoa. I just tried changing the flags on the compile args and 
discovered that changing "DLINUX=2" to "DLINUX=1" allowed it to 
compile. Could it be that the configure program doesn't correctly 
identify whether we are using glibc1 or glibc2 ?

Thanks
Mat White

===> src/modules/ssl
gcc -c -I../..  -I/usr/lib/perl5/5.00502/i686-linux/CORE 
 -I../../os/unix -I../../include   -DLINUX=2 -DMOD_SSL=204104 
-DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DUSE_HSREGEX -DEAPI 
-DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -DSSL_COMPAT 
-DSSL_USE_SDBM -I/usr/local/ssl/include -DMOD_SSL_VERSION=\"2.4.4\" 
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'
make[4]: *** [ssl_engine_mutex.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/apache/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache/apache_1.3.9'
make: *** [build] Error 2


On Tue, Sep 28, 1999, [EMAIL PROTECTED] wrote:

       > Full_Name:
       > Version: 2.4.4
       > OS: Slackware-current
       > Submission from: dns0.prestoncoll.ac.uk (194.238.8.2)
       >
       > hmm, very related to bug 291!
       > when using the "The flexible APACI-only way", everything 
works fine until here:
       >
       > ===> src/modules/ssl
       > -DSSL_COMPAT -I/usr/src/openssl-0.9.4/include 
-DMOD_SSL_VERSION=\"2.4.4\"
       > 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'
       > ssl_engine_mutex.c: In function `ssl_mutex_sem_remove':
       > ssl_engine_mutex.c:334: incompatible type for argument 4 of 
`semctl'
       > make[4]: *** [ssl_engine_mutex.o] Error 1

       Err... now I'm more than confused. semctl(2) is a var-args 
functions which has
       only 3 defined arguments (plus their types).  So how can this 
Slackware beast
       complain about the forth argument? I'm crazy now or what?

       > if you need any additional information, email me

       Yes, I need more information. How is semctl defined in your 
system headers?

                                              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]

-----------------------------------------------------------------
Welcome to the Internet. You have the right to remain silent.
Anything you say can and will be used against you in the court of
public opinion. You have the right to be speak to a BOFH, and to
have a BOFH present during any questioning. If you cannot afford
a BOFH, you are free to make a fool of yourself like me.


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

Reply via email to