From: ilya-- at mail dot ru
Operating system: Mandrake 10.0 i686
PHP version: 5.0.3
PHP Bug Type: Compile Failure
Bug description: Bug
Description:
------------
Bug
Reproduce code:
---------------
first:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
second(bug):
make
Expected result:
----------------
/home/inst/php-5.0.3/Zend/zend_list.h:68: warning: parameter names
(without types) in function declaration
/home/inst/php-5.0.3/Zend/zend_list.h:69: error: parse error before
"TSRMLS_DC"
/home/inst/php-5.0.3/Zend/zend_list.h:74: error: parse error before
"TSRMLS_DC"
/home/inst/php-5.0.3/Zend/zend_list.h:83: error: parse error before
"TSRMLS_DC"
/home/inst/php-5.0.3/Zend/zend_list.h:85: error: parse error before
"TSRMLS_DC"
In file included from /home/inst/php-5.0.3/Zend/zend_API.h:29,
from /home/inst/php-5.0.3/main/php.h:38,
from /home/inst/php-5.0.3/ext/libxml/libxml.c:28:
/home/inst/php-5.0.3/Zend/zend_operators.h:42: error: parse error before
"TSRMLS_DC"
AND
/home/inst/php-5.0.3/ext/libxml/libxml.c:81: error: parse error before
"TSRMLS_DC"
/home/inst/php-5.0.3/ext/libxml/libxml.c:82: error: parse error before
"TSRMLS_DC"
/home/inst/php-5.0.3/ext/libxml/libxml.c:126: error: parse error before
"TSRMLS_DC"
/home/inst/php-5.0.3/ext/libxml/libxml.c: In function
`php_libxml_clear_object':
/home/inst/php-5.0.3/ext/libxml/libxml.c:128: error: `object' undeclared
(first use in this function)
/home/inst/php-5.0.3/ext/libxml/libxml.c:131: error: parse error before
"TSRMLS_CC"
/home/inst/php-5.0.3/ext/libxml/libxml.c:132: error: parse error before
"TSRMLS_CC"
/home/inst/php-5.0.3/ext/libxml/libxml.c: At top level:
/home/inst/php-5.0.3/ext/libxml/libxml.c:135: error: parse error before
"TSRMLS_DC"
Actual result:
--------------
problems
--
Edit bug report at http://bugs.php.net/?id=31799&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31799&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31799&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31799&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31799&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31799&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31799&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31799&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31799&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31799&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31799&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31799&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31799&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31799&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31799&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31799&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31799&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31799&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31799&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31799&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31799&r=mysqlcfg