Well, here's the way I found to compiling mod_jk.so successfully. I hope it works for you.
I am assuming you got the copy of the source code for Jakarta Tomcat to compile the mod_jk.
1. Create a file called mod_jk.exp in the %Tomcat_SRC%/src/native/apache1.3/
2. Edit the Makefile.linux and add the parameter
-bE:mod_jk.exp at the end of the line that starts with $(APXS) So the line looks like
$(APXS) -I /jk ${JAVA_INCL} -c -o $@ mod_jk.c $(SRCS) -bE:mod_jk.exp
3. Issue the command to compile
make -f Makefile.linux mod_jk.so
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.