zlib.c problem
| From: | Scott Martin | Date: | Mon, 23 Oct 2000 13:00:50 +0000 |
| Subject: | zlib.c problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35874@lists.php.net to get a copy of this message | ||
Just updated the php cvs and tried to build again. Still the same gzseek
error message with a little different flavor this time:
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/lo
cal/
BerkeleyDB.3.1/include -I/usr/local/include -I/root/imap/c-client -I/root/li
bmca
l -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
&& t
ouch zlib.lo
zlib.c: In function `gz_seeker':
zlib.c:785: incompatible type for argument 2 of `gzseek'
zlib.c: At top level:
zlib.c:795: parse error before `gz_cookie_functions'
zlib.c:797: warning: initialization makes integer from pointer without a
cast
zlib.c:798: warning: excess elements in scalar initializer
zlib.c:798: warning: (near initialization for `gz_cookie_functions')
zlib.c:799: warning: excess elements in scalar initializer
zlib.c:799: warning: (near initialization for `gz_cookie_functions')
zlib.c:800: warning: excess elements in scalar initializer
zlib.c:800: warning: (near initialization for `gz_cookie_functions')
zlib.c:800: warning: data definition has no type or storage class
zlib.c: In function `zlib_fopen_wrapper':
zlib.c:828: warning: return makes pointer from integer without a cast
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
Here is my configure line in case it matters: (although the failure is
happening on "make".)
./configure --with-zlib --with-mm --with-sablot --with-mysql=/usr/local/mysq
l --with-mcal=../libmcal --with-ldap --with-imap=../imap --with-gettext --en
able-ftp --with-db3=/usr/local/BerkeleyDB.3.1 --with-apache=../apache
Attachment: [text/x-vcard] Scott A. Martin.vcf
Attachment: [text/x-vcard] Scott A. Martin.vcf