tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Klimkin <Micha...@ru.openpages.com>
Subject mod_jk.so building
Date Tue, 19 Dec 2000 12:18:55 GMT
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>                           0x2c        jk_ajp12_worker.o
<unknown>                           0xe4        jk_ajp12_worker.o
<unknown>                           0xe8        jk_ajp12_worker.o
<unknown>                           0xf4        jk_ajp12_worker.o
 memcpy                              0xf18       jk_map.o
memcpy                              0xee0       jk_map.o
memcpy                              0x2e8       jk_pool.o
memcpy                              0x108       jk_sockbuf.o
memcpy                              0x3a4       jk_pool.o
memcpy                              0x53c       jk_pool.o
memcpy                              0x1dc       jk_sockbuf.o
memcpy                              0x160       jk_connect.o
gethostbyname                       0xfc        jk_connect.o
close                               0x3c4       jk_connect.o
setsockopt                          0x2e0       jk_connect.o
recv                                0x500       jk_connect.o
recv                                0x6f0       jk_sockbuf.o

Why???


Thanks, 
Michael

Mime
View raw message