tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ching-tai Chiu <Cc...@intraspect.com>
Subject RE: where is mod_jk?
Date Thu, 14 Sep 2000 18:09:48 GMT
Thanks for help. I have another problem for building mod_jk now:
 
when I compiled mod_jk on Solaris 2.6, 
 
apxs -o mod_jk.so -I../jk/ -c *.c ../jk/*.c  (I must put -I in front of -c
to make it work)
 
there were error messages as:
 
---------------------
gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_MODULE
-I/usr/
local/apache_1.3.12/include -I../jk/  -c mod_jk.c
In file included from ../jk/jk_util.h:66,
                 from mod_jk.c:82:
../jk/jk_pool.h:114: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:671: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:671: (Each undeclared identifier is reported only once
mod_jk.c:671: for each function it appears in.)
mod_jk.c:671: parse error before `buf'
mod_jk.c:672: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=65536                  
------------------------
 
How should I correct my setting to make it work?
 
Thanks.
 
Ching-Tai
     
 
 

-----Original Message-----
From: Torben Kabel [mailto:torben.kabel@outline.ch]
Sent: Tuesday, September 12, 2000 10:48 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: where is mod_jk?


On some platforms the include option (-I) must be set before the compile
option (-c) 
in the apxs command. This is the case on my Linux Mandrake 7.1. In addition
you may 
need to set up JDK include directories. 

The following works for me (Tomcat 3.2 beta3, jdk1.3.0-beta-refresh): 


apxs -o mod_jk.so -I../jk/ -I/usr/local/jdk1.3/include/linux/
-I/usr/local/jdk1.3/include/ -c *.c ../jk/*.c 


Regards 
Torben 
  
  


"Robert L. Brueckmann" wrote: 


You need to download the source code of tomcat from apache's site and then
move to the directory {tomcat_src_home}/src/native/apache1.3and execute the
following command: apxs -o mod_jk.so -c *.c ../jk/*.c -I ../jk/ and you will
now have your very own mod_jk.so file Hope this helps---- 
Robert L. Brueckmann 
Webmaster 
Decision Systems Corporate Solutions (DiSCuS) 
7400 York Road, Suite 405 
Towson, MD 21204 
ph: 410-337-5444 
fax: 410-337-5585


Mime
View raw message