ID:               16182
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: All
 PHP Version:      4.0CVS-2002-03-2
 New Comment:

This bug has been fixed in CVS.




Previous Comments:
------------------------------------------------------------------------

[2002-03-20 06:36:35] [EMAIL PROTECTED]

The gcc output is bogus (forgot to make clean).

It already breaks when building aggregation.c:

/home/sas/src/php4/ext/standard/aggregation.c: In function
`aggregate_methods':
/home/sas/src/php4/ext/standard/aggregation.c:89: `pcre' undeclared
(first use in this function)
/home/sas/src/php4/ext/standard/aggregation.c:89: (Each undeclared
identifier is reported only once
/home/sas/src/php4/ext/standard/aggregation.c:89: for each function it
appears in.)
/home/sas/src/php4/ext/standard/aggregation.c:89: `re' undeclared
(first use in this function)
/home/sas/src/php4/ext/standard/aggregation.c:90: `pcre_extra'
undeclared (first use in this function)
/home/sas/src/php4/ext/standard/aggregation.c:90: `re_extra' undeclared
(first use in this function)
/home/sas/src/php4/ext/standard/aggregation.c:91: parse error before
`int'

[more messages snipped]

------------------------------------------------------------------------

[2002-03-20 06:34:25] [EMAIL PROTECTED]

This affects the 4.2.0 release branch and HEAD.

Trying to build --without-pcre-regex breaks the build, because there
are unconditional references to the pcre extension/library in
ext/standard/aggregation.c and main/SAPI.c:

ext/standard/aggregation.o: In function `aggregate_methods':
ext/standard/aggregation.o(.text+0x1ae): undefined reference to
`pcre_get_compiled_regex'
ext/standard/aggregation.o(.text+0x2c7): undefined reference to
`php_pcre_exec'
ext/standard/aggregation.o: In function `aggregate_properties':
ext/standard/aggregation.o(.text+0x528): undefined reference to
`pcre_get_compiled_regex'
ext/standard/aggregation.o(.text+0x60a): undefined reference to
`php_pcre_exec'
main/SAPI.o: In function `sapi_add_header_ex':
main/SAPI.o(.text+0xd62): undefined reference to `php_pcre_replace'
main/SAPI.o(.text+0xdbf): undefined reference to `php_pcre_replace'


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16182&edit=1

Reply via email to