Re: Building mod_jk fails with odd apxs error: apxs:Break: Command failed with rc=255
I've tried this one before. It does not work for Apache/Solaris. --- Filip Hanik [EMAIL PROTECTED] wrote: http://www.ccl.net/cca/software/UNIX/apache/solaris-t3.2/files/mod_jk.so let me know if this one works for you, otherwise I have compiled one for Apache 1.3.14. SunOS 5.8 myself Filip - Original Message - From: Chris Stavros To: [EMAIL PROTECTED] Sent: Tuesday, January 09, 2001 10:31 AM Subject: Building mod_jk fails with odd apxs error: "apxs:Break: Command failed with rc=255" Hi All, OK, I have just about given up on trying to build mod_jk for Solaris. The history is below if anybody is interested in taking a stab at this. However, all of the suggestions I have received thus far are basically the "standards". That is, I have tried finishing the build with both apxs and gcc, I have tried reordering the arguments in the apxs command, I have even tried fiddling with my $PATH and $CLASSPATH structures. Still no luck. I have found only two other messages pertaining to this specific error (in this group and across the web via Google), and neither user appears to have found a solution. So, unless somebody sees something new and different about this problem, does anybody just have a built version of mod_jk for use with Apache 1.3.14 on Solaris 7? Can I have a copy please? Or, can somebody confirm for me that a copy compiled for Apache 3.1.12 and Solaris 8 will work just the same on my system? I do have a copy of this but am concerned that it may break something because it was compiled on a newer platform with an older version of Apache. Opinions? Thanks in advance for any help! :) History: Hello, I am trying to build mod_jk for Apache from the jakarta-tomcat 3.2.1 source. Apache 1.3.14 is installed in the default directory (/usr/local/apache). I'm running Solaris 2.7 (generic) for Sparc. When I use apxs to build mod_jk (according to the current documentation), I get: # apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java1.2/include -I/usr/java1.2/ include/solaris -c *.c ../jk/*.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c mod_jk.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_ajp12_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_ajp13.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_ajp13_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_connect.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_jni_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_lb_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_msg_buff.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_nwmain.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_pool.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_sockbuf.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_uri_worker_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_util.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_worker.c -o mod_jk.so
Re: Building mod_jk fails with odd apxs error: apxs:Break: Command failed with rc=255
I've tried this one before. It does not work for Apache/Solaris. --- Filip Hanik [EMAIL PROTECTED] wrote: http://www.ccl.net/cca/software/UNIX/apache/solaris-t3.2/files/mod_jk.so let me know if this one works for you, otherwise I have compiled one for Apache 1.3.14. SunOS 5.8 myself Filip - Original Message - From: Chris Stavros To: [EMAIL PROTECTED] Sent: Tuesday, January 09, 2001 10:31 AM Subject: Building mod_jk fails with odd apxs error: "apxs:Break: Command failed with rc=255" Hi All, OK, I have just about given up on trying to build mod_jk for Solaris. The history is below if anybody is interested in taking a stab at this. However, all of the suggestions I have received thus far are basically the "standards". That is, I have tried finishing the build with both apxs and gcc, I have tried reordering the arguments in the apxs command, I have even tried fiddling with my $PATH and $CLASSPATH structures. Still no luck. I have found only two other messages pertaining to this specific error (in this group and across the web via Google), and neither user appears to have found a solution. So, unless somebody sees something new and different about this problem, does anybody just have a built version of mod_jk for use with Apache 1.3.14 on Solaris 7? Can I have a copy please? Or, can somebody confirm for me that a copy compiled for Apache 3.1.12 and Solaris 8 will work just the same on my system? I do have a copy of this but am concerned that it may break something because it was compiled on a newer platform with an older version of Apache. Opinions? Thanks in advance for any help! :) History: Hello, I am trying to build mod_jk for Apache from the jakarta-tomcat 3.2.1 source. Apache 1.3.14 is installed in the default directory (/usr/local/apache). I'm running Solaris 2.7 (generic) for Sparc. When I use apxs to build mod_jk (according to the current documentation), I get: # apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java1.2/include -I/usr/java1.2/ include/solaris -c *.c ../jk/*.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c mod_jk.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_ajp12_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_ajp13.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_ajp13_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_connect.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_jni_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_lb_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_msg_buff.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_nwmain.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_pool.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_sockbuf.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_uri_worker_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_util.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/loc al/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/sola ris -DSOLARIS -c ../jk/jk_worker.c -o mod_jk.so
Re: Problem to compile mod_jk.so with apxs.
Please just someone post the resolution to this. I know many people are having a problem with it on Solaris 7 with Apache 1.3.14. Thanks, Simon --- Donnie Cherng [EMAIL PROTECTED] wrote: I have read more than thousands of mails from the mail list and read howto docs from Tomcat. Still have no clue why it is not working ... The running system is Solaris 7 with j2sdk1_3_0 jakarta-tomcat-3.2.1 apache_1.3.14. /home/users/dcherng/apache/bin/apxs -I ../jk -I /home/users/dcherng/j2sdk1_3_0/include -I /home/users/dcherng/j2sdk1_3_0/include/solaris -c -o mod_jk.so mod_jk.c ../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c ../jk/jk_util.c ../jk/jk_ajp13.c ../jk/jk_jni_worker.c ../jk/jk_pool.c ../jk/jk_worker.c ../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c ../jk/jk_sockbuf.c ../jk/jk_map.c ../jk/jk_uri_worker_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/home/users/dcherng/apache/include -I../jk -I/home/users/dcherng/j2sdk1_3_0/include -I/home/users/dcherng/j2sdk1_3_0/include/solaris -c mod_jk.c In file included from ../jk/jk_util.h:66, from mod_jk.c:90: ../jk/jk_pool.h:116: parse error before `jk_pool_atom_t' mod_jk.c: In function `jk_handler': mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function) mod_jk.c:679: (Each undeclared identifier is reported only once mod_jk.c:679: for each function it appears in.) mod_jk.c:679: parse error before `buf' mod_jk.c:680: `buf' undeclared (first use in this function) apxs:Break: Command failed with rc=1 make: *** [mod_jk.so] Error 1 thanks, Donnie __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
Re: Building mod_jk
Hi, I get the same problem. Can anyone help us on this?? I've also tried to do "gcc -shared -o mod_jk.so *.o". I believe that this was from an earlier posting by Dave Newton. This however gave a different type of problem. Please help. Thanks, Simon --- [EMAIL PROTECTED] wrote: Hi, I have exactly the same problem. I tried several things (I changed the jk_global.h, jk_pool.h and the jk_jni_worker.c) but nothing worked for me. Now I get the following error: as: "/var/tmp/ccaPLHHa.s", line 54: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 55: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 235: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 236: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 307: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 308: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 431: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 432: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 477: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 478: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 540: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 541: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 852: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 853: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 872: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 873: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 903: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 904: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 920: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 921: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 937: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 938: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 956: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 957: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 973: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 974: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 990: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 991: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1007: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1008: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1025: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1026: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1055: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1056: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1237: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1238: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1377: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1378: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1456: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1457: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1618: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1619: error 1052: Directive name not recognized - PARAM as: "/var/tmp/ccaPLHHa.s", line 1731: error 1052: Directive name not recognized - NSUBSPA as: "/var/tmp/ccaPLHHa.s", line 1732: error 1052: Directive name not recognized - PARAM apxs:Break: Command failed with rc=65536 Has anybody get it to work? Thanks in advance, Anja. Anja Beck IBYKUS AG [EMAIL PROTECTED] Hi everyone, I was wondering if anyone has found the solution to this problem however, it may be worth noting that this is a new install of HP-UX11 and has all the latest patches as a couple of weeks ago. I have installed Apache 1.3.12 and tomcat 3.2beta6 on an Hp box running HP-UX11. Both of these products work great separately, but building the mod_jk module has been
Re: mod_jk.so building
Michael and others, I am receiving an identical error on Solaris 7. Can anyone out there please assist?? Thank you in advance. --- Michael Klimkin [EMAIL PROTECTED] wrote: Hi! Help me if you can... I'm trying to build the mod_jk.so on Solaris 7: #/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS \ -I${JAVA_HOME}/include/solaris \ -I../jk -I${JAVA_HOME}/include \ -l posix4 -c *.c ../jk/*.c This script writes such rows: gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c mod_jk.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_ajp12_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_ajp13.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_ajp13_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_connect.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_jni_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_lb_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_msg_buff.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_nwmain.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_pool.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_sockbuf.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_uri_worker_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/include -DSOLARIS -c ../jk/jk_util.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk -I/usr/java/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 When i try to execute #gcc -shared -o mod_jk.so *.o , it returns Text relocation remains referenced against symbol offset in file unknown 0x858 jk_ajp12_worker.o unknown 0x84c jk_ajp12_worker.o unknown 0x85c jk_ajp12_worker.o unknown 0x848 jk_ajp12_worker.o unknown 0x604 jk_ajp12_worker.o unknown 0x5e8 jk_ajp12_worker.o unknown 0x828 jk_ajp12_worker.o unknown 0x83c jk_ajp12_worker.o unknown 0x838 jk_ajp12_worker.o unknown 0x82c jk_ajp12_worker.o unknown 0x5ec jk_ajp12_worker.o unknown 0x600 jk_ajp12_worker.o unknown 0x2cjk_ajp12_worker.o unknown 0xe4jk_ajp12_worker.o unknown 0xe8jk_ajp12_worker.o unknown 0xf4jk_ajp12_worker.o memcpy 0xf18 jk_map.o memcpy 0xee0 jk_map.o memcpy 0x2e8
RE: Apache doesn't start with mod_jk
Mark, I'm getting the EXACT same error messages on both occasions. I could really use some help from some of the experts out there. Please! My environment is Solaris 2.7. Thank you in advance, Simon --- "Palumbo, Mark" [EMAIL PROTECTED] wrote: I still get the same error. :( Any other ideas? Here's the entire link statement and subsequent error message incase it helps...first here's the "normal" way where 'apxs' flops out... ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:/usr/local/apache/libexec/httpd.ex p -lc -o mod_jk.so mod_jk.o 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 j k_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o ld: 0711-244 ERROR: No csects or exported symbols have been saved. apxs:Break: Command failed with rc=8 Then if I just run gcc directly to do the link I get: $ gcc -shared -o mod_jk.so *.o collect2: ld returned 8 exit status ld: 0711-244 ERROR: No csects or exported symbols have been saved. Again if it helps my environment is... aix 4.2 ibm's jdk 1.1.8 gcc 2.8.1 perl 5.004_01 apache 1.3.14 Thank you very much!!! -Mark- -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000 11:14 AM To: [EMAIL PROTECTED] Subject: RE: Apache doesn't start with mod_jk See my previous message regarding the final link step (it's also in the documentation). I keep getting clean compiles, but the link process always fails with: apxs:Break: Command failed with rc=8 Dave __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
Apache/Tomcat confusion
Hi, I'm just a bit confused. I currently have the following: Solaris 2.7 Apache 1.3.14 (/usr/local/apache) Tomcat 3.2 (/usr/local/tomcat3.2) I built Apache with DSO enabled. server.xml: (Is this correct?) context path="" docBase="/usr/local/apache/htdocs" debug="0" reloadable="true" /context httpd.conf: (Is this correct?) LoadModulejk_module libexec/mod_jk.so JkWorkersFile /usr/local/tomcat-path/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevelwarn 1) I'm not sure if I should have AddModule mod_jk.c or where to get this? I've downloaded the mod_jk.so file. 2) Also, what do I need to change in the mod_jk.conf file and the tomcat.conf file? I've seen a number of different doc's regarding those. I appreciate your help. Thank you very much, Simon __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
apxs not finishing for mod_jk.so??
I dowloaded tomcat source and trying to build mod_jk.so using apxs gives this error during the linking of the o files: apxs: Break: Command failed with rc=16777215. Does anyone know what this means? How can I get past this part so that I can resume? Thank you, Simon __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
RE: apxs not finishing for mod_jk.so??
I'm using this exact command: Here is what I type in all on one line: /usr/local/apache/bin/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 Please help. Thanks, Simon --- Sudheesh Nair [EMAIL PROTECTED] wrote: Use this command in native/apache1.3 .. $APACHE_HOME/bin/apxs -o mod_jk.so -DSOLARIS \ -I${JAVA_HOME}/include/solaris \ -I../jk -I${JAVA_HOME}/include \ -l posix4 -c *.c ../jk/*.c Sudheesh -Original Message- From: Simon Orchanian [mailto:[EMAIL PROTECTED]] Sent: Friday, December 15, 2000 3:15 PM To: [EMAIL PROTECTED] Subject: apxs not finishing for mod_jk.so?? I dowloaded tomcat source and trying to build mod_jk.so using apxs gives this error during the linking of the o files: apxs: Break: Command failed with rc=16777215. Does anyone know what this means? How can I get past this part so that I can resume? Thank you, Simon __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
mod_jk.so
I downloaded the distribution for Tomcat3.2. I cannot find the mod_jk.so file to build it. Does anyone know where this would be?? Thanks, Simon __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
location of mod_jk.so
I've downloaded Tomcat3.2 and need to know where the mod_jk.so file is so that I can build it. I'm running Solaris 2.7. Thanks, Simon __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/