You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "EXT-Chung, Kenneth" <Ka...@PSS.Boeing.com> on 2001/04/19 22:26:34 UTC

problems with creating mod_jk.so on AIX

> Hi my friends
> 
>  Problems: apxs:Break: Command failed with rc=255
>  Platform: AIX 4.3.3
>  Tomcat source: jakarta-tomcat-3.2.1-src
>  Apache source: apache_1.3.19
> 
>  I have gotten to the point of trying to creating mod_jk.so on AIX 4.3.3
>  I have sucessuflly compiling all *.c in ../jk and apache1.3/mod_jk.c
>  1) Except jk_jni_worker.c, it has some compliants. But I am still be able to
>  creating the jk_jni_worker.o.
> 
>   2) When it gets to the point of creating mod_jk.o, it failed with 
>        apxs:Break: Command failed with rc=255
> 
>   I hope someone who has some experience with that, please give me
>   some helps.
> 
> 
>  Thanks
> 
>  The rest is the error message.
> .... 
>  
> cc -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR -qnogenpcomp -qnousepcomp -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/s/users/xv042b/apache/apache_1.3.19/include -I../jk -I/usr/jdk_base/include -I/usr/jdk_base/include/aix  -c ../jk/jk_jni_worker.c
> "../jk/jk_jni_worker.c", line 731.28: 1506-068 (W) Operation between types "long(*)(const struct JNIInvokeInterface_***,const struct JNINativeInterface_***,void*)" and "void*" is not allowed.
> "../jk/jk_jni_worker.c", line 732.43: 1506-068 (W) Operation between types "long(*)(void*)" and "void*" is not allowed.
> 
> ...
>   -o mod_jk.so jk_uri_worker_map.o jk_map.o jk_sockbuf.o jk_lb_worker.o jk_ajp13_worker.o jk_worker.o jk_pool.o jk_jni_worker.o jk_ajp13.o jk_util.o jk_msg_buff.o jk_connect.o jk_ajp12_worker.o mod_jk.o 
> apxs:Break: Command failed with rc=255
> make: 1254-004 The error code from the last command is 1.
> 
>