ID:               44600
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tobias382 at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Kubuntu 7.10
 PHP Version:      5.2.5
 New Comment:

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




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

[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

Reply via email to