tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pilho Kim <ph...@math.soongsil.ac.kr>
Subject Re: trouble compiling mod_jk.so
Date Sat, 24 Mar 2001 02:16:12 GMT
Hi,

Retry with Apache 1.3.14 or 1.3.17

Regards,
Kim


On Fri, 23 Mar 2001, Jim Yiu wrote:

> 
> Hi,
>   I am trying to compile the Tomcat-Apache plugin for Solaris and am unsuccessful,, I
> am trying
> to follow the mod_jk faq but it does not explain what to do when there are compile
> errors.
> For Solaris, there is no binary available and we have to create our own shared
> object.
> 
> Here is the problem:
>  after running
> apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris
> -lposix4 -c  *.c ../jk/*.c
> 
> the object files seem to compile fine, and they exist in the directory after
> compiling,  but there seems to be a link error and the ".so" file
> is never created..
> 
> here is the error..
> 
> [top snipped]
> gcc -DSOLARIS2=251 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/d/d1/apache_1.3.12/include -I../jk -I/usr/java/include -I/usr/java/include/solaris
> -DSOLARIS  -c ../jk/jk_util.c
> gcc -DSOLARIS2=251 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/d/d1/apache_1.3.12/include -I../jk -I/usr/java/include -I/usr/java/include/solaris
> -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
> apxs:Break: Command failed with rc=16711680
> 
> 
> I am running the apxs script from within the apache directory [path to
> apache]/apache/bin  and I have Perl 5.004_04 installed, i am using
> SunOS 5.7 with a SPARC station 20 ..
> 
> Could someone point out the problem ?  Any help is appreciated.
> 
> Jim
> 
> 
> 
> 


Mime
View raw message