<?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 Problem linking library compiled with aCC into code compiled with gcc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464734#M772845</link>
    <description>I have a library compiled with HP-UX 10.20 aCC that I am trying to link with code generated on gcc 2.8.  In order to resolve the _eh symbols (for aCC exception handling routines) I try to link with /opt/CC/lib/eh/libC.a. However, this results in duplicate symbols from libstdc++.a. And not linking in libstdc++.a results in unrecognized symbols. Has anybody seen this problem or have an idea how to fix it?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Wed, 15 Nov 2000 15:44:50 GMT</pubDate>
    <dc:creator>ed carraway</dc:creator>
    <dc:date>2000-11-15T15:44:50Z</dc:date>
    <item>
      <title>Problem linking library compiled with aCC into code compiled with gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464734#M772845</link>
      <description>I have a library compiled with HP-UX 10.20 aCC that I am trying to link with code generated on gcc 2.8.  In order to resolve the _eh symbols (for aCC exception handling routines) I try to link with /opt/CC/lib/eh/libC.a. However, this results in duplicate symbols from libstdc++.a. And not linking in libstdc++.a results in unrecognized symbols. Has anybody seen this problem or have an idea how to fix it?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 15 Nov 2000 15:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464734#M772845</guid>
      <dc:creator>ed carraway</dc:creator>
      <dc:date>2000-11-15T15:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem linking library compiled with aCC into code compiled with gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464735#M772846</link>
      <description>"/opt/gcc/bin/gcc -s -g -L. -lstdc++ [list of objects]" ??? or is that what you are using ?&lt;BR /&gt;&lt;BR /&gt;NB : You must have objects before the libraries.</description>
      <pubDate>Wed, 15 Nov 2000 15:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464735#M772846</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-11-15T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem linking library compiled with aCC into code compiled with gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464736#M772847</link>
      <description>I tried the "-s" but get the same thing.&lt;BR /&gt;&lt;BR /&gt;This is what I get without /opt/CC/lib/eh/libC.a:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   __vec_new (code)&lt;BR /&gt;   __eh_do_throw(__eh_thrown_object *)   (code)&lt;BR /&gt;   operator new(unsigned int)(code)&lt;BR /&gt;   operator delete(void *)(code)&lt;BR /&gt;   __eh_thrown_object::dealloc_object( (int))(code)&lt;BR /&gt;   __eh_dt_count (data)&lt;BR /&gt;   __vec_delete (code)&lt;BR /&gt;   allocate__18__eh_thrown_objectSFPP13__eh_typeinfoiT2 (code)&lt;BR /&gt;&lt;BR /&gt;And this is what I get with it:&lt;BR /&gt;&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "setw(int)" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and /usr/local/lib/libstdc++.a(iomanip.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "setprecision(int)" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and /usr/local/lib/libstdc++.a(iomanip.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "setfill(int)" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and /usr/local/lib/libstdc++.a(iomanip.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "setbase(int)" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and /usr/local/lib/libstdc++.a(iomanip.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "flush(ostream &amp;amp;) " in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(iostream.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "ws(istream &amp;amp;) " in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(iostream.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "ends(ostream &amp;amp;) " in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(iostream.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "endl(ostream &amp;amp;) " in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(iostream.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "oct(ios &amp;amp;) " in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(iostream.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "hex(ios &amp;amp;) " in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(iostream.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "dec(ios &amp;amp;) " in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(manip.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(iostream.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "cout" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(cstreams.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(stdstreams.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "cin" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(cstreams.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(stdstreams.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "cerr" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(cstreams.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(stdstreams.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "clog" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(cstreams.o) and&lt;BR /&gt;/usr/local/lib/libstdc++.a(stdstreams.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "terminate(void)" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(ehterm.o) and&lt;BR /&gt;/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/libgcc.a(exception.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "unexpected(void)" in files&lt;BR /&gt;/opt/CC/lib/eh/libC.a(ehunex.o) and&lt;BR /&gt;/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/libgcc.a(exception.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "set_unexpected(void (*)(void))" in&lt;BR /&gt;files /opt/CC/lib/eh/libC.a(err.o) and&lt;BR /&gt;/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/libgcc.a(exception.o)&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "set_terminate(void (*)(void))" in&lt;BR /&gt;files /opt/CC/lib/eh/libC.a(err.o) and&lt;BR /&gt;/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/libgcc.a(exception.o)&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   U_update_state_vector (code)&lt;BR /&gt;   U_resume_execution (code)&lt;BR /&gt;   U_get_previous_frame_x (code)&lt;BR /&gt;   U_get_shLib_recv_tbl (code)&lt;BR /&gt;   U_STACK_TRACE (code)&lt;BR /&gt;   U_get_shLib_text_addr (code)&lt;BR /&gt;   U_get_recover_table (code)&lt;BR /&gt;/usr/ccs/bin/ld: Found 19 duplicate symbol(s)</description>
      <pubDate>Wed, 15 Nov 2000 16:31:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464736#M772847</guid>
      <dc:creator>ed carraway</dc:creator>
      <dc:date>2000-11-15T16:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem linking library compiled with aCC into code compiled with gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464737#M772848</link>
      <description>Corection: I am using g++ not gcc...</description>
      <pubDate>Thu, 16 Nov 2000 18:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-linking-library-compiled-with-acc-into-code-compiled/m-p/2464737#M772848</guid>
      <dc:creator>ed carraway</dc:creator>
      <dc:date>2000-11-16T18:06:50Z</dc:date>
    </item>
  </channel>
</rss>

