[xsd-users] error trying to build examples

Neeraj Vaidya neeraj.vaidya at yahoo.co.in
Wed Aug 21 09:18:09 EDT 2013


Hi,
 
I am using xsd on the Solaris 10 for SPARC platform. 
I have xercesc 3.1.1 installed, but when trying to build the hello example, I get the following error while linking the driver module.
Please help. The compilation goes through fine, though. Just the linker which starts complaining. The libxerces-c.so file is also present at the location passed to the g++ compiler, but not sure why the following symbols are showing up as "undefined".
 
Undefined                       first referenced
 symbol                             in file
xercesc_3_1::XMLAttDefList::serialize(xercesc_3_1::XSerializeEngine&)hello.o
xercesc_3_1::XMLAttDefList::getProtoType() const hello.o
typeinfo for xercesc_3_1::DOMLSExceptionhello.o
xercesc_3_1::InputSource::setSystemId(unsigned short const*)hello.o
xercesc_3_1::XMLUni::fgDOMElementContentWhitespace      hello.o
typeinfo for xercesc_3_1::BinInputStreamhello.o
xercesc_3_1::XMemory::operator delete(void*)hello.o
xercesc_3_1::XMLUni::fgDOMEntities      hello.o
xercesc_3_1::InputSource::~InputSource [not-in-charge]()hello.o
xercesc_3_1::BinInputStream::BinInputStream[not-in-charge]()hello.o
xercesc_3_1::BinInputStream::~BinInputStream [not-in-charge]()hello.o
xercesc_3_1::XMLUni::fgXercesUserAdoptsDOMDocument      hello.o
xercesc_3_1::InputSource::InputSource[not-in-charge](xercesc_3_1::MemoryManager*)hello.o
xercesc_3_1::XMLUni::fgXercesHandleMultipleImports      hello.o
typeinfo for xercesc_3_1::InputSourcehello.o
xercesc_3_1::InputSource::setPublicId(unsigned short const*)hello.o
xercesc_3_1::XMLUni::fgXercesLoadSchema      hello.o
xercesc_3_1::XMLPlatformUtils::Initialize(char const*, char const*, xercesc_3_1::PanicHandler*, xercesc_3_1::MemoryManager*)hello.o
xercesc_3_1::XMLUni::fgXercesSchemaFullChecking      hello.o
xercesc_3_1::InputSource::InputSource[not-in-charge](unsigned short const*, xercesc_3_1::MemoryManager*)hello.o
xercesc_3_1::Wrapper4InputSource::Wrapper4InputSource[in-charge](xercesc_3_1::InputSource*, bool, xercesc_3_1::MemoryManager*)hello.o
xercesc_3_1::XMemory::operator new(unsigned)hello.o
xercesc_3_1::XMLUni::fgXercesSchemaExternalNoNameSpaceSchemaLocation      hello.o
xercesc_3_1::XMLUni::fgDOMComments      hello.o
xercesc_3_1::XMLUni::fgXercescDefaultLocale      hello.o
xercesc_3_1::XMLUni::fgDOMValidate      hello.o
xercesc_3_1::XMLUni::fgXercesSchemaExternalSchemaLocation      hello.o
xercesc_3_1::Wrapper4InputSource::~Wrapper4InputSource [in-charge]()hello.o
xercesc_3_1::XMLUni::fgDOMNamespaces      hello.o
xercesc_3_1::DOMImplementationRegistry::getDOMImplementation(unsigned short const*)hello.o
xercesc_3_1::XMLUni::fgDOMErrorHandler      hello.o
xercesc_3_1::InputSource::setEncoding(unsigned short const*)hello.o
xercesc_3_1::XMLPlatformUtils::fgMemoryManager       hello.o
xercesc_3_1::XMLPlatformUtils::Terminate()     hello.o
xercesc_3_1::XMLAttDefList::isSerializable() const hello.o
xercesc_3_1::XMLUni::fgXercesSchema      hello.o
xercesc_3_1::XMLUni::fgDOMDatatypeNormalization      hello.o
ld: fatal: Symbol referencing errors. No output written to driver
collect2: ld returned 1 exit status


More information about the xsd-users mailing list