<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: libxerces-c-3.0.sl aCC compilation problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509236#M681173</link>
    <description>&amp;gt;The XMLException() and all these symbols are in xerces library. However not sure while the linker is not able to find it.&lt;BR /&gt;&lt;BR /&gt;Did you add a -l for it on the link line?&lt;BR /&gt;If an archive lib, you may need that +n.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;And to maintain the backward compatibility without the code change we are using the -AP option with xerces 3.0 library.&lt;BR /&gt;&lt;BR /&gt;Did you compile xerces 3.0?  If not, it could already be compiled with -AA.</description>
    <pubDate>Wed, 07 Oct 2009 22:09:37 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-10-07T22:09:37Z</dc:date>
    <item>
      <title>libxerces-c-3.0.sl aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509233#M681170</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to compile the c++ source on aCC 6.22 compiler. I am using the xerces 3.0.&lt;BR /&gt;&lt;BR /&gt;The source is getting compiled however when its trying to link its giving number of linker errors.&lt;BR /&gt;&lt;BR /&gt;Here is snapshot of the source which i am compiling,&lt;BR /&gt;&lt;BR /&gt;/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&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/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&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;============== Linker Errors&lt;BR /&gt;ld: Unsatisfied symbol "XMLException::~XMLException()(base)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "SAXParseException::getSystemId() const" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLString::transcode(unsigned short const*)" in file RCSIXMLRequest.o&lt;BR /&gt;ld: Unsatisfied symbol "type info of XMLException" in file RCSIXMLRequest.o&lt;BR /&gt;ld: Unsatisfied symbol "XMLUni::fgSAX2XercesSchema" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLUni::fgSAX2CoreNameSpacePrefixes" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "SAXParseException::getLineNumber() const" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]&lt;BR /&gt;ld: Unsatisfied symbol "MemBufInputSource::MemBufInputSource(unsigned char const*,unsigned int,char const*,bool)(complete)" in file RCSIXMLRequest.o&lt;BR /&gt;ld: Unsatisfied symbol "SAXParseException::getColumnNumber() const" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLUni::fgNoSuchElementException_Name" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "MemBufInputSource::~MemBufInputSource()(complete)" in file RCSIXMLRequest.o&lt;BR /&gt;ld: Unsatisfied symbol "XMLException::loadExceptText(XMLExcepts::Codes)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLUni::fgSAX2XercesSchemaFullChecking" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLUni::fgSAX2CoreValidation" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLException::XMLException(char const*,unsigned int)(base)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLException::XMLException(XMLException const&amp;amp;)(base)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "SAX2XMLReaderImpl::SAX2XMLReaderImpl()(complete)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;ld: Unsatisfied symbol "SAXParseException::SAXParseException(SAXParseException const&amp;amp;)(complete)" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[RequestHandler.o]&lt;BR /&gt;ld: Unsatisfied symbol "XMLPlatformUtils::Initialize()" in file /opt/dev/program/BIA/OneCode/lib/libxmlutils.a[XMLRequest.o]&lt;BR /&gt;19 errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many Thanks in Advace.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 04:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509233#M681170</guid>
      <dc:creator>Must123</dc:creator>
      <dc:date>2009-10-07T04:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: libxerces-c-3.0.sl aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509234#M681171</link>
      <description>&amp;gt;-g0 -AP -v +z +DD32&lt;BR /&gt;&lt;BR /&gt;Any reason you aren't using the default -AA on Integrity?&lt;BR /&gt;&lt;BR /&gt;ld: Unsatisfied symbol "XMLException::~XMLException()(base)" &lt;BR /&gt;&lt;BR /&gt;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.)&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Wed, 07 Oct 2009 07:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509234#M681171</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-07T07:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: libxerces-c-3.0.sl aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509235#M681172</link>
      <description>The XMLException() and all these symbols are in xerces library. However not sure while the linker is not able to find it. &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 07:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509235#M681172</guid>
      <dc:creator>Must123</dc:creator>
      <dc:date>2009-10-07T07:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: libxerces-c-3.0.sl aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509236#M681173</link>
      <description>&amp;gt;The XMLException() and all these symbols are in xerces library. However not sure while the linker is not able to find it.&lt;BR /&gt;&lt;BR /&gt;Did you add a -l for it on the link line?&lt;BR /&gt;If an archive lib, you may need that +n.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;And to maintain the backward compatibility without the code change we are using the -AP option with xerces 3.0 library.&lt;BR /&gt;&lt;BR /&gt;Did you compile xerces 3.0?  If not, it could already be compiled with -AA.</description>
      <pubDate>Wed, 07 Oct 2009 22:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509236#M681173</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-07T22:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: libxerces-c-3.0.sl aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509237#M681174</link>
      <description>I have even compiled the xerces library with -AP option. However still the error persist along with above linker errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;make: *** [AC_server_tux] Error 1</description>
      <pubDate>Thu, 08 Oct 2009 05:37:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509237#M681174</guid>
      <dc:creator>Must123</dc:creator>
      <dc:date>2009-10-08T05:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: libxerces-c-3.0.sl aCC compilation problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509238#M681175</link>
      <description>&amp;gt;I have even compiled the xerces library with -AP option. However still the error persist along with above linker errors.&lt;BR /&gt;&lt;BR /&gt;The error is those linker unsats.&lt;BR /&gt;&lt;BR /&gt;You should move that -lutils after all of your object files.  You could also try linking with -Wl,+n.&lt;BR /&gt;&lt;BR /&gt;You should also remove -lcl.</description>
      <pubDate>Thu, 08 Oct 2009 07:03:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libxerces-c-3-0-sl-acc-compilation-problem/m-p/4509238#M681175</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-08T07:03:31Z</dc:date>
    </item>
  </channel>
</rss>

