Hey there... I'm trying to compile mod_jk from Tomcat 3.2 and i use this command from inside the jakarta-tomcat/src/native/apache1.3 directory:
apxs -o mod_jk.so -I../jk -I/System/Library/Frameworks/JavaVM.framework/Headers -c *.c ../jk/*.c
It gives me this output:
cc -DDARWIN -DTARGET="apache" -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -O3 -pipe -traditional-cpp -DHARD_SERVER_LIMIT=1024 -DEAPI -DSHARED_MODULE -I/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers -I../jk -I/System/Library/Frameworks/JavaVM.framework/Headers -c mod_jk.c
In file included from /System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:1139,
from mod_jk.c:66:
/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/hsregex.h:22: warning: `ap_private_extern' redefined
/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers/ap_config.h:1033: warning: this is the location of the previous definition
In file included from ../jk/jk_util.h:66,
from mod_jk.c:90:
../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:679: (Each undeclared identifier is reported only once
mod_jk.c:679: for each function it appears in.)
mod_jk.c:679: parse error before `buf'
mod_jk.c:680: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=65536
and then dies. anybody got any ideas?
