Hi Suzanne -

mod_jserv is pretty old.  You might be better off with mod_jk, especially
with apache 2.0.39 (incidentally, 2.0.40 is out).

The source for the most recently supported connectors is here:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/

John Turner
[EMAIL PROTECTED]

> -----Original Message-----
> From: Suzanne Palmer [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 30, 2002 12:09 PM
> To: Tomcat Users List
> Subject: tomcat & apache - need help
> 
> 
> Hi. I am trying to get tomcat 3.3.1 working with apache 2.0.39 on a
> Solaris 7 system and I am encountering a lot of difficulties, not the
> least of which is my complete cluelessness with regards to all things
> java (for which I heartily apologize in advance).
> 
> I am led to understand that I need to have a module called
> mod_jserv.so
> 
> Following the directions in the tomcat doc included with the sources,
> I attempted to compile it, and got the following errors:
> 
> # /usr/local/apache/bin/apxs -c -o mod_jserv.so *.c
> /usr/local/apache/build/libtool --silent --mode=compile gcc
> -prefer-pic  -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=7
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads
> -I/usr/local/apache/include  -c -o autochange.lo autochange.c && touch
> autochange.slo
> /usr/local/apache/build/libtool --silent --mode=compile gcc
> -prefer-pic  -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=7
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads
> -I/usr/local/apache/include  -c -o jserv_ajpv11.lo jserv_ajpv11.c &&
> touch jserv_ajpv11.slo
> In file included from jserv_ajpv11.c:61:
> jserv.h:180: parse error before `table'
> jserv.h:180: warning: no semicolon at end of struct or union
> jserv.h:185: parse error before `*'
> jserv.h:185: warning: data definition has no type or storage class
> jserv.h:187: parse error before `}'
> jserv.h:328: parse error before `jserv_module'
> jserv.h:328: warning: data definition has no type or storage class
> jserv.h:332: parse error before `*'
> jserv.h:332: warning: data definition has no type or storage class
> jserv.h:345: parse error before `*'
> jserv.h:348: parse error before `*'
> jserv.h:360: parse error before `*'
> jserv_ajpv11.c:73: parse error before `pool'
> jserv_ajpv11.c: In function `ajpv11_open':
> jserv_ajpv11.c:80: `address' undeclared (first use in this function)
> jserv_ajpv11.c:80: (Each undeclared identifier is reported only once
> jserv_ajpv11.c:80: for each function it appears in.)
> jserv_ajpv11.c:81: `cfg' undeclared (first use in this function)
> jserv_ajpv11.c:87: `port' undeclared (first use in this function)
> jserv_ajpv11.c:98: `p' undeclared (first use in this function)
> jserv_ajpv11.c: At top level:
> jserv_ajpv11.c:128: parse error before `pool'
> jserv_ajpv11.c: In function `ajpv11_sendpacket':
> jserv_ajpv11.c:135: `type' undeclared (first use in this function)
> jserv_ajpv11.c:137: `sock' undeclared (first use in this function)
> jserv_ajpv11.c:146: `name' undeclared (first use in this function)
> jserv_ajpv11.c:147: `value' undeclared (first use in this function)
> jserv_ajpv11.c:147: `p' undeclared (first use in this function)
> jserv_ajpv11.c:147: warning: assignment makes pointer from integer
> without a cast
> jserv_ajpv11.c:148: warning: assignment makes pointer from integer
> without a cast
> jserv_ajpv11.c:150: warning: assignment makes pointer from integer
> without a cast
> jserv_ajpv11.c:151: warning: assignment makes pointer from integer
> without a cast
> jserv_ajpv11.c:155: warning: assignment makes pointer from integer
> without a cast
> jserv_ajpv11.c: At top level:
> jserv_ajpv11.c:170: parse error before `pool'
> jserv_ajpv11.c: In function `ajpv11_auth':
> jserv_ajpv11.c:172: `AP_MD5_CTX' undeclared (first use in this
> function)
> jserv_ajpv11.c:172: parse error before `md5context'
> jserv_ajpv11.c:181: `secretsize' undeclared (first use in this
> function)
> jserv_ajpv11.c:182: `cfg' undeclared (first use in this function)
> jserv_ajpv11.c:187: `secret' undeclared (first use in this function)
> jserv_ajpv11.c:194: `sock' undeclared (first use in this function)
> jserv_ajpv11.c:203: `p' undeclared (first use in this function)
> jserv_ajpv11.c:216: `md5context' undeclared (first use in this
> function)
> jserv_ajpv11.c: In function `ajpv11_handler':
> jserv_ajpv11.c:237: `BUFF' undeclared (first use in this function)
> jserv_ajpv11.c:237: `buffsocket' undeclared (first use in this
> function)
> jserv_ajpv11.c:238: parse error before `const'
> jserv_ajpv11.c:244: `SERVER_ERROR' undeclared (first use in this
> function)
> jserv_ajpv11.c:268: dereferencing pointer to incomplete type
> jserv_ajpv11.c:271: dereferencing pointer to incomplete type
> jserv_ajpv11.c:271: dereferencing pointer to incomplete type
> jserv_ajpv11.c:282: dereferencing pointer to incomplete type
> jserv_ajpv11.c:288: dereferencing pointer to incomplete type
> jserv_ajpv11.c:307: dereferencing pointer to incomplete type
> jserv_ajpv11.c:308: dereferencing pointer to incomplete type
> jserv_ajpv11.c:339: dereferencing pointer to incomplete type
> jserv_ajpv11.c:356: `array_header' undeclared (first use in this
> function)
> jserv_ajpv11.c:356: `env_arr' undeclared (first use in this function)
> jserv_ajpv11.c:357: `table_entry' undeclared (first use in this
> function)
> jserv_ajpv11.c:357: `elts' undeclared (first use in this function)
> jserv_ajpv11.c:357: parse error before `)'
> jserv_ajpv11.c:360: `i' undeclared (first use in this function)
> jserv_ajpv11.c:377: `hdr_arr' undeclared (first use in this function)
> jserv_ajpv11.c:378: parse error before `)'
> jserv_ajpv11.c:406: `B_SOCKET' undeclared (first use in this function)
> jserv_ajpv11.c:406: `B_RDWR' undeclared (first use in this function)
> jserv_ajpv11.c:445: `header' undeclared (first use in this function)
> jserv_ajpv11.c:472: `REDIRECT' undeclared (first use in this function)
> jserv_ajpv11.c: In function `ajpv11_function':
> jserv_ajpv11.c:489: `pool' undeclared (first use in this function)
> jserv_ajpv11.c:489: `p' undeclared (first use in this function)
> jserv_ajpv11.c:490: parse error before `int'
> jserv_ajpv11.c:496: invalid lvalue in assignment
> jserv_ajpv11.c:501: invalid lvalue in assignment
> jserv_ajpv11.c:519: `sock' undeclared (first use in this function)
> jserv_ajpv11.c:519: dereferencing pointer to incomplete type
> jserv_ajpv11.c:519: dereferencing pointer to incomplete type
> jserv_ajpv11.c:528: `ret' undeclared (first use in this function)
> jserv_ajpv11.c:528: dereferencing pointer to incomplete type
> jserv_ajpv11.c:528: dereferencing pointer to incomplete type
> apxs:Error: Command failed with rc=65536
> 
> Sorry to cut/paste all of that, but I don't know which might be the
> useful bits.
> 
> This seems to suggest to me that there's an error in one or more of
> the files? If I am doing something wrong, I am too clueless to figure
> out what.
> 
> Any information is greatly appreciated.
> 
> Thanks,
> 
> -Suzanne
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to