- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: libxerces-c-3.0.sl aCC compilation problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 09:58 PM
тАО10-06-2009 09:58 PM
libxerces-c-3.0.sl aCC compilation problem
I am trying to compile the c++ source on aCC 6.22 compiler. I am using the xerces 3.0.
The source is getting compiled however when its trying to link its giving number of linker errors.
Here is snapshot of the source which i am compiling,
/opt/aCC/bin/aCC -I/opt/dev/program/BIA/OneCode/common/include -I/opt/dev/program/BIA/OneCode/common/include_local -I/opt/dev/program/BIA/OneCode/bsl/include -I/opt/dev/program/BIA/OneCode/bsl/src/xmlutils -I/opt/dev/program/BIA/common/include -I/opt/dev/program/xerces-c1/include -I. -I/opt/tuxdir/tuxedo8.1/include -g0 -AP -v +z +DD32 -c AC_server.cpp
/opt/aCC/lbin/ecom -architecture 32 -ia64abi all -inst compiletime -sysdir /usr/include -inline_power 1 -link_type dynamic -fpeval float -fpevaldec _Decimal32 -tls_dyn on -target_os 11.23 -I/opt/dev/program/BIA/OneCode/common/include -I/opt/dev/program/BIA/OneCode/common/include_local -I/opt/dev/program/BIA/OneCode/bsl/include -I/opt/dev/program/BIA/OneCode/bsl/src/xmlutils -I/opt/dev/program/BIA/common/include -I/opt/dev/program/xerces-c1/include -I. -I/opt/tuxdir/tuxedo8.1/include --sys_include /opt/aCC/include --sys_include /opt/aCC/include/iostream --sys_include /usr/include --sys_include /usr -D_HP_IA64ABI -D_BIND_LIBCALLS -D_Math_errhandling=MATH_ERREXCEPT -D__hpux -D__unix -D__ia64=1 -D__ia64__=1 -D_BIG_ENDIAN=1 -D__STDCPP__ -D_ILP32 -D__cplusplus=199711L -D__HP_aCC=62200 -D_HP_INSTANTIATE_T_IN_LIB -D_INLINE_ASM -D_FLT_EVAL_METHOD=0 -D_DEC_EVAL_METHOD=0 -debug debugG -ucode hdriver=optlevel%1% -plusolistoption -Ol06all! -plusolistoption -Ol13moderate! -plusooption -Oq01,al,ag,cn,sz,ic,vo,Mf,Po,es,rs,Rf,Pr,sp,in,cl,om,vc,pi,fa,pe,rr,pa,pv,nf,cp,lx,Pg,ug,lu,lb,uj,dn,sg,pt,kt,em,np,ar,rp,dl,fs,bp,wp,pc,mp,lr,cx,cr,pi,so,Rc,fa,ft,fe,ap,st,lc,Bl,sr,Qs,do,ib,pl,sd,ll,rl,dl,Lt,ol,fl,lm,ts,rd,dp,If! AC_server.cpp
============== Linker Errors
ld: Unsatisfied symbol "XMLException::~XMLException()(base)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "SAXParseException::getSystemId() const" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]
ld: Unsatisfied symbol "XMLString::transcode(unsigned short const*)" in file RCSIXMLRequest.o
ld: Unsatisfied symbol "type info of XMLException" in file RCSIXMLRequest.o
ld: Unsatisfied symbol "XMLUni::fgSAX2XercesSchema" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "XMLUni::fgSAX2CoreNameSpacePrefixes" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "SAXParseException::getLineNumber() const" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]
ld: Unsatisfied symbol "MemBufInputSource::MemBufInputSource(unsigned char const*,unsigned int,char const*,bool)(complete)" in file RCSIXMLRequest.o
ld: Unsatisfied symbol "SAXParseException::getColumnNumber() const" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]
ld: Unsatisfied symbol "XMLUni::fgNoSuchElementException_Name" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "MemBufInputSource::~MemBufInputSource()(complete)" in file RCSIXMLRequest.o
ld: Unsatisfied symbol "XMLException::loadExceptText(XMLExcepts::Codes)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "XMLUni::fgSAX2XercesSchemaFullChecking" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "XMLUni::fgSAX2CoreValidation" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "XMLException::XMLException(char const*,unsigned int)(base)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "XMLException::XMLException(XMLException const&)(base)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "SAX2XMLReaderImpl::SAX2XMLReaderImpl()(complete)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
ld: Unsatisfied symbol "SAXParseException::SAXParseException(SAXParseException const&)(complete)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]
ld: Unsatisfied symbol "XMLPlatformUtils::Initialize()" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]
19 errors.
Many Thanks in Advace.
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 12:07 AM
тАО10-07-2009 12:07 AM
Re: libxerces-c-3.0.sl aCC compilation problem
Any reason you aren't using the default -AA on Integrity?
ld: Unsatisfied symbol "XMLException::~XMLException()(base)"
Where do you expect all these unsats to be defined? Are you missing a lib on the link line? (I don't see your link step.)
If you have lots of archive libs, you have to put them in order. Otherwise you need -Wl,+n to cause the linker to re-search.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 12:59 AM
тАО10-07-2009 12:59 AM
Re: libxerces-c-3.0.sl aCC compilation problem
Actually we are migrating from PA-RISC systems to Integrity. On PA-RISC we have the all source compiled with xerces 2.7. And to maintain the backward compatibility without the code change we are using the -AP option with xerces 3.0 library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 03:09 PM
тАО10-07-2009 03:09 PM
Re: libxerces-c-3.0.sl aCC compilation problem
Did you add a -l for it on the link line?
If an archive lib, you may need that +n.
>And to maintain the backward compatibility without the code change we are using the -AP option with xerces 3.0 library.
Did you compile xerces 3.0? If not, it could already be compiled with -AA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 10:37 PM
тАО10-07-2009 10:37 PM
Re: libxerces-c-3.0.sl aCC compilation problem
CMDTUX_CAT:1832: ERROR: can't execute aCC +DD32 +Olit=all -Wl,+s -D__BIGMSGQUEUE_ENABLED -mt -I$TUXDIR/include -o CCSI_server_tux BS-ec5.c -L${TUXDIR}/lib -AP -Wl,+k -L. -L/opt/BIAdev/Program/BIA/OneCode/lib -L/opt/dev/Program/xerces-c1/lib -lxerces-c -L/opt/BIAdev/Program/BIA/common/lib -lutils CCSI_server.o CCSI_RCSI_service.o CCSI_RCDD_service.o AddressParser.o BIAAddrParser.o RCSIRequestData.o RCSIXMLRequest.o RCSIXMLRequestHandler.o RCSIResponseToXml.o RCDDXMLRequest.o RCDDXMLRequestHandler.o RCDDResponseToXml.o -lOSCMonitor -lDMSCReturns -lBO -lrwtool -lxerces-c -lxmlutils -lBIAshmem -lDAL -lTuxBroker -lBIAGlobal -lDMSCRequests -ltux -lbuft -lfml -lfml32 -lengine -lpthread -lcl -lnsl
make: *** [AC_server_tux] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 12:03 AM
тАО10-08-2009 12:03 AM
Re: libxerces-c-3.0.sl aCC compilation problem
The error is those linker unsats.
You should move that -lutils after all of your object files. You could also try linking with -Wl,+n.
You should also remove -lcl.