473,779 Members | 2,062 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with Install of Xerces-c 2.4.0 for Solaris

After having memory leak issues with Xerces-c 2.3.0 for Solaris 2.7
for CC 6.2 I have decided to update to at least 2.4. I have
downloaded the binary tarball and have installed it on my development
server, which runs Solaris 2.8. I do use CC 6.2 for my compiler. I
have reset all the environment variables in Korn shell that point to
the Xerces distribution.

When I try to compile the same piece of code that compiles fine under
Xerces 2.3 the compiler spits back the following errors compiling
against 2.4 regarding the XSerializeEngin e.hpp :

"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 541: Warning: Too many arguments in macro Assert.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 541: Error: No direct declarator preceding "(".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 541: Error: Use ";" to terminate declarations.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 546: Error: Use ";" to terminate declarations.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 652: Warning: Too many arguments in macro Assert.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 657: Warning: Too many arguments in macro Assert.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 663: Warning: Too many arguments in macro Assert.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 663: Error: No direct declarator preceding "(".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 664: Error: A declaration does not specify a tag or an
identifier.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 664: Error: Use ";" to terminate declarations.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 664: Error: A declaration was expected instead of "{".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 665: Error: No direct declarator preceding "(".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 667: Error: "," expected instead of ")".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 670: Error: A declaration was expected instead of "}".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngin e.hpp",
line 702: Error: A declaration was expected instead of "}".
11 Error(s) and 4 Warning(s) detected.
gnu_make: *** [SchedUpdateSubs criber] Error 11

Any ideas on what I am doing wrong?

Thanks in advance.
Jul 20 '05 #1
0 1853

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

Similar topics

0
4272
by: bugbear | last post by:
Subject pretty much says it all. I'd like to parse XML (duh!) using Xerces (because its fast, and reliable, and comprehensive, and supports lots of features). I'd like to conform to standards as much as possible, so I'd like to call Xerces under the JAXP API. I'd like to validate the XML against a DTD, so that errors are flagged up to the user, and I can transcribe
2
2719
by: Bekkali Hicham | last post by:
hi, i have downloaded the latest version 2.4 of Xerces, and unziped it, i end up with a diectory hierarchy like this c:\xerces-2_4_0\XercesImpl.jar c:\xerces-2_4_0\XercesSamples.jar c:\xerces-2_4_0\xml-apis.jar c:\xerces-2_4_0\xmlParserAPIS.jar c:\xerces-2_4_0\data c:\xerces-2_4_0\docs c:\xerces-2_4_0\samples there is no bin directory, my question is :
4
11554
by: David | last post by:
Hello , I'm trying to parse an XML document a get spicific tags such as email in the code below. I'm using xerces 2.4. However I don't manage to get the value for the email. Can anybody help. thanks in advance, david ---------------
0
3091
by: Waseem | last post by:
Hi I have looked and tried everything and i still cant sort this out i have no idea why this wont work I am using Xerces Perl on Windows and Debian to try this and it wont work on both of them. Basically i am tryin to do simple tree transversale and get the node values out
1
1754
by: CB | last post by:
I am using xerces 2.5.0 and xalan 2.6.0, and am following the xinclude instructions on the xerces faq at http://xml.apache.org/xerces2-j/faq-xinclude.html, and I am having no luck. I imagine I must be missing something fundamental, can someone point it out, please? Here are all the gory details; ---- command line ----
5
14063
by: Aleksandar Matijaca | last post by:
Hi there, I am in some need of help. I am trying to parse using the apache sax parser a file that has vaid UTF-8 characters - I keep end up getting a sun.io.MalformedInputException error. This is my code:
18
7739
by: jacksu | last post by:
I have a simple program to run xpath with xerces 1_2_7 XPathFactory factory = XPathFactory.newInstance(); XPath xPath = factory.newXPath(); XPathExpression xp = xPath.compile(strXpr); System.out.println(xp.evaluate(new InputSource(new FileInputStream("a.xml"))));
2
3409
by: Vlad Zorinov | last post by:
I'm getting the following error after a couple of months of XML processing, using Xerces 2.0.0 in an apache tomcat. Does anyone have any ideas what this problem may be or what I should do to solve it? cheers, Vlad The exception is... tv.ditg.sdl.ParsingException: tv.ditg.sdl.ParsingException:
3
1942
by: Raphael Tagliani | last post by:
(english version below) Bonjour! Je travaille sur un gros projet java, qui parse beaucoup de fichiers xml au lancement d'un serveur. Nous avons un problème de concurrence qu lancement. En fait, il s'agit d'une erreur Xerces FWK005, et nous sommes incapables de trouver d'où elle provient dans le code. Nous avons déjà essayé de rendre toutes les méthodes qui appellent Xerces synchronized, mais celà
9
3020
by: mstilli | last post by:
Hi, I am trying to use schema for server side validation using xerces to catch the validation errors. validating this XML: <Content4> <textarea13></textarea13> <binaryobject3></binaryobject3>
0
10306
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...
1
10074
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
9930
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
6724
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();...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
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.