You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kun yan <ku...@students.uiuc.edu> on 2001/07/05 19:49:43 UTC

Apache-Tomcat-mod_jk integration

I am new to tomcat. When I tried to build mod_jk from tomcat souce code, I
got the following error:
apxs:Break: Command failed with rc=16777215
after all the *.c compiled.

Anyone know why and how could I get mod_jk.so?

Thanks in advance!

Regards,

Kun



mod_jk build on Solaris 2.6

Posted by kun yan <ku...@students.uiuc.edu>.
Hi,

I installed

Apache 1.3.20
Tomcat 3.2.2

on Solaris.

I tried to build mod_jk.so but get the following error.

gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/mnt/sdt/kunyan/apache/include -I/usr/java1.2/include/solaris -I../jk
-I/usr/java1.2/include -DSOLARIS  -c mod_jk.c
:
:
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/mnt/sdt/kunyan/apache/include -I/usr/java1.2/include/solaris -I../jk
-I/usr/java1.2/include -DSOLARIS  -c ../jk/jk_worker.c
  -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
jk_ajp12_worker.o mod_jk.o -lposix4
apxs:Break: Command failed with rc=16777215

The command is:
apxs -o mod_jk.so -DSOLARIS
-I/usr/java1.2/include/solaris -I..
/jk -I/usr/java1.2/include -l posix4 -c *.c ../jk/*.c

Does anyone have faced the same problem? How did you solve it?

Any help or hint will be really appreciated.

Regards,

Kun