PHP 4.0 Bug #7461 Updated: Compile fails during "make" of zlib.c (--with-zlib)

From: Date: Wed, 25 Oct 2000 19:21:37 +0000
Subject: PHP 4.0 Bug #7461 Updated: Compile fails during "make" of zlib.c (--with-zlib)
Groups: php.dev 
Request: Send a blank email to php-dev+get-35994@lists.php.net to get a copy of this message
ID: 7461 User Update by: martin@math.ohiou.edu Status: Open Bug Type: Compile Failure Description: Compile fails during "make" of zlib.c (--with-zlib) gcc -I. -I/root/php4/ext/zlib -I/root/php4 -I/root/php4/main -I/root/apache/src/include -I/root/apache/src/os/unix -I/root/php4/Zend -I/root/php4 -I/usr/local/BerkeleyDB.3.1/include -I/usr/local/include -I/root/imap/c-client -I/root/libmcal -I/usr/local/mysql/include -I/root/php4/ext/xml/expat/xmltok -I/root/php4/ext/xml/expat/xmlparse -I/root/php4/TSRM -DXML_BYTE_ORDER=12 -g -O2 -c zlib.c && touch zlib.lo zlib.c: In function `gz_seeker': zlib.c:788: incompatible type for argument 2 of `gzseek' zlib.c: At top level: zlib.c:803: warning: initialization from incompatible pointer type make[3]: *** [zlib.lo] Error 1 make[3]: Leaving directory `/root/php4/ext/zlib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/php4/ext/zlib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/php4/ext' make: *** [all-recursive] Error 1 Previous Comments: --------------------------------------------------------------------------- [2000-10-25 15:20:30] martin@math.ohiou.edu Here is my configure line: ./configure --with-zlib --with-mm --with-mysql=/usr/local/mysql --with-mcal=../libmcal --with-ldap --with-imap=../imap --with-gettext --enable-ftp --with-db3=/usr/local/BerkeleyDB.3.1 --with-apache=../apache --with-sablot "./configure" finishes fine. It's when I do the "make" that zlib.c fails to compile. Here are the messages I get: --------------------------------------------------------------------------- [2000-10-25 15:17:20] martin@math.ohiou.edu --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7461

« previous php.dev (#35994) next »