ID: 44600 User updated by: tobias382 at gmail dot com Reported By: tobias382 at gmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Kubuntu 7.10 PHP Version: 5.2.5 Assigned To: fb-req-jani New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2008-04-02 08:59:16] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [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