Bug #16182 Updated: --without-pcre-regex breaks build

From: Date: Thu, 21 Mar 2002 23:29:03 +0000
Subject: Bug #16182 Updated: --without-pcre-regex breaks build
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3108@lists.php.net to get a copy of this message
ID: 16182 Updated by: mfischer@php.net Reported By: sas@php.net -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] sas@php.net 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] sas@php.net 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

« previous php.bugs (#3108) next »