On Thu, Jun 10, 1999, [EMAIL PROTECTED] wrote:

> Full_Name: Cliff Woolley
> Version: 2.3.3-1.3.6
> OS: Slackware 4.0
> Submission from: apocalypse.uc.wlu.edu (137.113.241.101)
> 
> I had a problem getting mod_ssl 2.3.3 to compile when using MM.  Here
> is the make error I got:
> 
> In file included from mod_ssl.c:65:
> mod_ssl.h:492: parse error before `AP_MM'
> mod_ssl.h:492: warning: no semicolon at end of struct or union
> mod_ssl.h:507: parse error before `}'
> mod_ssl.h:507: warning: data definition has no type or storage class
> make: *** [mod_ssl.o] Error 1
> 
> I just had to include ap_mm.h in mod_ssl.h before it would compile,
> as show here:
> 
> --- mod_ssl.h.orig    Thu Jun 10 00:28:47 1999
> +++ mod_ssl.h         Thu Jun 10 00:29:02 1999
> @@ -93,6 +93,7 @@
>  /* Apache headers */
>  #define CORE_PRIVATE
>  #include "ap_config.h"
> +#include "ap_mm.h"
>  #include "httpd.h"
>  #include "http_config.h"
>  #include "http_conf_globals.h"
> 
> Thoughts?

This isn't necessary, because httpd.h implicitly includes ap_mm.h at the
correct point. When it doesn't work for you, then something locally is messed
up for you. As your second PR clearly shows, something is broken for you. I
guess mod_ssl and EAPI were not correctly added to the Apache source tree for
you. At least the above extra #include isn't necessary. Look inside
src/include/httpd.h: there should be this #include already...

                                       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]

Reply via email to