From: mark at securehosting dot com
Operating system: RedHat
PHP version: 4.3.8
PHP Bug Type: Compile Failure
Bug description: Make Error in DOMXML
Description:
------------
Using Sun Cobalt RAQ 550 with upgraded libxml2 (libxml2-2.6.11-1,
libxml2-devel-2.6.11-1) and the configure line
CC=/usr/sg/bin/gcc ./configure --prefix=/usr/local/php-cli --with-zlib
--with-curl=/usr/local/ --enable-xml --with-xml=/usr,shared
--with-dom=/usr/lib/ --disable-cgi
Which runs fine. Then upon make I receive the following error:
Reading makefiles...
Updating goal targets....
File `all' does not exist.
File `sapi/cli/php' does not exist.
File `ext/domxml/php_domxml.lo' does not exist.
Must remake target `ext/domxml/php_domxml.lo'.
/usr/sg/bin/gcc -Iext/domxml/ -I/tmp/php-4.3.8/ext/domxml/ -DPHP_ATOM_INC
-I/tmp/php-4.3.8/include -I/tmp/php-4.3.8/main -I/tmp/php-4.3.8
-I/tmp/php-4.3.8/Zend -I/usr/local//include -I/usr/include/libxml2
-I/tmp/php-4.3.8/ext/xml/expat -I/tmp/php-4.3.8/TSRM -g -O2 -c
/tmp/php-4.3.8/ext/domxml/php_domxml.c -o ext/domxml/php_domxml.o && echo
> ext/domxml/php_domxml.lo
/tmp/php-4.3.8/ext/domxml/php_domxml.c: In function
`zif_domxml_node_append_child':
/tmp/php-4.3.8/ext/domxml/php_domxml.c:2468: warning: assignment makes
pointer from integer without a cast
/tmp/php-4.3.8/ext/domxml/php_domxml.c: In function
`zif_domxml_doc_imported_node':
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3727: warning: assignment makes
pointer from integer without a cast
/tmp/php-4.3.8/ext/domxml/php_domxml.c: In function
`domxml_document_parser':
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3936: `XML_COMPLETE_ATTRS'
undeclared (first use in this function)
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3936: (Each undeclared identifier
is reported only once
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3936: for each function it appears
in.)
make: *** [ext/domxml/php_domxml.lo] Error 1
I've been fighting this for 2 days now and no matter what I try I can't
find any resolution.
--
Edit bug report at http://bugs.php.net/?id=30109&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30109&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30109&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30109&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30109&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30109&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30109&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30109&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30109&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30109&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30109&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30109&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30109&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30109&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30109&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30109&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30109&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30109&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30109&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30109&r=mysqlcfg