PHP 4.0 Bug #7892: --with-zlib=/usr doesn't compile

From: Date: Mon, 20 Nov 2000 15:24:06 +0000
Subject: PHP 4.0 Bug #7892: --with-zlib=/usr doesn't compile
Groups: php.dev 
Request: Send a blank email to php-dev+get-38619@lists.php.net to get a copy of this message
From: bjoern@baer.main.de Operating system: SuSE 6.2, kernel 2.2.14 PHP version: 4.0 Latest CVS (20/11/2000) PHP Bug Type: Compile Failure Bug description: --with-zlib=/usr doesn't compile 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 -- Edit Bug report at: http://bugs.php.net/?id=7892&edit=1

« previous php.dev (#38619) next »