I went ahead and ignored the warnings and now I get:
# cd /usr/local/apache/bin
# apachectl start
Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server: dlopen:
/usr/local/
apache/libexec/mod_jk.so: symbol "__pthread_mutex_init" unresolved
apachectl start: httpd could not be started
Sincerely,
David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351
[EMAIL PROTECTED]
02/26/2003 04:56 PM
Please respond to "Tomcat Users List"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Subject: RE: build-unix.sh error for mod_jk.so
Thanks for the help , but now I get:
cc -pthread -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARE
D_MODULE -I/usr/local/apache/include -I../common
-I/usr/opt/java131/include -I/u
sr/opt/java131/include/alpha -c ../common/jk_jni_worker.c
19 cc: Warning: ../common/jk_jni_worker.c, line 751: In this
statement, the
referenced type of the pointer value "dlsym(...)" is "void", which is not
compa
tible with "function (pointer to pointer to pointer to const struct
JNIInvokeInt
erface_, pointer to pointer to pointer to const struct
JNINativeInterface_, poin
ter to void) returning int". (ptrmismatch)
20 jni_create_java_vm = dlsym(handle, "JNI_CreateJavaVM");
21 --------^
22 cc: Warning: ../common/jk_jni_worker.c, line 752: In this
statement, the
referenced type of the pointer value "dlsym(...)" is "void", which is not
compa
tible with "function (pointer to pointer to pointer to const struct
JNIInvokeInt
erface_, int, pointer to int) returning int". (ptrmismatch)
23 jni_get_created_java_vms = dlsym(handle,
"JNI_GetCreatedJavaVMs"
);
24 --------^
25 cc: Warning: ../common/jk_jni_worker.c, line 753: In this
statement, the
referenced type of the pointer value "dlsym(...)" is "void", which is not
compa
tible with "function (pointer to void) returning int". (ptrmismatch)
@
Any ideas would be greatly appreciated.
Sincerely,
David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351
"Mike Jackson" <[EMAIL PROTECTED]>
02/26/2003 04:23 PM
Please respond to "Tomcat Users List"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Subject: RE: build-unix.sh error for mod_jk.so
I don't see the that thread option set, so it must not be using it. That
option should probably appear after "cc", somewhere prior to the "-c" and
the source file.
--mikej
-=-----
mike jackson
[EMAIL PROTECTED]
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:05 PM
> To: Tomcat Users List
> Subject: build-unix.sh error for mod_jk.so
>
>
> When trying to build mod_jk.so on Tru64 Unix 5.1 using Apache
> 1.3.27 and
> tomcat 3.3.1a I get the following error, can someone guild me in the
> correct direction:
> Compiling mod_jk
> 13 cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE
> -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
> -I/usr/opt/ja
> va131/include/alpha -c mod_jk.c
> 14 cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE
> -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
> -I/usr/opt/ja
> va131/include/alpha -c ../common/jk_ajp12_worker.c
> 15 cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE
> -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
> -I/usr/opt/ja
> va131/include/alpha -c ../common/jk_ajp13.c
> 16 cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE
> -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
> -I/usr/opt/ja
> va131/include/alpha -c ../common/jk_ajp13_worker.c
> 17 cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE
> -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
> -I/usr/opt/ja
> va131/include/alpha -c ../common/jk_connect.c
> 18 cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -DSHARED_MODULE
> -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
> -I/usr/opt/ja
> va131/include/alpha -c ../common/jk_jni_worker.c
> 19 cc: Error: /usr/opt/java131/include/jni.h, line 34: #error
> "Modules that
> interface with Java must be compiled and linked with the
> -pthread option"
> (erro
> rmessage)
> 20 #error "Modules that interface with Java must be compiled and
> linked wit
> h the -pthread option"
> 21 -^
>
> I thought the -pthread option was set. If not how do I set it or
> how do I
> compile the java modules?
>
>
> Sincerely,
>
> David Vann
> Martha Jefferson Hospital
> 459 Locust Avenue
> Charlottesville, VA 22902
> [EMAIL PROTECTED]
> Phone (434) 244-5911
> Fax (434) 982-7351
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]