Here's an excerpt from the notes I made when I did this for SunOS 5.7 a few
months ago. I hope it helps:
"For the Solaris 7 server with the gcc compiler, the command was:
/usr/local/apache/bin/apxs -o mod_jk.so -c -I /usr/java/include -I
/usr/java/include/solaris -I ../jk -DSOLARIS -l posix4
Hi All,
I tried to configuring Apache 1.3.17 to use mod_jk compiled from tomcat
3.2.1, my platform is SunOS 5.6. Under TOMCAT_HOME/src/native/apache1.3, I
run the following command to compile the code:
apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
-I/usr/java/include/solaris -c