Re: Problem to compile mod_jk.so with apxs.

2000-12-28 Thread Damien Serra

Its that you are looking for?

Inside jk_pool.h, at line 92, you need to add this,

#elif defined(NETWARE)
typedef long longjk_pool_atom_t;
#else  //ADD THIS LINE
typedef long longjk_pool_atom_t;   // ADD THIS LINE
#endif


Simon Orchanian wrote:

 Please just someone post the resolution
 to this. I know many people are having
 a problem with it on Solaris 7 with Apache 1.3.14.

 Thanks,
 Simon

 --- Donnie Cherng [EMAIL PROTECTED] wrote:
 
  I have read more than thousands of mails from the mail list and read howto
  docs
  from Tomcat.  Still have no clue why it is not working ...
 
  The running system is
Solaris 7 with
j2sdk1_3_0
jakarta-tomcat-3.2.1
apache_1.3.14.
 
 
  /home/users/dcherng/apache/bin/apxs -I ../jk -I
  /home/users/dcherng/j2sdk1_3_0/include -I
  /home/users/dcherng/j2sdk1_3_0/include/solaris -c -o mod_jk.so mod_jk.c
  ../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c
  ../jk/jk_util.c ../jk/jk_ajp13.c ../jk/jk_jni_worker.c ../jk/jk_pool.c
  ../jk/jk_worker.c ../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c
  ../jk/jk_sockbuf.c  ../jk/jk_map.c ../jk/jk_uri_worker_map.c
  gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
  -I/home/users/dcherng/apache/include -I../jk
  -I/home/users/dcherng/j2sdk1_3_0/include
  -I/home/users/dcherng/j2sdk1_3_0/include/solaris  -c mod_jk.c
  In file included from ../jk/jk_util.h:66,
   from mod_jk.c:90:
  ../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
  mod_jk.c: In function `jk_handler':
  mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function)
  mod_jk.c:679: (Each undeclared identifier is reported only once
  mod_jk.c:679: for each function it appears in.)
  mod_jk.c:679: parse error before `buf'
  mod_jk.c:680: `buf' undeclared (first use in this function)
  apxs:Break: Command failed with rc=1
  make: *** [mod_jk.so] Error 1
 
  thanks,
  Donnie

 __
 Do You Yahoo!?
 Yahoo! Shopping - Thousands of Stores. Millions of Products.
 http://shopping.yahoo.com/




Problem to compile mod_jk.so with apxs.

2000-12-27 Thread Donnie Cherng


I have read more than thousands of mails from the mail list and read howto docs
from Tomcat.  Still have no clue why it is not working ... 

The running system is 
Solaris 7 with
j2sdk1_3_0
jakarta-tomcat-3.2.1
apache_1.3.14.


/home/users/dcherng/apache/bin/apxs -I ../jk -I /home/users/dcherng/j2sdk1_3_0/include 
-I /home/users/dcherng/j2sdk1_3_0/include/solaris -c -o mod_jk.so mod_jk.c 
../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c ../jk/jk_util.c 
../jk/jk_ajp13.c ../jk/jk_jni_worker.c ../jk/jk_pool.c ../jk/jk_worker.c 
../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c ../jk/jk_sockbuf.c  ../jk/jk_map.c 
../jk/jk_uri_worker_map.c   
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  
-I/home/users/dcherng/apache/include -I../jk -I/home/users/dcherng/j2sdk1_3_0/include 
-I/home/users/dcherng/j2sdk1_3_0/include/solaris  -c mod_jk.c
In file included from ../jk/jk_util.h:66,
 from mod_jk.c:90:
../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:679: (Each undeclared identifier is reported only once
mod_jk.c:679: for each function it appears in.)
mod_jk.c:679: parse error before `buf'
mod_jk.c:680: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=1
make: *** [mod_jk.so] Error 1

thanks,
Donnie



Re: Problem to compile mod_jk.so with apxs.

2000-12-27 Thread Simon Orchanian

Please just someone post the resolution
to this. I know many people are having 
a problem with it on Solaris 7 with Apache 1.3.14.

Thanks,
Simon


--- Donnie Cherng [EMAIL PROTECTED] wrote:
 
 I have read more than thousands of mails from the mail list and read howto
 docs
 from Tomcat.  Still have no clue why it is not working ... 
 
 The running system is 
   Solaris 7 with
   j2sdk1_3_0
   jakarta-tomcat-3.2.1
   apache_1.3.14.
 
 
 /home/users/dcherng/apache/bin/apxs -I ../jk -I
 /home/users/dcherng/j2sdk1_3_0/include -I
 /home/users/dcherng/j2sdk1_3_0/include/solaris -c -o mod_jk.so mod_jk.c
 ../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c
 ../jk/jk_util.c ../jk/jk_ajp13.c ../jk/jk_jni_worker.c ../jk/jk_pool.c
 ../jk/jk_worker.c ../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c
 ../jk/jk_sockbuf.c  ../jk/jk_map.c ../jk/jk_uri_worker_map.c   
 gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED 
 -I/home/users/dcherng/apache/include -I../jk
 -I/home/users/dcherng/j2sdk1_3_0/include
 -I/home/users/dcherng/j2sdk1_3_0/include/solaris  -c mod_jk.c
 In file included from ../jk/jk_util.h:66,
  from mod_jk.c:90:
 ../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
 mod_jk.c: In function `jk_handler':
 mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function)
 mod_jk.c:679: (Each undeclared identifier is reported only once
 mod_jk.c:679: for each function it appears in.)
 mod_jk.c:679: parse error before `buf'
 mod_jk.c:680: `buf' undeclared (first use in this function)
 apxs:Break: Command failed with rc=1
 make: *** [mod_jk.so] Error 1
 
 thanks,
 Donnie


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/