From:             tobias382 at gmail dot com
Operating system: Kubuntu 7.10
PHP version:      5.2.5
PHP Bug Type:     Compile Failure
Bug description:  --disable-all causes SPL-related error

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 bug report at http://bugs.php.net/?id=44600&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44600&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44600&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44600&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44600&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44600&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44600&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44600&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44600&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44600&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44600&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44600&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44600&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44600&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44600&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44600&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44600&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44600&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44600&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44600&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44600&r=mysqlcfg

Reply via email to