Title: RE: Problem with Tomcat-3.2.1/mod_jk.so

Here is output from apxs (with builtin cc):
...
(lot of Warnings like this):
cc: Warning: ../jk/jk_msg_buff.c, line 88: In this statement, the expression "printf(...)" modifies the variable "i" more than once without an intervening sequence point.  This behavior is undefined.

        printf("%s %d/%d/%d %x %x %x %x - %x %x %x %x - %x %x %x %x - %x %x %x %x\n", err, msg->pos, msg->len, msg->maxlen, 

--------^
...
cc -DOSF1 -DMOD_SSL=207101 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE -I/usr/users/willy/inst/apache/include -pthread -I../jk -I/usr/opt/java122/include -I/usr/opt/java122/include/alpha  -c ../jk/jk_nwmain.c

cc: Warning: ../jk/jk_nwmain.c, line 31: Source file does not contain any declarations.
#endif
------^
...
ld -shared -expect_unresolved "*" -s -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

- END -

 -----Original Message-----
From:   Willy Skj�veland 
Sent:   8. februar 2001 16:53
To:     '[EMAIL PROTECTED]'
Subject:        Problem with Tomcat-3.2.1/mod_jk.so


I'm trying to installing Tomcat-3.2.1/mod_jk with Apache 1.3.14 on Digital Unix 4.0D (Tomcat runs ok as standalone).

Build:
apxs -Wc,-pthread -o mod_jk.so -I../jk -I$JAVA_HOME/include -I$JAVA_HOME/include/alpha -c *.c ../jk/*.c

Report from "apachectl configtest":

When mod_jk compiled with built in cc:
Syntax error on line 8 of /usr/users/willy/inst/apache/tomcat/conf/mod_jk.conf-auto:
Cannot load /usr/users/willy/inst/apache/libexec/mod_jk.so into server:
Unresolved symbol in /usr/users/willy/inst/apache/libexec/mod_jk.so: __pthread_mutex_destroy

When mod_jk compiled with gcc:
Syntax error on line 8 of /usr/users/willy/inst/apache/tomcat/conf/mod_jk.conf-auto:
Cannot load /usr/users/willy/inst/apache/libexec/mod_jk.so into server:
Unresolved symbol in /usr/users/willy/inst/apache/libexec/mod_jk.so: snprintf

Anyone?

WS

Reply via email to