You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Steve Hathaway <sh...@e-z.net> on 2011/12/11 18:36:47 UTC
Re: Unsatisfied Symbol Error
On 11/24/2011 1:02 AM, Vinay Kumar wrote:
> Hi All,
>
> I am trying to build Xalan-1.10 with Xerces-C 2.8.0 library. I am
> using gcc(3.4.4) as C compiler and g++ as c++ compiler. I am building
> on HPUX Itanium Architecture, during build i am getting following error:
>
> ld: Unsatisfied symbol "xercesc_2_7::XMLPlatformUtils::Terminate()" in
> file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::XMLUni::fgSAX2CoreNameSpacePrefixes" in file
> ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLString::stringLen(char
> const*)" in file ../../../../obj/SAX2Handler.o
> ld: Unsatisfied symbol "xercesc_2_7::DTDEntityDecl::getProtoType()
> const" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLUni::fgXercesSchema" in file
> ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::SAXParseException::getSystemId()
> const" in file ../../../../obj/SAX2Handler.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLString::release(unsigned
> short**)" in file ../../../../obj/MsgFileOutputStream.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLString::release(char**)" in
> file ../../../../obj/MsgFileOutputStream.o
> ld: Unsatisfied symbol "typeinfo for xercesc_2_7::XMLException" in
> file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMemory::operator delete(void*)"
> in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::SAX2XMLReaderImpl::SAX2XMLReaderImpl(xercesc_2_7::MemoryManager*,
> xercesc_2_7::XMLGrammarPool*)" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::XMLPlatformUtils::fgMemoryManager" in file
> ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::SAXParseException::SAXParseException(xercesc_2_7::SAXParseException
> const&)" in file ../../../../obj/ICUResHandler.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLRefInfo::isSerializable()
> const" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLAttDefList::getProtoType()
> const" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::DTDEntityDecl::isSerializable()
> const" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::XMLAttDefList::serialize(xercesc_2_7::XSerializeEngine&)" in
> file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLUni::fgXercescDefaultLocale"
> in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::XMLUni::fgXercesSchemaFullChecking" in file
> ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLAttDefList::isSerializable()
> const" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLUni::fgXercesDynamic" in file
> ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLUni::fgSAX2CoreValidation" in
> file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::SAXParseException::getLineNumber() const" in file
> ../../../../obj/SAX2Handler.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLString::compareString(unsigned
> short const*, unsigned short const*)" in file
> ../../../../obj/ICUResHandler.o
> ld: Unsatisfied symbol "xercesc_2_7::XMemory::operator new(unsigned
> long, xercesc_2_7::MemoryManager*)" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::SAXParseException::~SAXParseException()" in file
> ../../../../obj/ICUResHandler.o
> ld: Unsatisfied symbol "typeinfo for xercesc_2_7::XMLEntityDecl" in
> file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol
> "xercesc_2_7::SAXParseException::getColumnNumber() const" in file
> ../../../../obj/SAX2Handler.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLPlatformUtils::Initialize(char
> const*, char const*, xercesc_2_7::PanicHandler*,
> xercesc_2_7::MemoryManager*, bool)" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMemory::operator delete(void*,
> xercesc_2_7::MemoryManager*)" in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLRefInfo::getProtoType() const"
> in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLUni::fgSAX2CoreNameSpaces" in
> file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "typeinfo for xercesc_2_7::SAXParseException"
> in file ../../../../obj/ICUResHandler.o
> ld: Unsatisfied symbol
> "xercesc_2_7::DTDEntityDecl::serialize(xercesc_2_7::XSerializeEngine&)" in
> file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLString::transcode(unsigned
> short const*)" in file ../../../../obj/MsgFileOutputStream.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLString::transcode(char
> const*)" in file ../../../../obj/MsgFileOutputStream.o
> ld: Unsatisfied symbol
> "xercesc_2_7::XMLRefInfo::serialize(xercesc_2_7::XSerializeEngine&)"
> in file ../../../../obj/MsgCreator.o
> ld: Unsatisfied symbol "xercesc_2_7::XMLEntityDecl::~XMLEntityDecl()"
> in file ../../../../obj/MsgCreator.o
> 38 errors.
> collect2: ld returned 1 exit status
> make[3]: *** [../../../../bin/MsgCreator] Error 1
>
> What are the reasons for getting this error? Please let me know the
> modifications to be done to compile it smoothly.
>
> Thanks & Regards,
> Vinay
>
Vinay,
You probably need to edit the configuration or makefiles. Your build is
trying to reference "xercesc_2_7" where you should probably reference
"xercesc_2_8".
Steven J. Hathaway