apxs:Break: Command failed with rc=16777215
apxs:Break: Command failed with rc=16777215 Has anyone a solution to this problem? Any help would be greatly appreciated ! Regards, Am using: Red Hat Linux release 7.1 Kernel 2.4.2-2 i586 apache-1.3.19 jdk1.3.1 tomcat3.2.3 /usr/local/apache/bin/apxs -c -o mod_jserv.so *.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/lo cal/apache/include -c autochange.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/lo cal/apache/include -c jserv_ajpv11.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/lo cal/apache/include -c jserv_ajpv12.c ... ... ... LINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/lo ache/include -c mod_jserv.c od_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o _watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o jserv_im jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o autochange.o reak: Command failed with rc=16777215
apxs:Break: Command failed with rc=16777215
Hi there, After long searching, trying and investigating I have to say that I can not figure it out. My last hope is you guys (girls) and I wonder if someone knows the solution for this problem. I've seen many similar problems, but none like this exactly. My system: Debian Linux, testing Apache 3.19 compiled with DSO support Binary tomcat 4.0 works fine ! Trying to install mod_jk.so from the source of tomcat-3.2.1 And there is where my misery started For some kind of odd reason apxs does not want to compile the mod_jk at all. I execute : /usr/local/apache/bin/apxs -o mod_jserv.so -I/usr/java/include/linux -I../jk -I/usr/java/include -c *.c ../jk/*.c And this is the result: gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c mod_jk.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_ajp12_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_ajp13.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_ajp13_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_connect.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_jni_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_lb_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_map.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_msg_buff.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_nwmain.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_pool.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_sockbuf.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_uri_worker_map.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_util.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_worker.c -o mod_jserv.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 No matter what I try, ( remove apache, reconfigure and reinstall it for example) I simply cannot get this piece of cake done. Seems like nobody has troubles with it and if they have it, then the rc number is almost never the same I remember Scott having a problem with it, but couldn't find a solution altough he said he had a solution. People, many thanks for helping me out with this one. I'd like to connect apache and tomcat sooner or later! Regards, Klaas-Pieter
Re: apxs:Break: Command failed with rc=16777215
I had the same problem some months ago. In fact, all the object files have been compiled, now you just need to build the mod_jk.so from them: Just go to the directory where the objects files are located and try: gcc -shared -o mod_jk.so *.o You will get a mod_jk.so file. It worked for me very fine, so I hope it will be the same for you. Benoît Hi there, After long searching, trying and investigating I have to say that I can not figure it out. My last hope is you guys (girls) and I wonder if someone knows the solution for this problem. I've seen many similar problems, but none like this exactly. My system: Debian Linux, testing Apache 3.19 compiled with DSO support Binary tomcat 4.0 works fine ! Trying to install mod_jk.so from the source of tomcat-3.2.1 And there is where my misery started For some kind of odd reason apxs does not want to compile the mod_jk at all. I execute : /usr/local/apache/bin/apxs -o mod_jserv.so -I/usr/java/include/linux -I../jk -I/usr/java/include -c *.c ../jk/*.c And this is the result: gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c mod_jk.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_ajp12_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_ajp13.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_ajp13_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_connect.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_jni_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_lb_worker.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_map.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_msg_buff.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_nwmain.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_pool.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_sockbuf.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_uri_worker_map.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_util.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/linux -I../jk -I/usr/java/include -c ../jk/jk_worker.c -o mod_jserv.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 No matter what I try, ( remove apache, reconfigure and reinstall it for example) I simply cannot get this piece of cake done. Seems like nobody has troubles with it and if they have it, then the rc number is almost never the same I remember Scott having a problem with it, but couldn't find a solution altough he said he had a solution. People, many thanks for helping me out with this one. I'd like to connect apache and tomcat sooner or later! Regards, Klaas-Pieter
Re: apxs:Break: Command failed with rc=16777215
It worked for me too! Thanks a lot, unbelievable simple solution for what I thought already was impossible. Thanks again, Klaas-Pieter Benoit Jacquemont wrote: I had the same problem some months ago. In fact, all the object files have been compiled, now you just need to build the mod_jk.so from them: Just go to the directory where the objects files are located and try: gcc -shared -o mod_jk.so *.o You will get a mod_jk.so file. It worked for me very fine, so I hope it will be the same for you. Benoît
Re: apxs:Break: Command failed with rc=16777215
Really happy that worked for you. But, anyway and just for information (;-) ), this solution comes directly from the mod_jk-howto.html file from the Jakarta project documentation... Yes it's written in small characters, but it is written... ;-) Extract from the mod_jk-howto.html: For Linux: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c *.c ../jk/*.c Your build may fail because the object files from the ../jk directory have been compiled to the current directory, rather than their source directory. Running gcc -shared -o mod_jk.so *.o should finish the build. Benoît It worked for me too! Thanks a lot, unbelievable simple solution for what I thought already was impossible. Thanks again, Klaas-Pieter Benoit Jacquemont wrote: I had the same problem some months ago. In fact, all the object files have been compiled, now you just need to build the mod_jk.so from them: Just go to the directory where the objects files are located and try: gcc -shared -o mod_jk.so *.o You will get a mod_jk.so file. It worked for me very fine, so I hope it will be the same for you. Benoît
Re: apxs:Break: Command failed with rc=16777215
I cannot believe what I have done to myself, cuz I remember this from the HOWTO very well. It seemed for me that this would be a problem in case the ../jk directory wasn't in the right place. But I admit (and right now feel that I waisted my time... ) when I read it now, I certainly see what is meant. Well, thanks for the efoort anyway. Benoit Jacquemont wrote: Really happy that worked for you. But, anyway and just for information (;-) ), this solution comes directly from the mod_jk-howto.html file from the Jakarta project documentation... Yes it's written in small characters, but it is written... ;-) Extract from the mod_jk-howto.html: For Linux: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c *.c ../jk/*.c Your build may fail because the object files from the ../jk directory have been compiled to the current directory, rather than their source directory. Running gcc -shared -o mod_jk.so *.o should finish the build. Benoît It worked for me too! Thanks a lot, unbelievable simple solution for what I thought already was impossible. Thanks again, Klaas-Pieter Benoit Jacquemont wrote: I had the same problem some months ago. In fact, all the object files have been compiled, now you just need to build the mod_jk.so from them: Just go to the directory where the objects files are located and try: gcc -shared -o mod_jk.so *.o You will get a mod_jk.so file. It worked for me very fine, so I hope it will be the same for you. Benoît
apxs:Break: Command failed with rc=16777215
apxs:Break: Command failed with rc=16777215 Has anyone a solution to this problem? Any help would be greatly appreciated ! Regards, Mike Courage Frustrated The trouble is building the mod_jk as a DSO module with "apxs" (Step 2: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html ) Am using: Red Hat Linux release 7.0 (Guinness) Kernel 2.2.16-22 on an i686 apache-1.3.19 perl5.6.0 have tried Sun java1.3.0_02 IBMJava2-13 tomcat3.2.1 [root@dev /usr/local/jakarta-tomcat-3.2.1-src/src/native/apache1.3]# /usr/sbin/apxs -o mod_jk.so \ -I../jk \ -I/opt/jdk1.3.0_02/include \ -I/opt/jdk1.3.0_02/include/linux \ -c *.c ../jk/*.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c mod_jk.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_ajp12_worker.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_ajp13.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_ajp13_worker.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_connect.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_jni_worker.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_lb_worker.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_map.c ../jk/jk_map.c:468:1: warning: no newline at end of file gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_msg_buff.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_nwmain.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_pool.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_sockbuf.c ../jk/jk_sockbuf.c:214:1: warning: no newline at end of file gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_uri_worker_map.c ../jk/jk_uri_worker_map.c:438:1: warning: no newline at end of file gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_util.c gcc -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/src/in clude -I../jk -I/opt/jdk1.3.0_02/include -I/opt/jdk1.3.0_02/include/linux -c ../jk/jk_worker.c In file included from ../jk/jk_worker.c:63: ../jk/jk_worker_list.h:126:36: warning: no newline at end of file -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 [root@dev /usr/local/jakarta-tomcat-3.2.1-src/src/native/apache1.3]#
RE: compiling mod_jserv.so fails due to apxs:Break: Command failed with rc=16777215
hi, Have you downloaded the tomcat source distribution?? If not jsut dowanload it and untar it and follow these instructions 1) Change to dir tomcat source dir i.e. jakarta-tomcat/src/native/apache/jserv 2) run the cmd apxs -c -o mod_jserv.so *.c This would build mod_jserv..It worked for me..wish u goodluck cheers, Deeps Thanks and Regards, Deepak C. S. Planetasia Ltd, A Microland Group Company, Bangalore,India Contact: 5522252 54 57 58 58 Extn 544 Email: [EMAIL PROTECTED] -- From: Wayne F Davis[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Monday, December 25, 2000 10:04 AM To: [EMAIL PROTECTED] Subject: compiling mod_jserv.so fails due to apxs:Break: Command failed with rc=16777215 I'm trying to compile mod_jserv but I'm having some difficulties. I did some searches and noticed people had some similar problems, but the only solutions I noticed had to do with the order of switches. I'd appreciate any help. Thanks! /usr/local/apache/bin/apxs -o mod_jserv.so -c *.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c autochange.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_ajpv11.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_ajpv12.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_balance.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_image.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_mmap.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_protocols.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_status.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_utils.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_watchdog.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper_unix.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper_win.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c mod_jserv.c -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o autochange.o apxs:Break: Command failed with rc=16777215 Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l [EMAIL PROTECTED]
mod_jk.so == apxs:Break: Command failed with rc=16777215
Hi All, It's been a long battle to make "mod_jk.so" and it failed with rc=16777215. My system has apache-1.3.14 perl5.6 java1.3 tomcat3.2. Tomcat3.2 was built successfully. I tried to build "mod_jk.so" which failed. Can anyone tell me what might had happened from the following log? Thanks. # /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/include/solaris -DSOLARIS -c ../jk/jk_jni_worker.c ../jk/jk_jni_worker.c:764: warning: #warning --- ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR JAVA 2 FEATURES DISABLED ../jk/jk_jni_worker.c:766: warning: #warning --- gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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/java/include -I/usr/java/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 Scott Liu
Re: mod_jk.so == apxs:Break: Command failed with rc=16777215
On Mon, 4 Dec 2000, Scott Liu wrote: Hi All, It's been a long battle to make "mod_jk.so" and it failed with rc=16777215. My system has apache-1.3.14 perl5.6 java1.3 tomcat3.2. Try: http://www.ccl.net/cca/software/UNIX/apache/ for the log of what I was doing... Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/
Re: mod_jk.so == apxs:Break: Command failed with rc=16777215
You say you have Java 1.3 but are you sure its installed in /usr/java? Does /usr/java/bin/java -version come back with v1.3? Try "where java" The reason why it looks like there are NO JAVA 2 HEADERS below. This might(?) be due to you having installed a jre and not a jdk? According to Scott Liu: | | Hi All, | | It's been a long battle to make "mod_jk.so" and it failed with | rc=16777215. | My system has | | apache-1.3.14 | perl5.6 | java1.3 | tomcat3.2. | | Tomcat3.2 was built successfully. I tried to build "mod_jk.so" which | failed. | Can anyone tell me what might had happened from the following log? | Thanks. | | # /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk | -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c | gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED | -I/usr/local/apache/include -I../jk -I/usr/java/include | -I/usr/java/include/solaris -DSOLARIS -c mod_jk.c snip | ../jk/jk_jni_worker.c:764: warning: #warning | --- | ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT | FOR JAVA 2 FEATURES DISABLED | ../jk/jk_jni_worker.c:766: warning: #warning | --- snip | gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED | -I/usr/local/apache/include -I../jk -I/usr/java/include | -I/usr/java/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 | | | Scott Liu
Re: mod_jk.so == apxs:Break: Command failed with rc=16777215
Yes, I am using java1.3. apxs:Break: Command failed with rc=16777215 # /usr/local/bin/java -version /usr/local/bin/java: Command not found. # /usr/java/bin/java -version java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Java HotSpot(TM) Client VM (build 1.3.0, mixed mode) Scott [EMAIL PROTECTED] wrote: You say you have Java 1.3 but are you sure its installed in /usr/java? Does /usr/java/bin/java -version come back with v1.3? Try "where java" The reason why it looks like there are NO JAVA 2 HEADERS below. This might(?) be due to you having installed a jre and not a jdk? According to Scott Liu: | | Hi All, | | It's been a long battle to make "mod_jk.so" and it failed with | rc=16777215. | My system has | | apache-1.3.14 | perl5.6 | java1.3 | tomcat3.2. | | Tomcat3.2 was built successfully. I tried to build "mod_jk.so" which | failed. | Can anyone tell me what might had happened from the following log? | Thanks. | | # /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk | -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c | gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED | -I/usr/local/apache/include -I../jk -I/usr/java/include | -I/usr/java/include/solaris -DSOLARIS -c mod_jk.c snip | ../jk/jk_jni_worker.c:764: warning: #warning | --- | ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT | FOR JAVA 2 FEATURES DISABLED | ../jk/jk_jni_worker.c:766: warning: #warning | --- snip | gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED | -I/usr/local/apache/include -I../jk -I/usr/java/include | -I/usr/java/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 | | | Scott Liu