PHP 4.0 Bug #7892 Updated: --with-zlib=/usr doesn't compile
| From: | hholzgra@php.net | Date: | Mon, 20 Nov 2000 21:39:17 +0000 |
| Subject: | PHP 4.0 Bug #7892 Updated: --with-zlib=/usr doesn't compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38699@lists.php.net to get a copy of this message | ||
ID: 7892
Updated by: hholzgra
Reported By: bjoern@baer.main.de
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
should be working with older glibc versions now
Previous Comments:
---------------------------------------------------------------------------
[2000-11-20 10:24:06] bjoern@baer.main.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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7892