<?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 link error when using aCC -AA in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077820#M717183</link>
    <description>has anyone seen this? I am using HP-UX 11, compiler version aCC: HP ANSI C++ B3910B A.03.33 with all the latest patches installed. When I link with aCC -AA (ANSI C++) I get unsatisfied link errors like the following:&lt;BR /&gt;&lt;BR /&gt;ostream::complicated_put(char) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   cout (first referenced in vbtest.o) (data)&lt;BR /&gt;   istrstream::istrstream(const char *,int)%1 (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   istream::operator &amp;gt;&amp;gt;(unsigned int &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   endl(ostream &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   ostream::operator &amp;lt;&amp;lt;(const char *) (first referenced in vbtest.o) (code)&lt;BR /&gt;   ostream::operator &amp;lt;&amp;lt;(unsigned int) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   ostream::operator &amp;lt;&amp;lt;(int) (first referenced in vbtest.o) (code)&lt;BR /&gt;   istrstream::~istrstream() (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   ws(istream &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   istream::get_complicated(char &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   hex(ios &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   Iostream_init::~Iostream_init() (first referenced in vbtest.o) (code)&lt;BR /&gt;   Iostream_init::Iostream_init()%1 (first referenced in vbtest.o) (code)&lt;BR /&gt;   dec(ios &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   setw(int) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   cerr (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (data)&lt;BR /&gt;   flush(ostream &amp;amp;) (first referenced in vbtest.o) (code)&lt;BR /&gt;   istream::operator &amp;gt;&amp;gt;(ios &amp;amp;(*)(ios &amp;amp;)) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;&lt;BR /&gt;Any clues? Which library should I include to get this resolved? I thought aCC -AA would pick up the appropriate libraries to link with. Is that not true? Thanks in advance..</description>
    <pubDate>Wed, 24 Sep 2003 20:12:11 GMT</pubDate>
    <dc:creator>Venkat Chandrasekaran</dc:creator>
    <dc:date>2003-09-24T20:12:11Z</dc:date>
    <item>
      <title>link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077820#M717183</link>
      <description>has anyone seen this? I am using HP-UX 11, compiler version aCC: HP ANSI C++ B3910B A.03.33 with all the latest patches installed. When I link with aCC -AA (ANSI C++) I get unsatisfied link errors like the following:&lt;BR /&gt;&lt;BR /&gt;ostream::complicated_put(char) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   cout (first referenced in vbtest.o) (data)&lt;BR /&gt;   istrstream::istrstream(const char *,int)%1 (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   istream::operator &amp;gt;&amp;gt;(unsigned int &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   endl(ostream &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   ostream::operator &amp;lt;&amp;lt;(const char *) (first referenced in vbtest.o) (code)&lt;BR /&gt;   ostream::operator &amp;lt;&amp;lt;(unsigned int) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   ostream::operator &amp;lt;&amp;lt;(int) (first referenced in vbtest.o) (code)&lt;BR /&gt;   istrstream::~istrstream() (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   ws(istream &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   istream::get_complicated(char &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   hex(ios &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   Iostream_init::~Iostream_init() (first referenced in vbtest.o) (code)&lt;BR /&gt;   Iostream_init::Iostream_init()%1 (first referenced in vbtest.o) (code)&lt;BR /&gt;   dec(ios &amp;amp;) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   setw(int) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;   cerr (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (data)&lt;BR /&gt;   flush(ostream &amp;amp;) (first referenced in vbtest.o) (code)&lt;BR /&gt;   istream::operator &amp;gt;&amp;gt;(ios &amp;amp;(*)(ios &amp;amp;)) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)&lt;BR /&gt;&lt;BR /&gt;Any clues? Which library should I include to get this resolved? I thought aCC -AA would pick up the appropriate libraries to link with. Is that not true? Thanks in advance..</description>
      <pubDate>Wed, 24 Sep 2003 20:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077820#M717183</guid>
      <dc:creator>Venkat Chandrasekaran</dc:creator>
      <dc:date>2003-09-24T20:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077821#M717184</link>
      <description>i think you have to compile *and* link with -AA, did you do that ?</description>
      <pubDate>Wed, 24 Sep 2003 22:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077821#M717184</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-09-24T22:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077822#M717185</link>
      <description>Yes., I compiled all the source files with -AA and also during linking I specify -AA option.</description>
      <pubDate>Thu, 25 Sep 2003 07:19:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077822#M717185</guid>
      <dc:creator>Venkat Chandrasekaran</dc:creator>
      <dc:date>2003-09-25T07:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077823#M717186</link>
      <description>im sorry, i should have made my question clearer. you should also make sure that the libraries you have specified on the link line (e.g. libdmcommon.a, i guess?) are -AA.&lt;BR /&gt;&lt;BR /&gt;the aCC man page specifically says that code built without -AA will not be binary-compatible with the -AA code or libraries.&lt;BR /&gt;&lt;BR /&gt;if the code in libdmcommon.a was not compiled with -AA but has references to be resolved in libstd or libCsup, i guess you will definitely run into this.</description>
      <pubDate>Thu, 25 Sep 2003 09:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077823#M717186</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-09-25T09:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077824#M717187</link>
      <description>Thanks for your reply.&lt;BR /&gt;The library libdmcommon.a is built with -AA option. It's a static library. When I try to build a binary that links with libdmcommon.a I get the unresolved externals to the stream references. &lt;BR /&gt;&lt;BR /&gt;Let me rephrase the question: If I compile and link with -AA option, which library should I link with if I use streams?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 25 Sep 2003 11:11:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077824#M717187</guid>
      <dc:creator>Venkat Chandrasekaran</dc:creator>
      <dc:date>2003-09-25T11:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077825#M717188</link>
      <description>i think its libstd_v2.sl, will confirm this. i guess you know that its better to use aCC to link as well (not the linker directly).</description>
      <pubDate>Thu, 25 Sep 2003 12:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077825#M717188</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-09-25T12:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077826#M717189</link>
      <description>OK. I figured the problem. I was including the old-style iostream.h instead of the one from std namespace. Once i fixed it, it links fine now..</description>
      <pubDate>Thu, 25 Sep 2003 16:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077826#M717189</guid>
      <dc:creator>Venkat Chandrasekaran</dc:creator>
      <dc:date>2003-09-25T16:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: link error when using aCC -AA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077827#M717190</link>
      <description>i thought that was taken care of by aCC by setting the appropriate include path ?</description>
      <pubDate>Thu, 25 Sep 2003 22:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-error-when-using-acc-aa/m-p/3077827#M717190</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-09-25T22:16:03Z</dc:date>
    </item>
  </channel>
</rss>

