Help with Install of Xerces-c 2.4.0 for Solaris

J

Jim Phelps

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 XSerializeEngine.hpp :

"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.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/XSerializeEngine.hpp",
line 541: Error: No direct declarator preceding "(".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.hpp",
line 541: Error: Use ";" to terminate declarations.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.hpp",
line 546: Error: Use ";" to terminate declarations.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.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/XSerializeEngine.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/XSerializeEngine.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/XSerializeEngine.hpp",
line 663: Error: No direct declarator preceding "(".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.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/XSerializeEngine.hpp",
line 664: Error: Use ";" to terminate declarations.
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.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/XSerializeEngine.hpp",
line 665: Error: No direct declarator preceding "(".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.hpp",
line 667: Error: "," expected instead of ")".
"/opt/local/software/xerces/xerces-c2_4_0-solaris_27-cc_62/include/xercesc/internal/XSerializeEngine.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/XSerializeEngine.hpp",
line 702: Error: A declaration was expected instead of "}".
11 Error(s) and 4 Warning(s) detected.
gnu_make: *** [SchedUpdateSubscriber] Error 11

Any ideas on what I am doing wrong?

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top