tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23381] New: - Syntax error compiling mod_jk for apache 1.3.x on FreeBSD
Date Wed, 24 Sep 2003 10:20:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23381>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23381

Syntax error compiling mod_jk for apache 1.3.x on FreeBSD

           Summary: Syntax error compiling mod_jk for apache 1.3.x on
                    FreeBSD
           Product: Tomcat 4
           Version: 4.1.27
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Connector:JK/AJP (deprecated)
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: unicoletti@prometeo.it


When compiling mod_jk on FreeBSD (uname -a >
FreeBSD ****.it 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002
    root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC  i386) you get an
annoying syntax error. A patch is reported down below.

gcc --version
2.95.4

diff -r
jakarta-tomcat-connectors-4.1.27-src-working/jk/native/common/jk_uri_worker_map.c
jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_uri_worker_map.c
492c492
<         char *clean_uri = jk_pool_strdup(&uw_map->tp,uri);
---
>         char * clean_uri = jk_pool_strdup(&uw_map->tp,uri);;

After you take away the double semicolon everything works fine.

Mime
View raw message