tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Robbins <erobb...@davox.com>
Subject Re: mod_jk compile error with apache 2.0 and tomcat 3.3
Date Wed, 06 Jun 2001 18:19:45 GMT
I just went through the same problem.  If you look in the directory you 
should so all the object files where created (*.o).  You can then run the 
following command to build them into the final lib file:

gcc -i -shared mod_jk.so *.o


Ed

On Wednesday 06 June 2001 13:04, David Gordon (LMC) wrote:
> 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

Mime
View raw message