Hi Parveen, Parveen Kumar Jain <[email protected]> writes:
> I am trying to use xerces_3.1.0 on Linux Platform version redhat 5.0.I Cal > compile the source code without any problem.And also I can see the resultant > .lib files in "/usr/local/lib".Following are the lib files I can see at this > path after compilation > > [...] > > /ASXmlHandler.cpp:22: undefined reference to > `xercesc_2_8::XMLString::transcode(unsigned short const*)' This indicates that while you have Xerces-C++ 3.1.0 installed, your application for some reason is compiled against 2.8.0. The most likely cause is the presence of Xerces-C++ 2.8.0 headers in your system someplace where the C++ compiler looks before /usr/local/include (maybe in /usr/include?). Try verifying there is the /usr/local/include/xercesc directory with Xerces-C++ headers on your computer and try adding -I/usr/local/include as the first option to your C++ compiler. Boris -- Boris Kolpackov, Code Synthesis http://codesynthesis.com/~boris/blog Open-source XML data binding for C++ http://codesynthesis.com/products/xsd XML data binding for embedded systems http://codesynthesis.com/products/xsde Command line interface to C++ compiler http://codesynthesis.com/projects/cli
