Jeff Trawick wrote:
This fixes mod_jk segfaults when gcc is used to build mod_jk with gcc on AIX. Currently, the -brtl ld flag is missing. Linking with apxs takes care of that and, in general, can clear up other differences.

According to the comment, apxs wasn't used because it compiles all files every time, but passing in .lo files instead of .c files will do the right thing and keep some unnecessary details out of the mod_jk build.

That needs a little more, because the *.lo files are in common are build before using LIBTOOL instead apxs.


When using the actual make in apache-2.0 the common/*.c are compiled and left in apache-2.0 but apxs looks for the *.lo in common: (that is with 2.0.40)
+++
gcc: ../common/jk_ajp14_worker.lo: No such file or directory
gcc: ../common/jk_md5.lo: No such file or directory
gcc: ../common/jk_ajp_common.lo: No such file or directory
gcc: ../common/jk_context.lo: No such file or directory
make: *** [mod_jk.la] Error 1
[EMAIL PROTECTED]:~/jakarta-tomcat-connectors/jk/native/apache-2.0 >
+++


Using VPATH=.:../common in Makefile and JK="" solves the problem but force to use gnu make.

Should I arrange configure and Makefile for this or should we look for different solution


Also added was a comment to mention why repeatedly running make will keep attempting to create mod_jk (unsucessfully).



------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to