php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7892 --with-zlib=/usr doesn't compile
Submitted: 2000-11-20 10:24 UTC Modified: 2000-11-20 16:39 UTC
From: bjoern at baer dot main dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (20/11/2000) OS: SuSE 6.2, kernel 2.2.14
Private report: No CVE-ID: None
 [2000-11-20 10:24 UTC] bjoern at baer dot main dot de
PHP doesn't compile through:

/bin/sh /usr/local/src/php4/libtool --silent --mode=compile gcc  -I. -I/usr/local/src/php4/ext/zlib -I/usr/local/src/php4 -I/usr/local/src/php4/main -I/usr/local/httpd/include -I/usr/local/src/php4/Zend -I/usr/local/src/php4 -I/usr/local/include -I/usr/include/freetype -I/usr/include/gd -I/usr/include/mysql -I/usr/local/src/php4/ext/xml/expat/xmltok -I/usr/local/src/php4/ext/xml/expat/xmlparse -I/usr/local/src/php4/TSRM  -DEAPI -DXML_BYTE_ORDER=12 -g -O2  -c zlib.c
zlib.c:970: parse error before `gz_cookie_functions'
zlib.c:972: warning: initialization makes integer from pointer without a cast
zlib.c:973: warning: excess elements in scalar initializer after `gz_cookie_functions'
zlib.c:974: warning: excess elements in scalar initializer after `gz_cookie_functions'
zlib.c:975: warning: excess elements in scalar initializer after `gz_cookie_functions'
zlib.c:975: warning: data definition has no type or storage class
zlib.c: In function `zlib_fopen_wrapper':
zlib.c:1003: warning: return makes pointer from integer without a cast
make[3]: *** [zlib.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php4/ext/zlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php4/ext/zlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php4/ext'
make: *** [all-recursive] Error 1                                                                    

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-20 16:39 UTC] hholzgra@php.net
should be working with older glibc versions now
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC