Hi,

Does anyone have a suggestion how to resolve one of the following 
compilation problems with mod_jk?

I compiled mod_so (DSO support) into apache 2.0.16 and used tomcat 3.3 
m3. I am running all this on Linux RH 7.0.

Here's the error I get using build-unix.sh:
[top is clipped, lots of warnings]
*************************************************************
mod_jk.c:788: warning: excess elements in scalar initializer
mod_jk.c:788: warning: (near initialization for `jk_module')
mod_jk.c:789: warning: excess elements in scalar initializer
mod_jk.c:789: warning: (near initialization for `jk_module')
mod_jk.c:790: warning: excess elements in scalar initializer
mod_jk.c:790: warning: (near initialization for `jk_module')
mod_jk.c:792: warning: excess elements in scalar initializer
mod_jk.c:792: warning: (near initialization for `jk_module')
mod_jk.c:792: warning: data definition has no type or storage class
apxs:Break: Command failed with rc=1
Installing mod_jk.so into /usr/local/apache/libexec
cp: cannot stat `mod_jk.so': No such file or directory
Done. Install by running ./install-unix.sh
*************************************************************

Even though install is done, mod_jk.so has not been compiled. Trying 
'make -f Makefile.linux', I get a different error:

****************************************************
gcc: ../common/jk_ajp12_worker.lo: No such file or directory
apxs:Break: Command failed with rc=65536
make: *** [mod_jk.so] Error 1
*****************************************************

I have searched the archives and have not seen any solutions that have 
worked yet. I followed the mod_jk howto (the updated version as seen in 
the archives and TC 3.3m3) to obtain these results.

Thanks,

David Gordon

Reply via email to