----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

quon wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> #1. What version of Apache JServ you are using
> 
> JServ version 1.1
> 
> #2. What version of Apache you are using
> 
> Apache version 1.3.4
> 
> #3. What OS and OS version you are using
> 
> IBM AIX version 4.3.3
> 
> #4. An exact description of what is going wrong (pretend that we are not
> there and we cannot see what you are doing). Include any useful log file
> output as well.
> 
> The `configure` goes through fine. After that point, during the `make` I
> receive the following compiler errors: (using GCC)
> 
> >From the below past, it looks like it's failing when it tries to do some
> IBM apache specific stuff. The code snipplet of one of the errors is also
> pasted below this output - the other errors have similiar code sniplets:
> 
> gcc -DPACKAGE=\"ApacheJServ\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1
> -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1
> -DHAVE_HTTPD_H=1 -DHAVE_HTTP_CONFIG_H=1 -DHAVE_HTTP_CORE_H=1
> -DHAVE_HTTP_LOG_H=1 -DHAVE_HTTP_MAIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1
> -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -DHAVE_OS_INLINE_C=1 -I. -I.
> -I/usr/lpp/HTTPServer/include -g -O2 -c  -DPIC jserv_ajpv12.c -o
> jserv_ajpv12.lo
> jserv_ajpv12.c: In function `ajpv12_handle_in':
> jserv_ajpv12.c:335: structure has no member named `fd_in'
> jserv_ajpv12.c:347: structure has no member named `fd_in'
> jserv_ajpv12.c:362: structure has no member named `fd_in'
> jserv_ajpv12.c:373: structure has no member named `fd'
> jserv_ajpv12.c:375: structure has no member named `fd'
> jserv_ajpv12.c: In function `ajpv12_handler':
> jserv_ajpv12.c:510: warning: passing arg 1 of `ap_sub_req_lookup_uri'
> makes pointer from integer without a cast
> make[2]: *** [jserv_ajpv12.lo] Error 1
> make[2]: Leaving directory
> `/www/storage/drs/websoftware/servlets/ApacheJServ-1.1/src/c'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/www/storage/drs/websoftware/servlets/ApacheJServ-1.1/src'
> make: *** [all-recursive] Error 1^D #5. Your
> Apache JServ
> configuration in Apache
> 
> -----
> Code snipplet for the first error is as follows:
> static int ajpv12_handle_in(jserv_config *cfg, jserv_request *req,
> request_rec *
> r, int *state, BUFF * buffsocket) {
>     int ret;
> #ifdef HAVE_APFD /* IBM Apache */
>     if( buffsocket->pfd_in->sd < 0 ) {
> #else
>     if( buffsocket->fd_in < 0 ) {
> #endif
>         jserv_error(JSERV_LOG_EMERG,cfg,"ajp12: ajpv12_handle_in: input
> socket n
> on existing");
>         return 500;
>     }
> 
> it seems to be false for the #ifdef then tries to access the fd_in member
> and that's where it fails...
> 
> Thanks much
> 
> Anthony
> 
> --
not sure but I remember of something like backward compatibility
(Apache<1.3.6 ?) not possible since 1.1 tree.

Jean-Luc


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to