Hi All,

I downloaded a precompiled "mod_jk.so" for solaris 2.6 offered
by a tomcat-user and it did not work on my system. I still need
to compile it myself. It is almost there.

Solaris 2.6/tomcat3.2/perl5/apache1.3.14

command used to build "mod_jk.so":

/usr/local/apache/bin/apxs  -o mod_jk.so -DSOLARIS -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -c *.c ../jk/*.c

log result with error "apxs:Break: Command failed with rc=16777215":

gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c mod_jk.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_ajp12_worker.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_ajp13.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_ajp13_worker.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_connect.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_jni_worker.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_lb_worker.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_map.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_msg_buff.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_nwmain.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_pool.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_sockbuf.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_uri_worker_map.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -DSOLARIS  -c ../jk/jk_util.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/usr/local/apache/include -I../jk -I/usr/j2se/include 
-I/usr/j2se/include/solaris -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 
apxs:Break: Command failed with rc=16777215

Thanks,

Scott

Reply via email to