You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "M.J. Maré" <mj...@webtothemax.com> on 2000/07/08 15:50:46 UTC

mod_jk Compile problems

I'm having trouble getting mod_jk compiled on my ISP's machine: Solaris 2.6
on Sun SPARC + Apache 1.3.12

This is very unfamiliar terrain for me so bear with me.

I've tried the line described in the mo_jk howto:

bash$ ~/apache/bin/apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE -DSHA
RED_MODULE -I/opt2/webtothe/products/install/apache/incc
mod_jk.c:81: jk_global.h: No such file or directory
mod_jk.c:82: jk_util.h: No such file or directory
mod_jk.c:83: jk_map.h: No such file or directory
mod_jk.c:84: jk_pool.h: No such file or directory
mod_jk.c:85: jk_service.h: No such file or directory
mod_jk.c:86: jk_worker.h: No such file or directory
mod_jk.c:87: jk_uri_worker_map.h: No such file or directory
apxs:Break: Command failed with rc=65536



I've also tried to copy the mod_jk.c from the apache1.3 directory to the jk
directory and compile it like this:

bash$ ~/apache/bin/apxs -c -o mod_jk.so *.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE -DSHA
RED_MODULE -I/opt2/webtothe/products/install/apache/incc
In file included from jk_service.h:70,
                 from jk_ajp12_worker.h:66,
                 from jk_ajp12_worker.c:63:
jk_pool.h:112: parse error before `jk_pool_atom_t'
apxs:Break: Command failed with rc=65536


I CAN compile the jserv module with:
~/apache/bin/apxs -c -o mod_jserv.so *.c


Any ideas someone??

TIA

Marcel