tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pamela Stangl <pcsta...@doit.wisc.edu>
Subject building mod_jk for apache on AIX
Date Fri, 19 Dec 2003 19:45:47 GMT
I'm trying to build mod_jk.so for apache on AIX 5.1 and can't get it to 
work.  I've compile with the AIX compiler and with the g++ 
compiler.  Here's the steps I follow.  Any help would be much 
appreciated.  Also the software versions I'm using have been set by the 
vendor I'm working with but if you've gotten this to work under AIX by 
different versions, I'd be interested.

1.  I can build apache 1.3.27 just fine with the following commands and it 
runs:
 > ./configure --enable-shared=max --prefix=/usr/local/apache 
--enable-module=so --enable-module=info  --enable-module=most
 > make
 > make install

2. I use the binary of Tomcat 4.0.6 and am able to start and access tomcat.

3. I attempt to build the Tomcat 4.0.6 connector mod_jk and get an error 
which I've listed below the command:
 > apxs -I../common -I/usr/java131/include/ -I/usr/java131/include/aix/ -i 
-a -c mod_jk.c ../common/*.c -o mod_jk.so
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c mod_jk.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_ajp12_worker.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_ajp13.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_ajp13_worker.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_ajp14.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_ajp14_worker.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_ajp_common.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_connect.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_context.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_jni_worker.c
"../common/jk_jni_worker.c", line 806.28: 1506-068 (W) Operation between 
types "int(*)(const struct JNIInvokeInterface_***,const struct 
JNINativeInterface_***,void*)" and "void*" is not allowed.
"../common/jk_jni_worker.c", line 807.43: 1506-068 (W) Operation between 
types "int(*)(void*)" and "void*" is not allowed.
"../common/jk_jni_worker.c", line 808.34: 1506-068 (W) Operation between 
types "int(*)(const struct JNIInvokeInterface_***,int,int*)" and "void*" is 
not allowed.
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_lb_worker.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_map.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_md5.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_msg_buff.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_nwmain.c
"../common/jk_nwmain.c", line 149.7: 1506-356 (W) Compilation unit is empty.
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_pool.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_sockbuf.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_uri_worker_map.c
"../common/jk_uri_worker_map.c", line 63.30: 1506-342 (W) "/*" detected in 
comment.
"../common/jk_uri_worker_map.c", line 63.54: 1506-342 (W) "/*" detected in 
comment.
"../common/jk_uri_worker_map.c", line 64.34: 1506-342 (W) "/*" detected in 
comment.
"../common/jk_uri_worker_map.c", line 64.65: 1506-342 (W) "/*" detected in 
comment.
"../common/jk_uri_worker_map.c", line 273.61: 1506-342 (W) "/*" detected in 
comment.
"../common/jk_uri_worker_map.c", line 274.28: 1506-342 (W) "/*" detected in 
comment.
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_util.c
cc -DAIX=51 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR 
-DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/u/pys/apbs/apache/include -I../common -I/usr/java131/include/ 
-I/usr/java131/include/aix/  -c ../common/jk_worker.c
ld -H512 -T512 -bhalt:4 -bM:SRE -e _nostart 
-bI:/u/pys/apbs/apache/libexec/httpd.exp -lc -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_md5.o jk_map.o jk_lb_worker.o jk_jni_worker.o jk_context.o 
jk_connect.o jk_ajp_common.o jk_ajp14_worker.o jk_ajp14.o jk_ajp13_worker.o 
jk_ajp13.o jk_ajp12_worker.o mod_jk.o -o mod_jk.so
ld: 0711-327 WARNING: Entry point not found: _nostart
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=8


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message