Nope, I was in /native/apache1.3 when I did the compile as per the
faq. However the command like I typed referred to the jk directory
apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include
-I/usr/local/jdk/include/linux -c *.c ../jk/*.c
The error that came back was:
gcc -O2 -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DEAPI_MM -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/include/apache -I../jk
-I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c
../jk/jk_jni_worker.c
../jk/jk_jni_worker.c:67: jni.h: No such file or directory
../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
-------------------------------------------------------
apxs:Break: Command failed with rc=1
Any other ideas?
At 10:57 AM 1/19/2001, you wrote:
>In compiling mod_jk you need to have all the *.c files accessible. Were you
>in the
><source>/native/jk directory when you compiled and also referred to all the
>*.c it needs. When all are not included you will get the symbol errors.
>Mohamed
>
>-----Original Message-----
>From: Eric Paul [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 19, 2001 10:44 AM
>To: [EMAIL PROTECTED]
>Subject: mod_jk - undefined symbol
>
>
>Hi there. I'm trying to get Tomcat 3.2.1 working with Apache 1.3.14 on a
>Red Hat 6.2 Linux Box running 2.2.18 Kernel. Both Apache and Tomcat were
>working on this box before I started messing with mod_jk. I downloaded the
>latest stable source (jakarta-tomcat-3.2.1-src) and compiled mod_jk as per
>the FAQ. I had the error message talked about in the FAQ, but the gcc line
>generated the mod_jk.so with no problems. I copied this file into my
>libexec dir, and included the mod_jk.conf-auto in my httpd.conf file. I
>stopped apache and tomcat, restarted tomcat, and then tried to start apache
>and got this error message:
>
>Starting httpd: Syntax error on line 8 of
>/usr/local/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto:
>Cannot load /usr/libexec/mod_jk.so into server: /usr/libexec/mod_jk.so:
>undefined symbol: jk_b_set_buffer_size
>
>Line 8 of the config file is:
>
>LoadModule jk_module libexec/mod_jk.so
>
>I'm guessing that there must have been a problem with the compile of
>mod_jk, but not knowing enough about the source I'm not in a good position
>to go poking around and trying to fix it. I did a search on the archive
>for jk_b_set_buffer_size but that turned up nothing. Any ideas?
>
>Eric
>
>
>---------------------------------------------------------------------
>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]