php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2283 cannot build ext/apache -- undefined variable core_globals in php3_getallheader
Submitted: 1999-09-12 13:03 UTC Modified: 1999-09-13 07:54 UTC
From: pour at mieterra dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 2 OS: Linux 2.2.5
Private report: No CVE-ID: None
 [1999-09-12 13:03 UTC] pour at mieterra dot com
The error output is:

make[2]: Entering directory `/usr/src/rpms/BUILD/php-4.0b2/ext/apache'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr/include/
apache  -I/usr/include -I/usr/lib/apache/  -I/usr/local/include -I/usr/include/m
ysql   -I/usr/share/snmp/include -I../.. -I../../libzend  -I/usr/local/include
-fpic -O5 -mpentiumpro -fno-strength-reduce   -pipe  -DHAVE_MOD_DAV -I/usr/lib/a
pache/ -c apache.c
In file included from ../../php.h:71,
		 from apache.c:22:
../../php_config.h:538: warning: `PACKAGE' redefined
../../libzend/../TSRM/tsrm_config.h:13: warning: this is the location of the pre
../../php_config.h:541: warning: `VERSION' redefined
../../libzend/../TSRM/tsrm_config.h:16: warning: this is the location of the previous definition
apache.c: In function `php3_getallheaders':
apache.c:334: `core_globals' undeclared (first use in this function)
apache.c:334: (Each undeclared identifier is reported only once
apache.c:334: for each function it appears in.)
make[2]: *** [apache.o] Error 1


System setup:
  OS:  Linux 2.2.5 on an i586
  compiler:  gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-13 07:54 UTC] ssb at cvs dot php dot net
This is fixed in the latest TSRM CVS.

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue May 21 00:01:27 2019 UTC