> Date:          Fri, 30 Jul 1999 08:35:00 +0200
> From:          "Ralf S. Engelschall" <[EMAIL PROTECTED]>
> To:            [EMAIL PROTECTED]
> Subject:       Re: Compiling problem
> Organization:  Engelschall, Germany.
> Reply-to:      [EMAIL PROTECTED]

> On Fri, Jul 30, 1999, [EMAIL PROTECTED] wrote:
> 
> > I am trying to compile the apache+mod_ssl-1.3.6+2.3.6 from the 
> > freebsd ports collection. I keep running into an error.
> > 
> > mm-1.0.9, openssl-0.9.3a where compiled prior to this from the ports
> > collection with no problem on freebsd 2.2.8.
> > 
> > If someone knows a fix that would be much appriciated.
> 
> First: you should update your ports files. The apache13-modssl port is already
> at Apache 1.3.6 + mod_ssl 2.3.10.  Second: I do not get this error, although
> I've to admit that I use FreeBSD 3.1 (perhaps FALSE is implicitly defined for
> me) and ap_mm.h actually misses fallback defines for FALSE and TRUE.
> So, when it still happens with 2.3.10, just add
> 
> #ifndef FALSE
> #define FALSE 0
> #define TRUE  !FALSE
> #endif
> 
> to the top of src/include/ap_mm.h. 
> It's now also fixed this way for the forthcoming 2.3.11 version.
> 
>                                        Ralf S. Engelschall
>                                        [EMAIL PROTECTED]
>                                        www.engelschall.com


Hi there,

Thanks for responding so quick to my ports compile problem.

I did get the new port version. Which gave the same error. Then I
added your suggested code to ap_mm.h and below here is the result.

cc -c -I/usr/local/include -I../os/unix -I../include 
-DHARD_SERVER_LIMIT=512  -DDEFA
ULT_PATH=\"/usr/local/bin:/bin:/usr/bin\" -funsigned-char
-DTARGET=\"apache\" -DMOD_S SL=203110 -DEAPI -DEAPI_MM -O -pipe
`../apaci` alloc.c alloc.c:135: parse error before `*' alloc.c:135:
warning: data definition has no type or storage class alloc.c: In
function `free_blocks': alloc.c:299: `AP_MM_LOCK_RW' undeclared (first
use this function) alloc.c:299: (Each undeclared identifier is
reported only once alloc.c:299: for each function it appears in.)
alloc.c: In function `make_sub_pool_internal': alloc.c:463:
`AP_MM_LOCK_RW' undeclared (first use this function) alloc.c: In
function `ap_init_alloc_shared': alloc.c:569: `EAPI_MM_CORE_MAXSIZE'
undeclared (first use this function) alloc.c:572: warning: assignment
makes pointer from integer without a cast alloc.c:574: warning:
assignment makes pointer from integer without a cast alloc.c: In
function `ap_clear_pool': alloc.c:615: `AP_MM_LOCK_RW' undeclared
(first use this function) alloc.c: In function `ap_destroy_pool':
alloc.c:660: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c: At top level: alloc.c:691: parse error before
`ap_pool_lock_mode' alloc.c: In function `ap_acquire_pool':
alloc.c:694: `p' undeclared (first use this function) alloc.c:696:
`mode' undeclared (first use this function) alloc.c:696: `AP_POOL_RD'
undeclared (first use this function) alloc.c:696: `AP_MM_LOCK_RD'
undeclared (first use this function) alloc.c:696: `AP_MM_LOCK_RW'
undeclared (first use this function) alloc.c: In function `ap_palloc':
alloc.c:881: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c: In function `psprintf_flush': alloc.c:1042: `AP_MM_LOCK_RW'
undeclared (first use this function) *** Error code 1
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to