ID: 44600 Updated by: [EMAIL PROTECTED] Reported By: tobias382 at gmail dot com -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Kubuntu 7.10 PHP Version: 5.2.5 Assigned To: fb-req-jani New Comment:
No problem. I actually thought it shouldn't have existed in 5.2.5 either, according to CVS logs, but I guess I misread it. :D Closed. Previous Comments: ------------------------------------------------------------------------ [2008-04-02 15:17:30] tobias382 at gmail dot com The issue appears to be fixed in this snapshot: php5.2-200804021430. Apologies for the false alarm. I'll be sure to check the latest snapshot before submitting a bug report next time. ------------------------------------------------------------------------ [2008-04-02 01:54:32] tobias382 at gmail dot com Description: ------------ When building from the 5.2.5 source tarball with --disable-all and without --enable-spl, a block of code in ext/standard/array.c that is intended only for builds with SPL enabled is still being included. Reproduce code: --------------- ./configure --prefix=build/php_build --disable-all --disable-cgi --with-pcre-regex make Expected result: ---------------- If --disable-all is enabled and --enable-spl is not (both of which are true in the aforementioned configure line), PHP should compile without issue. Actual result: -------------- ext/standard/array.o: In function `zif_count': ext/standard/array.c:324: undefined reference to `spl_ce_Countable' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44600&edit=1