tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matías Salvador <matias_salva...@uol.com.ar>
Subject PLEASE HELP WHIT THE COMPILATION OF MOD_JK
Date Tue, 24 Apr 2001 14:17:43 GMT
Hy Everybody,

        I'm having problems with the compilation of MOD_JK.C since a couple of days. I have
Tomcat 3.2.1, Apache 1.3 & Solaris 7. When i try to compile the module, it creates lots
of *.o but the mod_jk.so does not appear. What am i doing wrong? All the parameters seem to
be ok. I also tried with the "-lposix4", but it doesn't compile.

        I guess it is something about the configuration of the apxs, but I really dont't know
what is it all about. I send you the error that throws me the compilation and also, the part
of the configuration of my apxs.

*****COMPILATION********************************************************

# /usr/local/bin/perl /usr/local/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/sdk1.3/include
-I/usr/java/sdk1.3/include/solaris -c *.c ../jk/*.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/local/apache/include
-I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris -DSOLARIS -c mod_jk.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_ajp12_worker.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_ajp13.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_ajp13_worker.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_connect.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_jni_worker.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_lb_worker.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_map.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_msg_buff.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_nwmain.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_pool.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_sockbuf.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_uri_worker_map.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_util.c

/usr/local/bin/gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED

_MODULE -I/usr/local/apache/include -I../jk -I/usr/java/sdk1.3/include -I/usr/java/sdk1.3/include/solaris
-DSOLARIS -c ../jk/jk_worker.c

ld -G -o mod_jk.so ../jk/jk_worker.o ../jk/jk_util.o ../jk/jk_uri_worker_map.o ../jk/jk_sockbuf.o
../jk/jk_pool.o ../jk/jk_nwmain.o ../jk/jk_msg_buff.o ../jk/jk

_map.o ../jk/jk_lb_worker.o ../jk/jk_jni_worker.o ../jk/jk_connect.o ../jk/jk_ajp13_worker.o
../jk/jk_ajp13.o ../jk/jk_ajp12_worker.o mod_jk.o 

apxs:Break: Command failed with rc=16711680

************************************************************************

*****APXS********************************************************

my $CFG_TARGET = 'httpd'; # substituted via Makefile.tmpl

my $CFG_CC = '/usr/local/bin/gcc'; # substituted via Makefile.tmpl

my $CFG_CFLAGS = ' -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite `../apaci`'; # substituted
via Makefile.tmpl

my $CFG_CFLAGS_SHLIB = '-fPIC -DSHARED_MODULE'; # substituted via Makefile.tmpl

my $CFG_LD_SHLIB = 'ld'; # substituted via Makefile.tmpl

my $CFG_LDFLAGS_SHLIB = '-G'; # substituted via Makefile.tmpl

my $CFG_LIBS_SHLIB = ''; # substituted via Makefile.tmpl

my $CFG_PREFIX = '/usr/local/apache'; # substituted via APACI install

my $CFG_SBINDIR = '/usr/local/apache/bin'; # substituted via APACI install

my $CFG_INCLUDEDIR = '/usr/local/apache/include'; # substituted via APACI install

my $CFG_LIBEXECDIR = '/usr/local/apache/libexec'; # substituted via APACI install

my $CFG_SYSCONFDIR = '/usr/local/apache/conf'; # substituted via APACI install

************************************************************************

Thank you very much for any help you can give ME ASAP!!!

MATíAS SALVADOR
JAVA Development Team
Soluciones Integrales S.A. 
590 Roca Av. 7° Floor Buenos Aires
+54.011.4345.0537 int. 132


Mime
View raw message