Peng Liang wrote:
Hi folks,

I got some issues in compiling Xalan 1.10 and Xerces2.7 with sun studio 11 compiler on Solaris 10/UltraSPARC IV. Seems that the C++ syntax cannot be recognized by the compiler. The $PATH has be set already. Looks like some head file are not really included, or some macro need to be defined/undefined. Any hints? The error messages are as follows. Thanks in advance.

*** Start compiling the C code(s):

xml_class.cpp xml_common.cpp xml_fml2xml.cpp xml_gxform.cpp xml_xml2fml.cpp xsl_cache.cpp xml_init.cpp

CC -I/app/oraclient/920/precomp/public -I/app/bea/tuxedo8.1/include -I/staglib/ELK/consolidated/include -I/opt/mqm/inc \

-I/staglib/ELK/consolidated/xml-xalan1.10/c/src -I/staglib/ELK/consolidated/xml-xerces2.7/include -c -DSVC_TEMPLATE_MAIN -L/app/bea/tuxedo8.1/lib xml_init.cpp

"/staglib/ELK/consolidated/xml-xalan1.10/c/src/xalanc/PlatformSupport/XalanLocator.hpp", line 48: Error: "," expected instead of "size_type".

"/staglib/ELK/consolidated/xml-xalan1.10/c/src/xalanc/PlatformSupport/XalanLocator.hpp", line 50: Error: Use ";" to terminate declarations.


These error seem to indicate the Xerces-C header files are corrupt. Were you able to build Xerces-C successfully? If not, then there's no point in trying to build Xalan-C. If you were able to build Xerces-C, then something must have happened to the header files when they were being copied.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to