RE: getting mod_jk or mod_serv to work
Thanks again for the assistance. Still doesn't work though. What version of gcc are you using to do that. I have gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release). Don't know if that is a problem or not. Here is what I get now mod_jk.c:66: ap_config.h: No such file or directory mod_jk.c:67: httpd.h: No such file or directory mod_jk.c:68: http_config.h: No such file or directory mod_jk.c:69: http_request.h: No such file or directory mod_jk.c:70: http_core.h: No such file or directory mod_jk.c:71: http_protocol.h: No such file or directory mod_jk.c:72: http_main.h: No such file or directory mod_jk.c:73: http_log.h: No such file or directory mod_jk.c:74: util_script.h: No such file or directory mod_jk.c:75: util_date.h: No such file or directory mod_jk.c:76: http_conf_globals.h: No such file or directory mod_jk.c:89: jk_global.h: No such file or directory mod_jk.c:90: jk_util.h: No such file or directory mod_jk.c:91: jk_map.h: No such file or directory mod_jk.c:92: jk_pool.h: No such file or directory mod_jk.c:93: jk_service.h: No such file or directory mod_jk.c:94: jk_worker.h: No such file or directory mod_jk.c:95: jk_uri_worker_map.h: No such file or directory gcc: unrecognized option `-share' UX:ld: ERROR: jk_ajp12_worker.o: libelf error: Format error: shdr table truncated elf_getehdr: collect2: ld returned 1 exit status Thank you again for all of your help Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 28, 2000 8:26 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Hi again, Can you do something, please: Try compiling all with gcc: for a in *.c do gcc -DUW=700 -DUSE_HSREGEX -I -c $a done gcc -share -o mod_jk.so *.o Jed Duty wrote: Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_sockbuf.c UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_uri_worker_map.c UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_util.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_w
Re: getting mod_jk or mod_serv to work
Sorry about a couple of things, When I said "-I" you have to write all the options apxs put when invoking cc (see your original mail). and I misspeled -share, its "--share" Thanks again for the assistance. Still doesn't work though. What version of gcc are you using to do that. I have gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release). Don't know if that is a problem or not. Here is what I get now mod_jk.c:66: ap_config.h: No such file or directory mod_jk.c:67: httpd.h: No such file or directory mod_jk.c:68: http_config.h: No such file or directory mod_jk.c:69: http_request.h: No such file or directory mod_jk.c:70: http_core.h: No such file or directory mod_jk.c:71: http_protocol.h: No such file or directory mod_jk.c:72: http_main.h: No such file or directory mod_jk.c:73: http_log.h: No such file or directory mod_jk.c:74: util_script.h: No such file or directory mod_jk.c:75: util_date.h: No such file or directory mod_jk.c:76: http_conf_globals.h: No such file or directory mod_jk.c:89: jk_global.h: No such file or directory mod_jk.c:90: jk_util.h: No such file or directory mod_jk.c:91: jk_map.h: No such file or directory mod_jk.c:92: jk_pool.h: No such file or directory mod_jk.c:93: jk_service.h: No such file or directory mod_jk.c:94: jk_worker.h: No such file or directory mod_jk.c:95: jk_uri_worker_map.h: No such file or directory gcc: unrecognized option `-share' UX:ld: ERROR: jk_ajp12_worker.o: libelf error: Format error: shdr table truncated elf_getehdr: collect2: ld returned 1 exit status Thank you again for all of your help Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 28, 2000 8:26 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Hi again, Can you do something, please: Try compiling all with gcc: for a in *.c do gcc -DUW=700 -DUSE_HSREGEX -I -c $a done gcc -share -o mod_jk.so *.o Jed Duty wrote: Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_sockbuf.c UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_uri_worker_map.c UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last characte
RE: getting mod_jk or mod_serv to work
Getting closer here is the error I get now UX:ld: ERROR: jk_ajp12_worker.o: libelf error: Format error: shdr table truncated elf_getehdr: collect2: ld returned 1 exit status Thank you again for all of your help Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 4:14 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Sorry about a couple of things, When I said "-I" you have to write all the options apxs put when invoking cc (see your original mail). and I misspeled -share, its "--share" Thanks again for the assistance. Still doesn't work though. What version of gcc are you using to do that. I have gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release). Don't know if that is a problem or not. Here is what I get now mod_jk.c:66: ap_config.h: No such file or directory mod_jk.c:67: httpd.h: No such file or directory mod_jk.c:68: http_config.h: No such file or directory mod_jk.c:69: http_request.h: No such file or directory mod_jk.c:70: http_core.h: No such file or directory mod_jk.c:71: http_protocol.h: No such file or directory mod_jk.c:72: http_main.h: No such file or directory mod_jk.c:73: http_log.h: No such file or directory mod_jk.c:74: util_script.h: No such file or directory mod_jk.c:75: util_date.h: No such file or directory mod_jk.c:76: http_conf_globals.h: No such file or directory mod_jk.c:89: jk_global.h: No such file or directory mod_jk.c:90: jk_util.h: No such file or directory mod_jk.c:91: jk_map.h: No such file or directory mod_jk.c:92: jk_pool.h: No such file or directory mod_jk.c:93: jk_service.h: No such file or directory mod_jk.c:94: jk_worker.h: No such file or directory mod_jk.c:95: jk_uri_worker_map.h: No such file or directory gcc: unrecognized option `-share' UX:ld: ERROR: jk_ajp12_worker.o: libelf error: Format error: shdr table truncated elf_getehdr: collect2: ld returned 1 exit status Thank you again for all of your help Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 28, 2000 8:26 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Hi again, Can you do something, please: Try compiling all with gcc: for a in *.c do gcc -DUW=700 -DUSE_HSREGEX -I -c $a done gcc -share -o mod_jk.so *.o Jed Duty wrote: Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2
Re: getting mod_jk or mod_serv to work
It seems jk_ajp12_worker.o it's broken. remove it and try again, please. Before, check you don't have disk space problems, where you are working or in temporary places (/tmp, /usr/tmp). Jed Duty wrote: Getting closer here is the error I get now UX:ld: ERROR: jk_ajp12_worker.o: libelf error: Format error: shdr table truncated elf_getehdr: collect2: ld returned 1 exit status Thank you again for all of your help Jed Duty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: getting mod_jk or mod_serv to work (On UNIXWARE!)
Here, the problem is building shared objects on unixware, environment where I can't help very much. We can try two fool things: 1. at end use "gcc -v --shared ...(etc)" (add -v to see what it's doing) 2. dont use "--shared", you will see a list of function names, begining with "main", "jni_...", etc. Actualy a get only 2 (main, and jni_workers) if you get another, try to see which library provides it., then add "-l(library_name)" on the command line and try again, until you dont get any unresolved external (except main, and jni_workers), then add "--shared" to see what it tells. For example, if you found that /usr/lib/libnls.a have the external function you need, you will have one line like "gcc -v --shared mod_jk.so -lnls *.o" Jed Duty wrote: get that error when i run for a in *.c do gcc -DUW=700 -DUSE_HSREGEX -I../jk/ -I/usr/local/apache/include/ -I/usr/local/apache/include/unixware -c $a done gcc --share -o mod_jk.so *.o the above should go through and compile all of the .c's into .o's for some reason it is blowing up during the linking phase Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 7:37 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Did you rebuild all object files (.o)?, you can't miss any one. Jed Duty wrote: Here is the new problem, this is with the jk_ajp12_worker.o removed relocations referenced from file(s) jk_ajp13.o jk_ajp13_worker.o jk_connect.o jk_jni_worker.o jk_lb_worker.o jk_map.o jk_msg_buff.o jk_pool.o jk_sockbuf.o jk_uri_worker_map.o jk_util.o mod_jk.o UX:ld: ERROR: fatal error: relocations remain against allocatable but non-writable section: .text collect2: ld returned 1 exit status Thanks again for any help Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 5:49 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work It seems jk_ajp12_worker.o it's broken. remove it and try again, please. Before, check you don't have disk space problems, where you are working or in temporary places (/tmp, /usr/tmp). Jed Duty wrote: Getting closer here is the error I get now UX:ld: ERROR: jk_ajp12_worker.o: libelf error: Format error: shdr table truncated elf_getehdr: collect2: ld returned 1 exit status Thank you again for all of your help Jed Duty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: getting mod_jk or mod_serv to work (On UNIXWARE!)
Just figured it out. On the compile line for the c files needed to add an -fpic. Here is what the whole thing looks like now. for a in *.c do gcc -DUW=700 -DUSE_HSREGEX -fpic -I../jk/ -I/usr/local/apache/include/ -I/usr/local/apache/include/unixware -I/opt/java2-1.2.2/in clude -I/opt/java2-1.2.2/include/unixware -c $a done gcc --share -o mod_jk.so *.o Again I do thank you for all of your help Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 9:31 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work (On UNIXWARE!) Here, the problem is building shared objects on unixware, environment where I can't help very much. We can try two fool things: 1. at end use "gcc -v --shared ...(etc)" (add -v to see what it's doing) 2. dont use "--shared", you will see a list of function names, begining with "main", "jni_...", etc. Actualy a get only 2 (main, and jni_workers) if you get another, try to see which library provides it., then add "-l(library_name)" on the command line and try again, until you dont get any unresolved external (except main, and jni_workers), then add "--shared" to see what it tells. For example, if you found that /usr/lib/libnls.a have the external function you need, you will have one line like "gcc -v --shared mod_jk.so -lnls *.o" Jed Duty wrote: get that error when i run for a in *.c do gcc -DUW=700 -DUSE_HSREGEX -I../jk/ -I/usr/local/apache/include/ -I/usr/local/apache/include/unixware -c $a done gcc --share -o mod_jk.so *.o the above should go through and compile all of the .c's into .o's for some reason it is blowing up during the linking phase Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 7:37 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Did you rebuild all object files (.o)?, you can't miss any one. Jed Duty wrote: Here is the new problem, this is with the jk_ajp12_worker.o removed relocations referenced from file(s) jk_ajp13.o jk_ajp13_worker.o jk_connect.o jk_jni_worker.o jk_lb_worker.o jk_map.o jk_msg_buff.o jk_pool.o jk_sockbuf.o jk_uri_worker_map.o jk_util.o mod_jk.o UX:ld: ERROR: fatal error: relocations remain against allocatable but non-writable section: .text collect2: ld returned 1 exit status Thanks again for any help Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 02, 2001 5:49 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work It seems jk_ajp12_worker.o it's broken. remove it and try again, please. Before, check you don't have disk space problems, where you are working or in temporary places (/tmp, /usr/tmp). Jed Duty wrote: Getting closer here is the error I get now UX:ld: ERROR: jk_ajp12_worker.o: libelf error: Format error: shdr table truncated elf_getehdr: collect2: ld returned 1 exit status Thank you again for all of your help Jed Duty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: getting mod_jk or mod_serv to work
Wayne F Davis wrote: Hi, I'm having a lot of trouble getting mod_jk or mod_jserv to work. I cannot compile mod_jk or mod_jserv myself. Both generate an apxs:Break errors. I had some problems too with apxs too. If you have the object files, (all the .o), you can finish the build of mod_jk.o with: gcc -shared -o mod_jk.o *.o Be carefull to have only the object files of mod_jk. Hope this help. I tried downloading a prebuilt mod_jk.so rpm but when i set that all up, apache complains with "API module structure 'jk_module' in file ... is garbled - perhaps this is not an Apache module DSO?" Does anyone have any ideas? I'm not sure how to get this working since the apxs error messages are less than helpful and I'm not that familiar with dso's. Thanks. Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l [EMAIL PROTECTED]
RE: getting mod_jk or mod_serv to work
I am having similar problems but even the gcc compile line doesn't help. I am actually getting a syntax error message with apxs as follows apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c -ksh: apxs: not found uspkdevc# /usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c mod_jk.c UX:acomp: ERROR: "../jk/jk_pool.h", line 116: Syntax error before or at: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: undefined symbol: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: Syntax error before or at: buf UX:acomp: ERROR: "mod_jk.c", line 680: undefined symbol: buf apxs:Break: Command failed with rc=65536 Any ideas on this one. I have looked at the code and didn't see anything wrong right off. I am running a SCO UnixWare7.1.1 box with java2-1.2.2 and tomcat 3.2.1 Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 6:41 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Wayne F Davis wrote: Hi, I'm having a lot of trouble getting mod_jk or mod_jserv to work. I cannot compile mod_jk or mod_jserv myself. Both generate an apxs:Break errors. I had some problems too with apxs too. If you have the object files, (all the .o), you can finish the build of mod_jk.o with: gcc -shared -o mod_jk.o *.o Be carefull to have only the object files of mod_jk. Hope this help. I tried downloading a prebuilt mod_jk.so rpm but when i set that all up, apache complains with "API module structure 'jk_module' in file ... is garbled - perhaps this is not an Apache module DSO?" Does anyone have any ideas? I'm not sure how to get this working since the apxs error messages are less than helpful and I'm not that familiar with dso's. Thanks. Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l [EMAIL PROTECTED]
RE: getting mod_jk or mod_serv to work
Jed, Did you notice apxs is "not found"? Perhaps if you give the full path to it or just add it's home to your path...apxs should be located in the bin directory under your apache install. -Mark- -Original Message- From: Jed Duty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 10:49 AM To: '[EMAIL PROTECTED]' Subject: RE: getting mod_jk or mod_serv to work I am having similar problems but even the gcc compile line doesn't help. I am actually getting a syntax error message with apxs as follows apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c -ksh: apxs: not found uspkdevc# /usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c mod_jk.c UX:acomp: ERROR: "../jk/jk_pool.h", line 116: Syntax error before or at: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: undefined symbol: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: Syntax error before or at: buf UX:acomp: ERROR: "mod_jk.c", line 680: undefined symbol: buf apxs:Break: Command failed with rc=65536 Any ideas on this one. I have looked at the code and didn't see anything wrong right off. I am running a SCO UnixWare7.1.1 box with java2-1.2.2 and tomcat 3.2.1 Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 6:41 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Wayne F Davis wrote: Hi, I'm having a lot of trouble getting mod_jk or mod_jserv to work. I cannot compile mod_jk or mod_jserv myself. Both generate an apxs:Break errors. I had some problems too with apxs too. If you have the object files, (all the .o), you can finish the build of mod_jk.o with: gcc -shared -o mod_jk.o *.o Be carefull to have only the object files of mod_jk. Hope this help. I tried downloading a prebuilt mod_jk.so rpm but when i set that all up, apache complains with "API module structure 'jk_module' in file ... is garbled - perhaps this is not an Apache module DSO?" Does anyone have any ideas? I'm not sure how to get this working since the apxs error messages are less than helpful and I'm not that familiar with dso's. Thanks. Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l [EMAIL PROTECTED]
RE: getting mod_jk or mod_serv to work
Yeah I did see that and the next line I have the full path to apxs specified. Then I get an apxs:Break: Command failed with rc=65536 -Original Message- From: Palumbo, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 7:54 AM To: '[EMAIL PROTECTED]' Subject: RE: getting mod_jk or mod_serv to work Jed, Did you notice apxs is "not found"? Perhaps if you give the full path to it or just add it's home to your path...apxs should be located in the bin directory under your apache install. -Mark- -Original Message- From: Jed Duty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 10:49 AM To: '[EMAIL PROTECTED]' Subject: RE: getting mod_jk or mod_serv to work I am having similar problems but even the gcc compile line doesn't help. I am actually getting a syntax error message with apxs as follows apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c -ksh: apxs: not found uspkdevc# /usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c mod_jk.c UX:acomp: ERROR: "../jk/jk_pool.h", line 116: Syntax error before or at: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: undefined symbol: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: Syntax error before or at: buf UX:acomp: ERROR: "mod_jk.c", line 680: undefined symbol: buf apxs:Break: Command failed with rc=65536 Any ideas on this one. I have looked at the code and didn't see anything wrong right off. I am running a SCO UnixWare7.1.1 box with java2-1.2.2 and tomcat 3.2.1 Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 6:41 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Wayne F Davis wrote: Hi, I'm having a lot of trouble getting mod_jk or mod_jserv to work. I cannot compile mod_jk or mod_jserv myself. Both generate an apxs:Break errors. I had some problems too with apxs too. If you have the object files, (all the .o), you can finish the build of mod_jk.o with: gcc -shared -o mod_jk.o *.o Be carefull to have only the object files of mod_jk. Hope this help. I tried downloading a prebuilt mod_jk.so rpm but when i set that all up, apache complains with "API module structure 'jk_module' in file ... is garbled - perhaps this is not an Apache module DSO?" Does anyone have any ideas? I'm not sure how to get this working since the apxs error messages are less than helpful and I'm not that familiar with dso's. Thanks. Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l [EMAIL PROTECTED]
Re: getting mod_jk or mod_serv to work
Jed Duty wrote: I am having similar problems but even the gcc compile line doesn't help. I am actually getting a syntax error message with apxs as follows apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c -ksh: apxs: not found uspkdevc# /usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c mod_jk.c UX:acomp: ERROR: "../jk/jk_pool.h", line 116: Syntax error before or at: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: undefined symbol: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: Syntax error before or at: buf UX:acomp: ERROR: "mod_jk.c", line 680: undefined symbol: buf apxs:Break: Command failed with rc=65536 Inside jk_pool.h, at line 92, you need to add this, #elif defined(NETWARE) typedef long longjk_pool_atom_t; #else //ADD THIS LINE typedef long longjk_pool_atom_t; // ADD THIS LINE #endif I belive you can compile now, and do the later steps. Try with careful, you can have another errors. It hapen, because your OS is not one of the listed. For a real patch, we have to know what's the alignment scheme of your architecture and other stuff. Any ideas on this one. I have looked at the code and didn't see anything wrong right off. I am running a SCO UnixWare7.1.1 box with java2-1.2.2 and tomcat 3.2.1 Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 6:41 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Wayne F Davis wrote: Hi, I'm having a lot of trouble getting mod_jk or mod_jserv to work. I cannot compile mod_jk or mod_jserv myself. Both generate an apxs:Break errors. I had some problems too with apxs too. If you have the object files, (all the .o), you can finish the build of mod_jk.o with: gcc -shared -o mod_jk.o *.o Be carefull to have only the object files of mod_jk. Hope this help. I tried downloading a prebuilt mod_jk.so rpm but when i set that all up, apache complains with "API module structure 'jk_module' in file ... is garbled - perhaps this is not an Apache module DSO?" Does anyone have any ideas? I'm not sure how to get this working since the apxs error messages are less than helpful and I'm not that familiar with dso's. Thanks. Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l [EMAIL PROTECTED]
RE: getting mod_jk or mod_serv to work
Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_sockbuf.c UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_uri_worker_map.c UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_util.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_worker.c -o mod_jk.so ../jk/jk_worker.o ../jk/jk_util.o ../jk/jk_uri_worker_map.o ../jk/jk_sockbuf.o ../jk/jk_pool.o ../jk/jk_nwmain.o ../j k/jk_msg_buff.o ../jk/jk_map.o ../jk/jk_lb_worker.o ../jk/jk_jni_worker.o ../jk/jk_connect.o ../jk/jk_ajp13_worker.o ../jk/jk_ajp13. o ../jk/jk_ajp12_worker.o mod_jk.o apxs:Break: Command failed with rc=16711680 Not sure what to make of it. Thanks for the help though. Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 9:23 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Jed Duty wrote: I am having similar problems but even the gcc compile line doesn't help. I am actually getting a syntax error message with apxs as follows apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c -ksh: apxs: not found uspkdevc# /usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c mod_jk.c UX:acomp: ERROR: "../jk/jk_pool.h", line 116: Syntax error before or at: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: undefined symbol: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: Syntax error before or at: buf UX:acomp: ERROR: "mod_jk.c", line 680: undefined symbol: buf apxs:Break: Command failed with rc=65536 Inside jk_pool.h, at line 92, you need to add this, #elif defined(NETWARE) typedef long longjk_pool_atom_t; #else //ADD THIS LINE typedef long longjk_pool_atom_t; // ADD THIS LINE #endif I belive
Re: getting mod_jk or mod_serv to work
Come baack to the gcc command line, (or read your cc documentation about how to build a shared library, it should be much like the one I posted before) Jed Duty wrote: Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_sockbuf.c UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_uri_worker_map.c UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_util.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_worker.c -o mod_jk.so ../jk/jk_worker.o ../jk/jk_util.o ../jk/jk_uri_worker_map.o ../jk/jk_sockbuf.o ../jk/jk_pool.o ../jk/jk_nwmain.o ../j k/jk_msg_buff.o ../jk/jk_map.o ../jk/jk_lb_worker.o ../jk/jk_jni_worker.o ../jk/jk_connect.o ../jk/jk_ajp13_worker.o ../jk/jk_ajp13. o ../jk/jk_ajp12_worker.o mod_jk.o apxs:Break: Command failed with rc=16711680 Not sure what to make of it. Thanks for the help though. Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 9:23 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Jed Duty wrote: I am having similar problems but even the gcc compile line doesn't help. I am actually getting a syntax error message with apxs as follows apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c -ksh: apxs: not found uspkdevc# /usr/local/apache/bin/apxs -o mod_jk.so -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c *.c ../jk/*.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java-1.2.2/include/unixware -c mod_jk.c UX:acomp: ERROR: "../jk/jk_pool.h", line 116: Syntax error before or at: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: undefined symbol: jk_pool_atom_t UX:acomp: ERROR: "mod_jk.c", line 679: Syntax error before or at: buf UX:acomp: ERROR: "mod_jk.c", line 680: undefined symbol: buf apxs:Break: Command failed with rc=65536
RE: getting mod_jk or mod_serv to work
Looking at our stuff that gcc command line should be close trick is I keep getting this error gcc -i -shared -o mod_jk.so *.o relocations referenced from file(s) jk_ajp12_worker.o jk_ajp13.o jk_ajp13_worker.o jk_connect.o jk_jni_worker.o jk_lb_worker.o jk_map.o jk_msg_buff.o jk_pool.o jk_sockbuf.o jk_uri_worker_map.o jk_util.o jk_worker.o UX:ld: ERROR: fatal error: relocations remain against allocatable but non-writable section: .text collect2: ld returned 1 exit status Not sure what to make of it. Some insight as to what it is looking for or trying to do would be helpful. Thank you Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 11:40 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Come baack to the gcc command line, (or read your cc documentation about how to build a shared library, it should be much like the one I posted before) Jed Duty wrote: Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_sockbuf.c UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_uri_worker_map.c UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_util.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_worker.c -o mod_jk.so ../jk/jk_worker.o ../jk/jk_util.o ../jk/jk_uri_worker_map.o ../jk/jk_sockbuf.o ../jk/jk_pool.o ../jk/jk_nwmain.o ../j k/jk_msg_buff.o ../jk/jk_map.o ../jk/jk_lb_worker.o ../jk/jk_jni_worker.o ../jk/jk_connect.o ../jk/jk_ajp13_worker.o ../jk/jk_ajp13. o ../jk/jk_ajp12_worker.o mod_jk.o apxs:Break: Command failed with rc=16711680 Not sure what to make of it. Thanks for the help though. Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 9:23 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Jed Duty wrote: I am having similar problems but even the gcc compi
RE: getting mod_jk or mod_serv to work
Hi again Jed... Just curious, what version of gcc are you using? Since I'm also having link problems following my compiles, we have gcc 2.8.1 Thanks! -Mark- -Original Message- From: Jed Duty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 3:32 PM To: '[EMAIL PROTECTED]' Subject: RE: getting mod_jk or mod_serv to work Looking at our stuff that gcc command line should be close trick is I keep getting this error gcc -i -shared -o mod_jk.so *.o relocations referenced from file(s) jk_ajp12_worker.o jk_ajp13.o jk_ajp13_worker.o jk_connect.o jk_jni_worker.o jk_lb_worker.o jk_map.o jk_msg_buff.o jk_pool.o jk_sockbuf.o jk_uri_worker_map.o jk_util.o jk_worker.o UX:ld: ERROR: fatal error: relocations remain against allocatable but non-writable section: .text collect2: ld returned 1 exit status Not sure what to make of it. Some insight as to what it is looking for or trying to do would be helpful. Thank you Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 11:40 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Come baack to the gcc command line, (or read your cc documentation about how to build a shared library, it should be much like the one I posted before) Jed Duty wrote: Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_sockbuf.c UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_uri_worker_map.c UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_util.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_worker.c -o mod_jk.so ../jk/jk_worker.o ../jk/jk_util.o ../jk/jk_uri_worker_map.o ../jk/jk_sockbuf.o ../jk/jk_pool.o ../jk/jk_nwmain.o ../j k/jk_msg_buff.o ../jk/jk_map.o ../jk
RE: getting mod_jk or mod_serv to work
We have gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) I also have a newer version that I am going to possibly update to 2.95.2 for another project I am working on and that may fix this but I don't know. Jed Duty -Original Message- From: Palumbo, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 1:19 PM To: '[EMAIL PROTECTED]' Subject: RE: getting mod_jk or mod_serv to work Hi again Jed... Just curious, what version of gcc are you using? Since I'm also having link problems following my compiles, we have gcc 2.8.1 Thanks! -Mark- -Original Message- From: Jed Duty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 3:32 PM To: '[EMAIL PROTECTED]' Subject: RE: getting mod_jk or mod_serv to work Looking at our stuff that gcc command line should be close trick is I keep getting this error gcc -i -shared -o mod_jk.so *.o relocations referenced from file(s) jk_ajp12_worker.o jk_ajp13.o jk_ajp13_worker.o jk_connect.o jk_jni_worker.o jk_lb_worker.o jk_map.o jk_msg_buff.o jk_pool.o jk_sockbuf.o jk_uri_worker_map.o jk_util.o jk_worker.o UX:ld: ERROR: fatal error: relocations remain against allocatable but non-writable section: .text collect2: ld returned 1 exit status Not sure what to make of it. Some insight as to what it is looking for or trying to do would be helpful. Thank you Jed Duty -Original Message- From: Damien Serra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 27, 2000 11:40 AM To: [EMAIL PROTECTED] Subject: Re: getting mod_jk or mod_serv to work Come baack to the gcc command line, (or read your cc documentation about how to build a shared library, it should be much like the one I posted before) Jed Duty wrote: Thanks that is getting me closer. Now I am back to the error I was getting with mod_jserv when I tried to compile it. cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c mo d_jk.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp12_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_ajp13_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_connect.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_jni_worker.c UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 731: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 732: assignment type mismatch UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 764: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 765: invalid directive UX:acomp: WARNING: "../jk/jk_jni_worker.c", line 766: invalid directive cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_lb_worker.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_map.c UX:acomp: WARNING: "../jk/jk_map.c", line 468: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_msg_buff.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_nwmain.c UX:acomp: WARNING: "../jk/jk_nwmain.c", line 32: empty translation unit cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_pool.c cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_sockbuf.c UX:acomp: WARNING: "../jk/jk_sockbuf.c", line 214: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/java2-1.2.2/include -I/opt/java2-1.2.2/include/unixware -c .. /jk/jk_uri_worker_map.c UX:acomp: WARNING: "../jk/jk_uri_worker_map.c", line 438: newline not last character in file cc -DUW=700 -DUSE_HSREGEX -I/usr/local/apache/include -I../jk -I/opt/