zlib.c problem

From: Date: Mon, 23 Oct 2000 12:31:13 +0000
Subject: zlib.c problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-35872@lists.php.net to get a copy of this message
Having problems when compiling php-4.0.4-dev with --with-zlib extension. I get the ./configure to go through just fine. When I do a "make" a get the following error: 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/us r/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:787: incompatible type for argument 2 of `gzseek' zlib.c: At top level: zlib.c:801: 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 Here is the code from zlib.c for the gz_seeker function: static int gz_seeker(void *cookie,fpos_t position, int whence) { return gzseek(((struct gz_cookie *)cookie)->gz_file,position,whence); Can anyone help me with this?

Attachment: [text/x-vcard] Scott A. Martin.vcf
« previous php.dev (#35872) next »