Full_Name: Marco Teunissen van Manen
Version: 2.3.6
OS: Linux (Slackware 3.5)
Submission from: n16152.telekabel.nl (212.142.16.152)


After configuring and setting up mod_ssl for module use with apache 1.3.6,
I got a message stating that an error was detected on line 496 of 
mod_ssl.h in the apache/src/modules/ssl directoy.

That line defines a struct/union member of type AP_MM. However,
since ap_mm.h was NOT included, the compiler did not know what to do.

Solution to overcome this minor problem:
in the Apache section, add in the CORE PRIVATE the following line:
#include "ap_mm.h"

which will then automatically be used when compiling. Resides in 
apache/src/include and defines the type AP_MM.

Unfortunately, afterwards a lot of linking failures occur:
modules/ssl/libssl.a(ssl_engine_config.o): In function
`ssl_cmd_SSLSessionCache':
ssl_engine_config.o(.text+0x157d): undefined reference to `ap_mm_useable'
ssl_engine_config.o(.text+0x165d): undefined reference to
`ap_mm_core_maxsegsize'
modules/ssl/libssl.a(ssl_engine_scache.o): In function `ssl_scache_shm_malloc':
ssl_engine_scache.o(.text+0xd6c): undefined reference to `ap_mm_malloc'
modules/ssl/libssl.a(ssl_engine_scache.o): In function `ssl_scache_shm_calloc':
ssl_engine_scache.o(.text+0xdac): undefined reference to `ap_mm_calloc'
modules/ssl/libssl.a(ssl_engine_scache.o): In function
`ssl_scache_shm_realloc':ssl_engine_scache.o(.text+0xdec): undefined reference
to `ap_mm_realloc'
modules/ssl/libssl.a(ssl_engine_scache.o): In function `ssl_scache_shm_free':
ssl_engine_scache.o(.text+0xe28): undefined reference to `ap_mm_free'
modules/ssl/libssl.a(ssl_engine_scache.o): In function `ssl_scache_shm_init':
ssl_engine_scache.o(.text+0xe84): undefined reference to `ap_mm_create'
ssl_engine_scache.o(.text+0xe97): undefined reference to `ap_mm_error'
ssl_engine_scache.o(.text+0xed7): undefined reference to `ap_mm_permission'
ssl_engine_scache.o(.text+0xee3): undefined reference to `ap_mm_available'
modules/ssl/libssl.a(ssl_engine_scache.o): In function `ssl_scache_shm_kill':
ssl_engine_scache.o(.text+0xfe0): undefined reference to `ap_mm_destroy'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.6/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.6'
make: *** [build] Error 2



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

Reply via email to