On Mon, Jul 26, 1999, [EMAIL PROTECTED] wrote:
> Full_Name:
> Version: 2.3.8
> OS: FreeBSD 3.2
> Submission from: dialin1317.toronto.globalserve.net (209.90.135.46)
>
> I am following exactly the steps outline in the example page here.
> Using apache1.3.6 openssl 0.9.3a and mod_ssl 2.3.8.
>
> I have no problem with mod_ssl 2.3.6. Looks like something weird with 2.3.8.
> Everything goes well until I try to do make under the apache directory.
>
> Following is the output from the make and this is where the compile fails.
>
> gcc -c -I../os/unix -I../include -funsigned-char -DMOD_SSL=203108 -DEAPI
> `../apaci` alloc.c
> alloc.c: In function `ap_kill_alloc_shared':
> alloc.c:597: `mm' undeclared (first use this function)
> alloc.c:597: (Each undeclared identifier is reported only once
> alloc.c:597: for each function it appears in.)
> *** Error code 1
Yes, correct. I've always compiled with MM and for the non-MM case an #ifdef
is missing in alloc.c. Just apply the appended patch or wait for 2.3.9.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
Index: alloc.c
===================================================================
RCS file: /e/modssl/cvs/mod_ssl/pkg.apache/src/main/alloc.c,v
retrieving revision 1.9
diff -u -r1.9 alloc.c
--- alloc.c 1999/07/25 12:41:45 1.9
+++ alloc.c 1999/07/26 05:50:41
@@ -594,10 +594,12 @@
void ap_kill_alloc_shared(void)
{
+#if defined(EAPI_MM)
if (mm != NULL) {
ap_mm_destroy(mm);
mm = NULL;
}
+#endif /* EAPI_MM */
return;
}
#endif /* EAPI */
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]