php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #400 Compile failure with zlib
Submitted: 1998-05-24 18:07 UTC Modified: 1998-05-25 01:23 UTC
From: graeme at kc dot co dot nz Assigned: sr (profile)
Status: Closed Package: Compile Failure
PHP Version: 3.0 Latest CVS OS: Linux i586 2.0.34
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: graeme at kc dot co dot nz
New email:
PHP Version: OS:

 

 [1998-05-24 18:07 UTC] graeme at kc dot co dot nz
Using zlib-1.1.2
./configure --with-blah blah --with-zlib

produces error:
gcc -O2 -fpic   -I. -I.   -I/usr/src/www_source/apache_1.2.6_ssl/src      -I/usr/local/mysql/include/mysql -I/usr/local/msql/include      -g -Wall   -c functions/zlib.c -o functions/zlib.o
functions/zlib.c: In function `php3_minit_zlib':
functions/zlib.c:160: warning: implicit declaration of function `ZLIB_GLOBAL'
functions/zlib.c:160: invalid lvalue in assignment
functions/zlib.c: At top level:
functions/zlib.c:164: warning: static declaration for `php3_mshutdown_zlib' follows non-static
functions/zlib.c: In function `php3_info_zlib':
functions/zlib.c:189: warning: passing arg 1 of `php3_apache_puts' discards `const' from pointer target type
functions/zlib.c: In function `php3_gzopen':
functions/zlib.c:368: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c:368: (Each undeclared identifier is reported only once
functions/zlib.c:368: for each function it appears in.)
functions/zlib.c:401: invalid lvalue in assignment
functions/zlib.c: In function `php3_gzclose':
functions/zlib.c:411: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzeof':
functions/zlib.c:432: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzgets':
functions/zlib.c:457: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzgetc':
functions/zlib.c:495: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzgetss':
functions/zlib.c:528: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c:566: invalid lvalue in assignment
functions/zlib.c:595: invalid lvalue in assignment
functions/zlib.c:598: invalid lvalue in assignment
functions/zlib.c:618: invalid lvalue in assignment
functions/zlib.c: In function `php3_gzwrite':
functions/zlib.c:642: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzrewind':
functions/zlib.c:686: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gztell':
functions/zlib.c:707: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzseek':
functions/zlib.c:728: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzpassthru':
functions/zlib.c:804: `ZLIB_TLS_VARS' undeclared (first use this function)
functions/zlib.c: In function `php3_gzread':
functions/zlib.c:833: `ZLIB_TLS_VARS' undeclared (first use this function)
make: *** [functions/zlib.o] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-25 01:23 UTC] sr
Fixed in latest cvs.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 16:01:38 2025 UTC