#19254 [Opn->Fbk]: --with-dom does not compile with libxml2-2.4.24
| From: | chregu@php.net | Date: | Thu, 05 Sep 2002 18:09:41 +0000 |
| Subject: | #19254 [Opn->Fbk]: --with-dom does not compile with libxml2-2.4.24 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18502@lists.php.net to get a copy of this message | ||
ID: 19254
Updated by: chregu@php.net
Reported By: michael.mauch@gmx.de
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4CVS-2002-09-05
New Comment:
you have most certainly an old libxml2 installation lying around (your
error memssages are typical for old libxml2). please delete all old
reference (especially the header files)
and test it again
chregu
Previous Comments:
------------------------------------------------------------------------
[2002-09-05 12:58:05] michael.mauch@gmx.de
With php4-STABLE-200209050900, configured --with-dom --with-zlib, using
the latest libxml2 (2.4.24, see
ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/),
the compilation
fails:
gcc -I. -I/usr/local/src/php4-STABLE-200209050900/ext/domxml
-I/usr/local/src/php4-STABLE-200209050900/main
-I/usr/local/src/php4-STABLE-200209050900
-I/usr/local/src/php4-STABLE-200209050900/Zend -I/usr/local/include
-I/usr/local/include/libxml2
-I/usr/local/src/php4-STABLE-200209050900/ext/mysql/libmysql
-I/usr/local/src/php4-STABLE-200209050900/ext/xml/expat
-I/usr/local/src/php4-STABLE-200209050900/TSRM -g -O2 -c php_domxml.c
&& touch php_domxml.lo
php_domxml.c: In function `zif_domxml_doc_get_element_by_id':
php_domxml.c:2695: warning: passing arg 2 of `xmlHashScan' from
incompatible pointer type
php_domxml.c: In function `zif_domxml_doc_ids':
php_domxml.c:3313: warning: passing arg 2 of `xmlHashScan' from
incompatible pointer type
php_domxml.c: In function `zif_xmldoc':
php_domxml.c:3330: `xmlDoValidityCheckingDefaultValue' undeclared
(first use in this function)
php_domxml.c:3330: (Each undeclared identifier is reported only once
php_domxml.c:3330: for each function it appears in.)
php_domxml.c:3346: `xmlLoadExtDtdDefaultValue' undeclared (first use in
this function)
make[3]: *** [php_domxml.lo] Fehler 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19254&edit=1