Ok, as we recognized the nasty way, older Linux boxes (<= glibc 2.1) have
broken semctl(2) prototypes which still cause compile problems for mod_ssl
2.4.4. I've now fixed this for 2.4.5 with the appended patch, but I don't want
to kick out 2.4.5 immediately just because some older Linux platforms are such
brain-dead (I've already kicked out 2.4.4 mainly for them and once is enough).
So, if you have problems compiling mod_ssl 2.4.4 on your favorite brain-dead
Linux box, please apply the appended patch or wait for mod_ssl 2.4.5 and in
the meantime make yourself a favor and upgrade to a better Linux version (or
even better: to FreeBSD ;).

Greetings,
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

Index: mod_ssl.h
===================================================================
RCS file: /e/modssl/cvs/mod_ssl/pkg.apache/src/modules/ssl/mod_ssl.h,v
retrieving revision 1.114
diff -u -r1.114 mod_ssl.h
--- mod_ssl.h   1999/09/28 12:28:34 1.114
+++ mod_ssl.h   1999/09/28 20:20:37
@@ -257,7 +257,8 @@
 #endif
 #if defined(USE_SYSVSEM_SERIALIZED_ACCEPT) ||\
     defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ||\
-    (defined(LINUX) && LINUX >= 2) ||\
+    (defined(LINUX) && defined(__GLIBC__) && defined(__GLIBC_MINOR__) && \
+     LINUX >= 2 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) ||\
     defined(SOLARIS2)
 #define SSL_CAN_USE_SEM
 #define SSL_HAVE_IPCSEM

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

Reply via email to