Title: Message
Hi,
 
After overcoming namespace problem (by forcing it to null), we are having undefined references problems.  The symbols in Xerces-c library when built with Intel8.1 compile (icc) have cryptic format like those when built with gcc.  When we try to build our application using icc, it could not find symbols with standard C++ format i.e. "class::function."  Although nm shows all the classes and functions present in libxerces-c.so but concatenated in a cryptic way (like those built with gcc).  We can build our application on IBM AIX systems  where nm shows that all the symbols have class::member format. 
 
Another thing we noticed that "runConfigure -plinux -cicc -xicc" says somthing like "...icc is not a cross-compiler ... are we using gcc....yes"
 
Do you think Xerces-c should work on Red Hat Enterprise Linux using Intel8.1 compiler?   If not we rather stop trying it.  Thaks for your time.
 
Mollick A. Arefin
Software Engineer
Raytheon Systems Company
Contractor, Army Research Laboratory MSRC
Aberdeen Proving Ground, Maryland 21001
410.278.5698
 
-----Original Message-----
From: Arefin, Mollick (Cont, ARL/CISD)
Sent: Friday, February 25, 2005 4:52 PM
To: 'xerces-c-dev@xml.apache.org'
Subject: Xerces-c namespace problem on Red Hat Enterprise Linux using Intel8.1 compiler

Dear Xereces-c team,
 
We have built xerces-c on our Red Hat Enterprise Linux AS 3.0 with a 2.4.21 kernel using Intel8.1 compiler.  Then while compiling our application, we got many undefined symbols as below.  Looks like it's a namespace problem caused by XERCES_CPP_NAMESPACE_BEGIN in xercesc/util/XMLUniDefs.hpp file.  We checked our include directories (-I<dirs>), we found no problem.  This happens with or without CPPDEFINE = -DXERCES_HAS_CPP_NAMESPACE in our makefile.  Please help.  Thanks for your help and time.
 
 
mpiCC -g -c99  -DLINUX -DVXML_MPI \
        -I/home/army/mollick/betsyr/linux/Include -I/usr/cta/unsupported/xerces/2.6.0/include -c CEUtils.cpp
/home/army/mollick/betsyr/linux/Include/VXMLTags.h(8): error: identifier "chLatin_C" is undefined
      chLatin_C, chLatin_o, chLatin_d, chLatin_e, chLatin_T,

/home/army/mollick/betsyr/linux/Include/parserParameter.h(42): error: name followed by "::" must be a class or namespace name
        XercesDOMParser::ValSchemes    gValScheme;
        ^
 
/home/army/mollick/betsyr/linux/Include/parserParameter.h(48): error: name followed by "::" must be a class or namespace name
        XMLFormatter::UnRepFlags gUnRepFlags;
        ^
 
/home/army/mollick/betsyr/linux/Include/parserParameter.h(69): error: identifier "XercesDOMParser" is undefined
        void SetParserParameters( XercesDOMParser *parser );
                                  ^
 
/home/army/mollick/betsyr/linux/Include/XMLTagToFunction.h(205): error: identifier "DOMNodeList" is undefined
        void UpdateFunctionTableFromXML( DOMNodeList *functionList );
 
Mollick A. Arefin
Software Engineer
Raytheon Systems Company
Contractor, Army Research Laboratory MSRC
Aberdeen Proving Ground, Maryland 21001
410.278.5698
 
 

Reply via email to