Bug #17623 Updated: compile error (zlib)
| From: | corporal_pisang at counter-strike dot com dot my | Date: | Thu, 06 Jun 2002 10:37:31 +0000 |
| Subject: | Bug #17623 Updated: compile error (zlib) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9626@lists.php.net to get a copy of this message | ||
ID: 17623
Updated by: corporal_pisang@counter-strike.com.my
Reported By: corporal_pisang@counter-strike.com.my
Status: Open
Bug Type: Compile Failure
Operating System: Linux 2.4.17
PHP Version: 4.0CVS-2002-06-06
New Comment:
my configure line
CFLAGS="-fPIC -O3 -march=i586 -mcpu=i586" ./configure
--with-apxs2=/home/side/test123/bin/apxs --with-x --with-dbase
--enable-trans-sid --enable-track-vars --with-imap=/usr --without-gd
--with-gnu-ld --enable-memory-limit --enable-xml --with-ftp --with-gdbm
--enable-sigchild --enable-ctype --enable-dbase --enable-url-include
--enable-ucd-snmp-hack --with-tsrm-pth --enable-discard-path
--enable-freetype-4bit-antialias-hack --with-mcrypt --enable-versioning
--disable-debug --with-gettext --with-ttf --with-jpeg --with-mhash
--enable-inline-optimization --with-mysql=/usr --disable-posix-threads
--enable-ftp --with-mm=/usr/src/mm-1.1.3 --enable-shmop
--enable-sysvshm --with-openssl=/usr/local/ssl --enable-sysvsem
--with-jpeg-dir=/usr/lib --with-t1lib=/usr --enable-discard-path
--enable-calendar --with-magic-quotes --enable-sockets
--enable-calendar --with-ncurses --enable-wddx --with-png-dir=/usr
--enable-dbase --enable-mime_magic --enable-filepro
--enable-mbstr-enc-trans --enable-mbregex --enable-dio --with-dom
--enable-dom --with-zlib=/usr --with-zlib-dir=/usr --with-zziplib=/usr
--with-bz2 --enable-xslt --with-xslt-sablot
Previous Comments:
------------------------------------------------------------------------
[2002-06-06 06:26:52] corporal_pisang@counter-strike.com.my
In file included from /usr/src/php4/ext/standard/php_standard.h:48,
from /usr/src/php4/ext/zlib/zlib.c:48:
/usr/src/php4/ext/standard/php_var.h:45: parse error before '*' token
In file included from /usr/src/php4/ext/zlib/zlib.c:50:
/usr/src/php4/ext/zlib/php_zlib.h:58: parse error before
"php_stream_gzio_ops"
/usr/src/php4/ext/zlib/php_zlib.h:58: warning: data definition has no
type or storage class
/usr/src/php4/ext/zlib/zlib.c:164: invalid operands to binary &
/usr/src/php4/ext/zlib/zlib.c:164: initializer element is not constant
/usr/src/php4/ext/zlib/zlib.c:164: (near initialization for
`ini_entries[0].mh_arg1')
/usr/src/php4/ext/zlib/zlib.c:164: initializer element is not constant
/usr/src/php4/ext/zlib/zlib.c:164: (near initialization for
`ini_entries[0]')
/usr/src/php4/ext/zlib/zlib.c:165: invalid operands to binary &
/usr/src/php4/ext/zlib/zlib.c:165: initializer element is not constant
/usr/src/php4/ext/zlib/zlib.c:165: (near initialization for
`ini_entries[1].mh_arg1')
/usr/src/php4/ext/zlib/zlib.c:165: initializer element is not constant
/usr/src/php4/ext/zlib/zlib.c:165: (near initialization for
`ini_entries[1]')
/usr/src/php4/ext/zlib/zlib.c:166: initializer element is not constant
/usr/src/php4/ext/zlib/zlib.c:166: (near initialization for
`ini_entries[2]')
/usr/src/php4/ext/zlib/zlib.c: In function `zif_gzfile':
/usr/src/php4/ext/zlib/zlib.c:284: dereferencing pointer to incomplete
type
/usr/src/php4/ext/zlib/zlib.c: In function `zif_gzopen':
/usr/src/php4/ext/zlib/zlib.c:331: dereferencing pointer to incomplete
type
/usr/src/php4/ext/zlib/zlib.c: In function `zif_ob_gzhandler':
/usr/src/php4/ext/zlib/zlib.c:879: dereferencing pointer to incomplete
type
/usr/src/php4/ext/zlib/zlib.c: In function
`php_enable_output_compression':
/usr/src/php4/ext/zlib/zlib.c:964: dereferencing pointer to incomplete
type
/usr/src/php4/ext/zlib/zlib.c: At top level:
/usr/include/gconv.h:172: warning: array `__data' assumed to have one
element
/usr/include/bits/socket.h:237: warning: array `__cmsg_data' assumed to
have one element
make: *** [ext/zlib/zlib.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17623&edit=1