tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lblackb...@lastminutetravel.com
Subject trouble compiling mod_jk.so on Linux
Date Wed, 29 Nov 2000 10:14:31 GMT
I am having trouble creating the shared object library mod_jk.so on linux.

After running the below command I get the following error.

$APACHE_HOME/bin/apxs -o mod_jk.so -DLINUX -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -c *.c
../jk/*.c

Error is:
apxs:Break: Command failed with rc=255

Any ideas what I could be doing wrong?  I even tried some options that
seemed to fix my compile problem on solaris by setting "-lposix4" but that
did not seem to help.

The whole output of the run looks like:
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c mod_jk.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_ajp12_worker.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_ajp13.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_ajp13_worker.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_connect.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_jni_worker.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_lb_worker.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_map.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_msg_buff.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_nwmain.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_pool.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_sockbuf.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_uri_worker_map.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_util.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/home/dev/software/apache_1.3.14/include -I../jk
-I/usr/local/jdk1.2.2/include/ -I/usr/local/jdk1.2.2/include/linux -DLINUX
-c ../jk/jk_worker.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
  -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 
apxs:Break: Command failed with rc=255

Mime
View raw message