php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4003 compile failure --with-dom
Submitted: 2000-04-01 18:25 UTC Modified: 2000-05-18 07:58 UTC
From: ruderstaller at cwd dot at Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 1 OS: Suse 6.4 Kernel 2.2.14
Private report: No CVE-ID: None
 [2000-04-01 18:25 UTC] ruderstaller at cwd dot at
Hi,

I have this failure with the Snapshot version (04/01/2000) too.

Making all in domxml
make[2]: Entering directory `/usr/local/src/php-4.0RC1/ext/domxml'
make[3]: Entering directory `/usr/local/src/php-4.0RC1/ext/domxml'
gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/php-4.0RC1/ext/domxml -I../.. -I../../Zend
-I/usr/local/src/php-4.0RC1 -I/usr/local/include -I/usr/local/include/freetype
-I/usr/local/src/php-4.0RC1/ext/mysql/libmysql -I/usr/local/src/php-4.0RC1/ext/xml/expat/xmltok
-I/usr/local/src/php-4.0RC1/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2 -Wall  -c
domxml.c && touch domxml.lo
domxml.c:710: warning: `#ifdef' argument starts with a digit
domxml.c: In function `php_if_domxml_children':
domxml.c:551: structure has no member named `children'
domxml.c:553: structure has no member named `children'
domxml.c:518: warning: `last' might be used uninitialized in this function
domxml.c: In function `php_if_domxml_attributes':
domxml.c:707: warning: implicit declaration of function `node_attributes'
domxml.c:680: warning: unused variable `attr'
domxml.c: In function `php_if_domxml_rootnew':
domxml.c:764: structure has no member named `children'
domxml.c:736: warning: `last' might be used uninitialized in this function
domxml.c: In function `php_if_domxml_root':
domxml.c:827: structure has no member named `children'
domxml.c:799: warning: `node' might be used uninitialized in this function
domxml.c: At top level:
domxml.c:1194: warning: `node_attributes' was declared implicitly `extern' and later
`static'
domxml.c:707: warning: previous declaration of `node_attributes'
domxml.c: In function `node_attributes':
domxml.c:1219: structure has no member named `children'
domxml.c: In function `node_children':
domxml.c:1277: structure has no member named `children'
domxml.c:1232: warning: unused variable `namespace'
domxml.c: In function `php_if_xmltree':
domxml.c:1315: structure has no member named `children'
domxml.c:1291: warning: unused variable `attributes'
domxml.c:1291: warning: unused variable `proot'
domxml.c:1293: warning: `root' might be used uninitialized in this function
domxml.c: At top level:
domxml.c:32: warning: `le_domxmlnsp' defined but not used
domxml.c:38: warning: `domxmltestnode_class_entry_ptr' defined but not used
domxml.c:84: warning: `php_domxmltestnode_class_functions' defined but not used
domxml.c:1155: warning: `node_namespace' defined but not used
make[3]: *** [domxml.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0RC1/ext/domxml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0RC1/ext/domxml'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0RC1/ext'
make: *** [all-recursive] Error 1
hydra:/usr/local/src/php-4.0RC1#

Same error as in http://bugs.php.net/version4/bugs.php?id=3967

my configure:
./configure --with-apache=../apache_1.3.12 --with-mysql --with-zlib \
--enable-sysvshm=yes --enable-sysvsem=yes --with-config-file-path=/etc \
--enable-url-includes --with-gd --with-pdflib=/usr/local/ --with-ttf \
--enable-xml --with-ftp --with-dom --enable-track-vars=yes  

cya
Ludwig

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-18 07:58 UTC] steinm at cvs dot php dot net
You should use libxml 2.0
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jul 13 23:00:01 2026 UTC