You are here: expat.h:971: error: conflicting types for 'XML_FEATURE_UNICODE' « PHP Language « IT news, forums, messages
expat.h:971: error: conflicting types for 'XML_FEATURE_UNICODE'

Posted by Jan on 09/07/05 19:30

While building PHP 4.4.0 on a fresh installed FreeBSD 5.4 I get the
following error:

www# /bin/sh
/usr/home/c/console/toolscon/web/2/php-4.4.0/libtool --silent --preserve-dup-deps
--mode=compile
gcc -Imain/ -I/usr/home/c/console/toolscon/web/2/php-4.4.0/main/ -DPHP_ATOM_INC
-I/usr/home/c/console/toolscon/web/2/php-4.4.0/include -I/usr/home/c/console/toolscon/web/2/php-4.4.0/main
-I/usr/home/c/console/toolscon/web/2/php-4.4.0 -I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include/freetype2 -I/usr/local/include/mysql -I/usr/home/c/console/toolscon/web/2/php-4.4.0/ext/xml/expat
-I/usr/home/c/console/toolscon/web/2/php-4.4.0/TSRM -I/usr/home/c/console/toolscon/web/2/php-4.4.0/Zend
-g -O2 -c main/internal_functions.c -o main/internal_functions.lo
In file included from
/usr/home/c/console/toolscon/web/2/php-4.4.0/ext/wddx/php_wddx.h:26,
from main/internal_functions.c:53:
/usr/local/include/expat.h:971: error: conflicting types for
'XML_FEATURE_UNICODE'
/usr/local/include/libxml2/libxml/parser.h:1196: error: previous definition
of 'XML_FEATURE_UNICODE' was here'\

How to solve this? Any ideas? what is causing the problem?

The configure line:

'./configure' '--with-apxs2=/usr/local/apache/bin/apxs'
'--with-mysql=/usr/local' '--with-ttf' '--enable-memory-limit'
'--enable-track-vars' '--with-gd' '--with-jpeg-dir=/usr/local'
'--with-tiff-dir=/usr/local' '--with-png-dir=/usr/local' '--enable-bcmath'
'--enable-versioning' '--enable-trans-sid' '--with-zlib' '--with-xml'
'--enable-gd-imgstrttf' '--with-mcrypt' '--enable-calendar' '--with-mhash'
'--enable-ftp' '--with-curl=/usr/local/include/curl' '--with-xml'
'--with-dom=/usr/local' '--enable-wddx' '--with-sablot=/usr/local'
'--with-expat=/usr/local' '--enable-xslt' '--with-xslt-sablot'
'--with-dom-xslt=/usr/local' '--with-openssl=/usr/local' '--disable-cgi'
'--with-freetype-dir=/usr/local' '--enable-exif' '--with-gettext'
'--with-bz2'

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация