You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/28 23:40:21 UTC
DO NOT REPLY [Bug 28673] New: -
mod_deflate compilation error with zlib 1.2.1
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28673>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28673
mod_deflate compilation error with zlib 1.2.1
Summary: mod_deflate compilation error with zlib 1.2.1
Product: Apache httpd-2.0
Version: 2.0.49
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: mod_deflate
AssignedTo: bugs@httpd.apache.org
ReportedBy: bugsan666@hotmail.com
i have a compilation error with mod_deflate and zlib 1.2.1
here is my compilation options :
./configure \
--prefix=/usr/local/apache-2.0.49 \
--enable-so \
--with-ssl="/usr/local/ssl" \
--with-z="/usr/local/zlib-1.2.1" \
--enable-proxy=shared \
--enable-ssl=shared \
--enable-deflate=shared \
--with-mpm=worker
here is the compilation error :
In file included from /usr/include/zutil.h:16,
from mod_deflate.c:42:
/usr/include/zlib.h:68: redefinition of `struct z_stream_s'
/usr/include/zlib.h:705: conflicting types for `gzwrite'
/usr/local/zlib-1.2.1/include/zlib.h:982: previous declaration of `gzwrite'
in mod_deflate.c, there is that :
#include "zlib.h"
#ifdef HAVE_ZUTIL_H
#include "zutil.h"
#else
(...)
i think #ifdef HAVE_ZUTIL_H should be replaced by #ifndef HAVE_ZUTIL_H
(it works with #ifndef)
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org