From: mwp at internode dot on dot net Operating system: Linux 2.6.18 PHP version: 5.1.6 PHP Bug Type: Compile Failure Bug description: Failure on compiling libxml support
Description: ------------ Compiling PHP with: ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-zlib --with-bz2 --enable-exif --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --disable-pear Using GCC 4.1.1, libxml2-2.6.26 (compiled from source) fails in "ext/libxml/libxml.c". With: /bin/sh /data/backup/linux/php-5.1.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/libxml/ -I/data/backup/linux/php-5.1.6/ext/libxml/ -DPHP_ATOM_INC -I/data/backup/linux/php-5.1.6/include -I/data/backup/linux/php-5.1.6/main -I/data/backup/linux/php-5.1.6 -I/usr/include/libxml2 -I/data/backup/linux/php-5.1.6/ext/date/lib -I/usr/local/mysql/include/mysql -I/data/backup/linux/php-5.1.6/TSRM -I/data/backup/linux/php-5.1.6/Zend -I/usr/include -g -O2 -prefer-non-pic -c /data/backup/linux/php-5.1.6/ext/libxml/libxml.c -o ext/libxml/libxml.lo /data/backup/linux/php-5.1.6/ext/libxml/libxml.c: In function 'php_libxml_output_buffer_create_filename': /data/backup/linux/php-5.1.6/ext/libxml/libxml.c:397: warning: assignment makes pointer from integer without a cast /data/backup/linux/php-5.1.6/ext/libxml/libxml.c:399: error: dereferencing pointer to incomplete type /data/backup/linux/php-5.1.6/ext/libxml/libxml.c:400: error: dereferencing pointer to incomplete type /data/backup/linux/php-5.1.6/ext/libxml/libxml.c:401: error: dereferencing pointer to incomplete type /data/backup/linux/php-5.1.6/ext/libxml/libxml.c: In function 'zm_startup_libxml': /data/backup/linux/php-5.1.6/ext/libxml/libxml.c:603: error: 'XML_SAVE_NO_DECL' undeclared (first use in this function) /data/backup/linux/php-5.1.6/ext/libxml/libxml.c:603: error: (Each undeclared identifier is reported only once /data/backup/linux/php-5.1.6/ext/libxml/libxml.c:603: error: for each function it appears in.) make: *** [ext/libxml/libxml.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=39185&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39185&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39185&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39185&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39185&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39185&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39185&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39185&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39185&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39185&r=support Expected behavior: http://bugs.php.net/fix.php?id=39185&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39185&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39185&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39185&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39185&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39185&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39185&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39185&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39185&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39185&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39185&r=mysqlcfg