473,587 Members | 2,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

/usr/local/include/expat.h:971: error: conflicting types for 'XML_FEATURE_UN ICODE'

Jan
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_functi ons.c -o main/internal_functi ons.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_functi ons.c:53:
/usr/local/include/expat.h:971: error: conflicting types for
'XML_FEATURE_UN ICODE'
/usr/local/include/libxml2/libxml/parser.h:1196: error: previous definition
of 'XML_FEATURE_UN ICODE' 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'

Sep 7 '05 #1
0 1650

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2504
by: David Madore | last post by:
Hi! Anyone in for a Byzantine discussion on XML well-formedness? Here's the situation: test.xml contains --- test.xml: cut after --- <?xml version="1.0" encoding="us-ascii"?> <!DOCTYPE foobar > <foobar />
4
2423
by: Jeff Lambert | last post by:
I saw something similar on the sourceforge bugs list but it was from 2001 so I assume it's fixed by now. O/S: WinXP SP2 and WinCE. Expat lib linked in VC++ 6 SP6. I have the following XML (simplified for discussion purposes) The XML starts and ends with the braces. {
2
4972
by: Gabriel Schreiber | last post by:
Hi this code: #include <vector> void f() { struct arg{}; std::vector<arg> v; };
60
8245
by: Derrick Coetzee | last post by:
It seems like, in every C source file I've ever seen, there has been a very definite include order, as follows: - include system headers - include application headers - include the header associated with this source file For example, in a file hello.c: #include <stdio.h>
1
2660
by: Katja Suess | last post by:
Hi, may I have a hint what the problem is in my situation? Is it a syntax error in sweetone.odt or in xml.parsers.expat? Same problem with different file instead of sweetone.odt means that it's not the file that has a syntax error. xml.parsers.expat is a standard module that probably has no errors. So what could cause this error message?? Traceback (most recent call last): File "mytest.py", line 5, in ? r = c.convert(s,...
2
3732
by: dwelch91 | last post by:
Hi, c.l.p.'ers- I am having a problem with the import of xml.parsers.expat that has gotten me completely stumped. I have two programs, one a PyQt program and one a command line (text) program that both eventually call the same code that imports xml.parsers.expat. Both give me different results... The code that gets called is (print statements have been added for debugging):
3
2737
by: Tim H | last post by:
I'm newish to C++ but not to C. I'm confused by this code. test1() is fine. test2() fails to compile. /tmp/inherit_ptr.cpp: In function âvoid test2()â: /tmp/inherit_ptr.cpp:52: error: no matching function for call to âboost::shared_ptr<Base>::shared_ptr(test2()::Derived2*)â /usr/include/boost/shared_ptr.hpp:119: note: candidates are: boost::shared_ptr<T>::shared_ptr()
1
3474
by: Zbigniew | last post by:
Hi, Compiler: GCC 3.3.5 OS: SuSE Linux (Kernel: 2.6.11) I reorganized my source code and now almost all my header files went to "Include" folder. Now when compiling with -I option I have plenty of problems with system include files: "conflict with previous declaration"
1
1873
by: vadlapatlahari | last post by:
Hi, I get the following error with Expat while configuring my application server. Can anyone suggest a solution? When i do an ldd, i get the following : $ldd Expat.so Expat.so needs: /usr/lib/libc.a(shr.o) Cannot find /unix --- Is there a problem here? /usr/lib/libcrypt.a(shr.o)
0
7923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8221
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.