In article <> you wrote:
> Full_Name: Frank-Christian Kruegel
> Version: 2.0.13-1.3.3
> OS: SunOS 4.1.3_U1
> Submission from: bruker2.bfa.de (194.77.113.195)
> following setup:
> - apache 1.3.3
> - php 3.0.5
> - mod_auth_mysql 2.20
> - mod-ssl-2.0.13-1.3.3
> build works under solaris 2.6 (gcc 2.8.1), but fails under
> SunOS 4.1.3_U1 (gcc 2.7.2.1) in the modules/ssl directory
> with a linker error _strerror not found. Without mod_ssl
> applied, everything works. Why?
> Has anyone built it under SunOS or need I upgrade to Solaris.
No, although Solaris is better at a lot of corners than good-old SunOS, you
don't have to upgrade because of mod_ssl, of course.
It was my fault: we have a replacement strerror() in Apache's util.c but this
is only used for the strerror references in the mod_ssl.c. The stuff in
ssl_gcache.c is a stand-alone program, so stderror() is missing there. Fixed
for mod_ssl 2.0.14. In the meantime just apply the appended patch and try
again. Thanks for your feedback.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
Index: ssl_gcache.c
===================================================================
RCS file: /e/apache/SSL/REPOS/mod_ssl-2.0/pkg.apache/src/modules/ssl/ssl_gcache.c,v
retrieving revision 1.11
diff -u -r1.11 ssl_gcache.c
--- ssl_gcache.c 1998/10/20 13:50:49 1.11
+++ ssl_gcache.c 1998/10/20 15:13:03
@@ -119,6 +119,17 @@
struct sockaddr_un un;
} SockAddr;
+#if defined(NEED_STRERROR)
+extern char *const sys_errlist[];
+char *strerror(int err)
+{
+ char *p;
+
+ p = sys_errlist[err];
+ return (p);
+}
+#endif
+
static void ssl_gcache_HandleAdd(int nFD)
{
UCHAR *aucKey;
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]