Hi, I built libxerces-c.a (XERCES 2.3.0 on solaris) using CC version 6.2 and the ar utility available in /usr/ccs/bin. Now, when I am link this to my application, I am getting the following symbol reference errors. Can any one suggest on how to solve these errors ?
/bin/bash ../../libtool --mode=link CC.sh +w2 -mt -g -xildoff -o libscs.la -rpath /home/qvebala/xmlWithPathan/sloth/install/lib -version-info 1:0:1 -export-dynamic msgq.lo atomic.lo static.lo msg_alloc.lo msgbuf.lo scsmodule.lo scstime.lo core.lo apilist.lo thread.lo module.lo octetstring.lo scheduler.lo linkarray.lo timer.lo timeout.lo timerdata.lo event.lo scsdata.lo ip.lo data_layout.lo console.lo command.lo serial.lo explain.lo api_base.lo cplist.lo connection.lo scsconfig.lo date.lo scslog.lo message.lo memblk.lo scslibrary.lo memory_mgr.lo scs_explain.lo trace.lo trigger.lo fileio.lo fdtrigger.lo scstrigger.lo scspoll.lo scssleep.lo freelist.lo polltbl.lo scs_stat.lo modstat.lo -L/home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib -lxerces-c -lkstat -lxnet -lsocket -lposix4 -lpthread -lnsl -ldl rm -fr .libs/libscs.la .libs/libscs.* .libs/libscs.* CC.sh -G -h libscs.0 -o .libs/libscs.0.1.0 msgq.lo atomic.lo static.lo msg_alloc.lo msgbuf.lo scsmodule.lo scstime.lo core.lo apilist.lo thread.lo module.lo octetstring.lo scheduler.lo linkarray.lo timer.lo timeout.lo timerdata.lo event.lo scsdata.lo ip.lo data_layout.lo console.lo command.lo serial.lo explain.lo api_base.lo cplist.lo connection.lo scsconfig.lo date.lo scslog.lo message.lo memblk.lo scslibrary.lo memory_mgr.lo scs_explain.lo trace.lo trigger.lo fileio.lo fdtrigger.lo scstrigger.lo scspoll.lo scssleep.lo freelist.lo polltbl.lo scs_stat.lo modstat.lo -L/home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib -lxerces-c -lkstat -lxnet -lsocket -lposix4 -lpthread -lnsl -ldl -lc (cd .libs && rm -f libscs.0 && ln -s libscs.0.1.0 libscs.0) (cd .libs && rm -f libscs && ln -s libscs.0.1.0 libscs) CC.sh -xar -o .libs/libscs.a msgq.o atomic.o static.o msg_alloc.o msgbuf.o scsmodule.o scstime.o core.o apilist.o thread.o module.o octetstring.o scheduler.o linkarray.o timer.o timeout.o timerdata.o event.o scsdata.o ip.o data_layout.o console.o command.o serial.o explain.o api_base.o cplist.o connection.o scsconfig.o date.o scslog.o message.o memblk.o scslibrary.o memory_mgr.o scs_explain.o trace.o trigger.o fileio.o fdtrigger.o scstrigger.o scspoll.o scssleep.o freelist.o polltbl.o scs_stat.o modstat.o ranlib .libs/libscs.a creating libscs.la (cd .libs && rm -f libscs.la && ln -s ../libscs.la libscs.la) CC.sh -DPACKAGE_NAME=\"sloth\" -DPACKAGE_TARNAME=\"sloth\" -DPACKAGE_VERSION=\"7.0\" -DPACKAGE_STRING=\"sloth\ 7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"sloth\" -DVERSION=\"7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -D_REENTRANT=1 -DHAVE_LIBDL=1 -DHAVE_LIBNSL=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPOSIX4=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBXNET=1 -DHAVE_LIBKSTAT=1 -DHAVE_STREAMBUF=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STREAMBUF=1 -DHAVE_SOCKLEN_T=1 -I. -I. -I../../scs/api -I../../app-apis -I../../app-apis -I../../scs/include -I../../scs/dns/include -I../../util/ioutil/include -I../../util/strutil/include -I../../util/sysinfo/include -I../../util/scsnet/include -I../../util/system/include -I../../util/xmlwrapper/include +w2 -mt -g -xildoff -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp /bin/bash ../../libtool --mode=link CC.sh +w2 -mt -g -xildoff -o loader -library=Cstd -staticlib=Cstd -zmuldefs -Wl, -Wl,-zallextract -Wl,-Bstatic -Wl,-L../../scs/sdr/src/.libs/ -Wl,-L../../scs/msgsocket/.libs/ -Wl,-L../../scs/dns/.libs/ -Wl,-L../../util/strutil/.libs/ -Wl,-L../../util/ioutil/.libs/ -Wl,-L../../util/system/.libs/ -Wl,-L../../util/sysinfo/.libs/ -Wl,-L../../util/scsnet/.libs/ -Wl,-L../../util/xmlwrapper/.libs/ -Wl,-lsdr -Wl,-lmsgsocket -Wl,-lsdns -Wl,-lstrutil -Wl,-lioutil -Wl,-lsystem -Wl,-lsysinfo -Wl,-lscsnet -Wl,-lxmlwrap -Wl,-L.libs -Wl,-lscs -Wl,-L/home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib -Wl,-lxerces-c -Wl, -Wl,-Bdynamic main.o -lkstat -lxnet -lsocket -lposix4 -lpthread -lnsl -ldl CC.sh +w2 -mt -g -xildoff -o loader -staticlib=Cstd -zmuldefs -Wl,-zallextract -Wl,-Bstatic -Wl,-L../../scs/sdr/src/.libs/ -Wl,-L../../scs/msgsocket/.libs/ -Wl,-L../../scs/dns/.libs/ -Wl,-L../../util/strutil/.libs/ -Wl,-L../../util/ioutil/.libs/ -Wl,-L../../util/system/.libs/ -Wl,-L../../util/sysinfo/.libs/ -Wl,-L../../util/scsnet/.libs/ -Wl,-L../../util/xmlwrapper/.libs/ -Wl,-lsdr -Wl,-lmsgsocket -Wl,-lsdns -Wl,-lstrutil -Wl,-lioutil -Wl,-lsystem -Wl,-lsysinfo -Wl,-lscsnet -Wl,-lxmlwrap -Wl,-L.libs -Wl,-lscs -Wl,-L/home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib -Wl,-lxerces-c -Wl,-Bdynamic main.o -library=Cstd -lkstat -lxnet -lsocket -lposix4 -lpthread -lnsl -ldl Undefined first referenced symbol in file XMLElementDecl::~XMLElementDecl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(vKPVuzu8YT0csUHIxEDT.o) XMLException::XMLException #Nvariant 1(const char*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(1rrfqrPxaBAKbmLjrAoM.o) SchemaElementDecl::~SchemaElementDecl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(q0-cp1HrZrJ1KUTSO8JK.o) XMLException::~XMLException #Nvariant 1() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(1rrfqrPxaBAKbmLjrAoM.o) XMLChTranscoder::XMLChTranscoder(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(7lYISTItncKfL7RF181b.o) IC_KeyRef::~IC_KeyRef() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(HeXIZmRmLFn_nLxhlk5L.o) unsigned XMLString::hash(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(5B7joVWFATCQgXH9zuXs.o) ComplexTypeInfo::~ComplexTypeInfo() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(dZNeLe0ZG6pa3Q7VIIeL.o) void XMemory::operator delete(void*,MemoryManager*) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(X3saQsNm8DGOB32kNR3w.o) HashXMLCh::HashXMLCh() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(X3saQsNm8DGOB32kNR3w.o) XMLStringPool::PoolElem::~PoolElem() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(M4KZ8zUvQ2y-WeCsMOn7.o) HashPtr::HashPtr() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(ORo8N0hPS8u4n8R7OiDy.o) XMLWin1252Transcoder::XMLWin1252Transcoder(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(3mdA2lq5jE2xF9F3kmFj.o) XPathMatcher::~XPathMatcher() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(CQMGkMNlHD0o99tnltxW.o) XMLUni::fgArrayIndexOutOfBoundsException_Name /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(6Iq1dTI0mijhUX3aRyPy.o) [Hint: static member XMLUni::fgArrayIndexOutOfBoundsException_Name must be defined in the program] KVStringPair::~KVStringPair() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(5Pd48epJZ2Q4Pbu4mOgl.o) XercesGroupInfo::~XercesGroupInfo() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(3hnVzeTwb32sHQ0DsZ9S.o) void*XMemory::operator new(unsigned,MemoryManager*) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(X3saQsNm8DGOB32kNR3w.o) DOMRangeImpl::~DOMRangeImpl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(wmimCKFQRi_ytrQw4CWl.o) XMLNotationDecl::~XMLNotationDecl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(nqGKZI0WgjqH62-vyxeB.o) ValueStore::~ValueStore() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(sR9K91fdnCCPZ68pCKAn.o) DOM_Node::~DOM_Node() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(l4o1KTbozl6cxTXQhEKq.o) XMLUni::fgNullPointerException_Name /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(tBig8VA8sdigQHXOeV9-.o) [Hint: static member XMLUni::fgNullPointerException_Name must be defined in the program] XMLUni::fgRuntimeException_Name /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(1rrfqrPxaBAKbmLjrAoM.o) [Hint: static member XMLUni::fgRuntimeException_Name must be defined in the program] IC_Field::~IC_Field() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(4OUAAJgst0CMUnrO1pUF.o) DOMNodeIteratorImpl::~DOMNodeIteratorImpl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(GasthCMAo2Ml9a7RC04-.o) XMLUTF16Transcoder::XMLUTF16Transcoder(const unsigned short*const,const unsigned,const bool) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(phfDi38khHBW_Ac6ZQYb.o) DOMNormalizer::InScopeNamespaces::Scope::~Scope() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(Zi4hXE1RTfGzI8csDwnv.o) XMLEBCDICTranscoder::XMLEBCDICTranscoder(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(yVoxUE6ADaA-BSNtdmnu.o) void XMLAttr::cleanUp() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(kxRYr6pKvRoTwMmndK6t.o) RefCountedImpl::~RefCountedImpl #Nvariant 1() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(QTFgcmGsloItwIdE8BB0.o) DTDElementDecl::~DTDElementDecl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(FWGbDKfXHsb-ZlvcGJF7.o) XML88591Transcoder::XML88591Transcoder(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(EqjV9LKLY32N4pY_vwCd.o) XMLReader::~XMLReader() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(WAvujS33B4t60Z-89iZ_.o) DTDAttDef::~DTDAttDef() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(fDrMsoqUfBYVtkKFFMmm.o) XMLAttDef::~XMLAttDef() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(8SkwQYS0tMvsprKN4AId.o) RegularExpression::Context::~Context() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(nhvigtUP0cMZQtBpManU.o) unsigned short*QName::getRawName() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(vQ7-_OWUxz7kCB3e7aOW.o) XMLEntityDecl::~XMLEntityDecl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(nJ0crJNhjHCHbT0kM_Go.o) DOMDeepNodeListImpl::~DOMDeepNodeListImpl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(oNmDeSI7D2hCNR9z8QuX.o) XMLASCIITranscoder::XMLASCIITranscoder(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(VrEdZueQ9HOObqEelq7f.o) NodeIteratorImpl::~NodeIteratorImpl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(Omfbqxx0G8zabcq6a-0A.o) RegxParser::~RegxParser() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(_4bXxPpRpRCh8E9waxr4.o) IC_Unique::~IC_Unique() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(wlWdvuijBgeVXm1oopRy.o) XMLPlatformUtils::fgMemoryManager /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(ORo8N0hPS8u4n8R7OiDy.o) [Hint: static member XMLPlatformUtils::fgMemoryManager must be defined in the program] QName::~QName() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(eIxTee-cCvwm1_7K9nUx.o) XMLIBM1140Transcoder::XMLIBM1140Transcoder(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(mgghj3CpGb_iQYDS9vHX.o) XMLUni::fgEmptyStackException_Name /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(5BjVkSC4hmp9h9e36QpT.o) [Hint: static member XMLUni::fgEmptyStackException_Name must be defined in the program] XercesAttGroupInfo::~XercesAttGroupInfo() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(H15LBjJX7XubXho4LxxQ.o) RangeTokenElemMap::~RangeTokenElemMap() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(uCMPzFeDM_iiTgvd178K.o) DOMDocumentImpl::~DOMDocumentImpl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(4DE-eRLRcw4swGTBj8Mm.o) SchemaInfo::~SchemaInfo() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(3WkYAv5jrl2_it6kmKTn.o) XMLDateTime::~XMLDateTime() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(ESHVZh-n70t0t782fG0h.o) IC_Key::~IC_Key() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(zJqSEDQ3ESf9Xmz3ucLQ.o) XMLUni::fgIllegalArgumentException_Name /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(0SnciLRxW6vkxV0B7zR_.o) [Hint: static member XMLUni::fgIllegalArgumentException_Name must be defined in the program] Token::~Token() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(GPZGVe63KScb2DLR2-jx.o) DOM_Node::DOM_Node(const DOM_Node&) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(l4o1KTbozl6cxTXQhEKq.o) DOM_Node&DOM_Node::operator=(const DOM_Node&) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(hOjIYGx9fBdJ9I_fvyoS.o) void XMLException::loadExceptText(const XMLExcepts::Codes,const unsigned short*const,const unsigned short*const,const unsigned short*const,const unsigned short*const) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(vQ7-_OWUxz7kCB3e7aOW.o) InputSource::~InputSource() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(ZzatNwbsPNB64IRGViGd.o) XMLUCS4Transcoder::XMLUCS4Transcoder(const unsigned short*const,const unsigned,const bool) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(5_NlF5jckzmNQWBD6X1y.o) XMLUni::fgNoSuchElementException_Name /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(BpNv4cnFgXBnMvC2VZb9.o) [Hint: static member XMLUni::fgNoSuchElementException_Name must be defined in the program] FieldValueMap::~FieldValueMap() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(fejY0pq-cCiCQ5UCGp0T.o) XMLException::XMLException #Nvariant 1(const XMLException&) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(1rrfqrPxaBAKbmLjrAoM.o) DatatypeValidator::~DatatypeValidator() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(TOCM5njfzWT9P3rznECg.o) XMLUTF8Transcoder::XMLUTF8Transcoder(const unsigned short*const,const unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(KZazRdagWjzauWx0fTfu.o) IdentityConstraint::~IdentityConstraint() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(BVKrP-Rp39AOw01ObmgO.o) RangeFactory::~RangeFactory() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(EmvWL3rqsrzBDvhCvR99.o) void XMLException::loadExceptText(const XMLExcepts::Codes) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(1rrfqrPxaBAKbmLjrAoM.o) NodeImpl::~NodeImpl() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(G5kW2GoqESQAAKupgx3r.o) XMLFormatter::~XMLFormatter() /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(G9XQqI0iMkjJl2T846Jk.o) void*XMemory::operator new(unsigned) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(1rrfqrPxaBAKbmLjrAoM.o) void XMemory::operator delete(void*) /home/qvebala/xmlWithPathan/xerces-c-src_2_3_0/lib/libxerces-c.a(irFLvLWUzixb2N7nl4ag.o) ld: fatal: Symbol referencing errors. No output written to loader gmake[3]: *** [loader] Error 1 gmake[3]: Leaving directory `/home/qvebala/xmlWithPathan/sloth/scs/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/home/qvebala/xmlWithPathan/sloth/scs/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/qvebala/xmlWithPathan/sloth/scs' gmake: *** [all-recursive] Error 1 bash-2.03$ Thanks & Regards, Ramesh. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
