<?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: Undefined type info of std::length_error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246065#M677175</link>
    <description>What HP-UX version are you using?  What version of aC++ or g++ are you using?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is there a linker option that resolves this reference to me?&lt;BR /&gt;&lt;BR /&gt;If you are using your shlib as a plugin for C code, you must provide the C++ runtime:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/Online_Help/distributing.htm#linking" target="_blank"&gt;http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/Online_Help/distributing.htm#linking&lt;/A&gt;</description>
    <pubDate>Fri, 02 Jul 2010 08:05:08 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-07-02T08:05:08Z</dc:date>
    <item>
      <title>Undefined type info of std::length_error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246064#M677174</link>
      <description>I'm trying to build a shared library that will be used by Oracle as an external procedure.&lt;BR /&gt;This shared library works fine when I try to call it using a test program built in c++. However, when I call it from Oracle, it complains about a undefined symbol:&lt;BR /&gt;&lt;BR /&gt;ORA-06522: Unsatisfied data symbol '_ZTISt12length_error' in load module&lt;BR /&gt;'/oracle_10/product/lib/libtriggerfish.sl'.&lt;BR /&gt;&lt;BR /&gt;When I search for this symbol on my library, it's undefined:&lt;BR /&gt;&lt;BR /&gt;# nm -C lib* | grep length&lt;BR /&gt;[72]|0|0|OBJT|GLOB|0|UNDEF|type info of std::length_error&lt;BR /&gt;&lt;BR /&gt;Is there a linker option that resolves this reference to me? &lt;BR /&gt;I tried to compile/link using the -Wl,-a,archive  option, but had no success.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Ildefonso.</description>
      <pubDate>Thu, 01 Jul 2010 22:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246064#M677174</guid>
      <dc:creator>Ildefonso Zanette</dc:creator>
      <dc:date>2010-07-01T22:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined type info of std::length_error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246065#M677175</link>
      <description>What HP-UX version are you using?  What version of aC++ or g++ are you using?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is there a linker option that resolves this reference to me?&lt;BR /&gt;&lt;BR /&gt;If you are using your shlib as a plugin for C code, you must provide the C++ runtime:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/Online_Help/distributing.htm#linking" target="_blank"&gt;http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/Online_Help/distributing.htm#linking&lt;/A&gt;</description>
      <pubDate>Fri, 02 Jul 2010 08:05:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246065#M677175</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-07-02T08:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined type info of std::length_error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246066#M677176</link>
      <description>Thanks for your fast answer Dennis. That link that you sent solved my problem.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Ildefonso</description>
      <pubDate>Fri, 02 Jul 2010 20:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246066#M677176</guid>
      <dc:creator>Ildefonso Zanette</dc:creator>
      <dc:date>2010-07-02T20:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined type info of std::length_error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246067#M677177</link>
      <description>I followed the suggestion of the article that Dennis pointed out and added these libraries in this order:&lt;BR /&gt;&lt;BR /&gt;-lstd_v2 -lCsup -lunwind -lm&lt;BR /&gt;&lt;BR /&gt;This made that type defined in my shared library.</description>
      <pubDate>Fri, 02 Jul 2010 20:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/undefined-type-info-of-std-length-error/m-p/5246067#M677177</guid>
      <dc:creator>Ildefonso Zanette</dc:creator>
      <dc:date>2010-07-02T20:27:26Z</dc:date>
    </item>
  </channel>
</rss>

