<?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: aCC link problem - 'Duplicate symbol' in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953648#M720414</link>
    <description>The problem is not with the symbols. The same code compiles ok on 10.20 with ANSIc. The files are Pro*C programs, containing SQL;so removing the definition into one file is not an option. I suspect the code is being loaded twice.</description>
    <pubDate>Thu, 17 Apr 2003 10:07:22 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2003-04-17T10:07:22Z</dc:date>
    <item>
      <title>aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953644#M720410</link>
      <description>S/w : &lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.30&lt;BR /&gt;ld:  92453-07 linker linker ld B.11.25 010129&lt;BR /&gt;On linking multiple objects together into an executable I get :&lt;BR /&gt;/usr/ccs/bin/ld: Duplicate symbol "sqlca" in files &lt;OBJECTFILE1&gt; and &amp;lt; objectfile2&amp;gt;.&lt;BR /&gt;I believe there was a problem with duplicate linking??&lt;BR /&gt;Any help is greatly appreciated.&lt;/OBJECTFILE1&gt;</description>
      <pubDate>Thu, 17 Apr 2003 09:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953644#M720410</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2003-04-17T09:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953645#M720411</link>
      <description>hi Peter, &lt;BR /&gt;  Duplicate Symbols represent definition of the variables done in more than two places.  &lt;BR /&gt;  Try to define it in one file and make that variable extern in another file.  The best way is declare in a header file and include that header file in the source files.&lt;BR /&gt;&lt;BR /&gt;  Hope I am understanding the problem correctly.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 09:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953645#M720411</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-04-17T09:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953646#M720412</link>
      <description>Why do I have impression you're working with ProC precompiler? ;)&lt;BR /&gt;&lt;BR /&gt;Haven't touched it for ages. But as far as I remember there should be an option of the type of added code. One option was to use global objects (one of them was 'sqlca' - and that you must be using). I think the other was making the objects automatic on stack. This one should be used.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 10:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953646#M720412</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-04-17T10:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953647#M720413</link>
      <description>The problem is not with the symbols. The same code compiles ok on 10.20 with ANSIc. The files are Pro*C programs, containing SQL;so removing the definition into one file is not an option.</description>
      <pubDate>Thu, 17 Apr 2003 10:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953647#M720413</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2003-04-17T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953648#M720414</link>
      <description>The problem is not with the symbols. The same code compiles ok on 10.20 with ANSIc. The files are Pro*C programs, containing SQL;so removing the definition into one file is not an option. I suspect the code is being loaded twice.</description>
      <pubDate>Thu, 17 Apr 2003 10:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953648#M720414</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2003-04-17T10:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953649#M720415</link>
      <description>The problem IS with duplicate symbol. To be precise - with 'sqlca' object added by ProC.&lt;BR /&gt;The ANSIc on 10.20 handles problem with duplicate symbols differently.&lt;BR /&gt;&lt;BR /&gt;Just pay more attention to my earlier advice about options in ProC.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 10:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953649#M720415</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-04-17T10:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953650#M720416</link>
      <description>Solution:&lt;BR /&gt;Version of aCC 03.30 and its associated linker has a feature JAGad39135, where enums are made global.&lt;BR /&gt;Fix: Update to at least 03.33</description>
      <pubDate>Wed, 23 Apr 2003 14:36:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953650#M720416</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2003-04-23T14:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953651#M720417</link>
      <description>Never knew this Peter.  Thanks for posting the solution to the forums.&lt;BR /&gt;&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2003 15:00:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953651#M720417</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-04-23T15:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: aCC link problem - 'Duplicate symbol'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953652#M720418</link>
      <description>the new linker option "+allowdups" may help.&lt;BR /&gt;the symbol will resolve to the first symbol definition.&lt;BR /&gt;it is available with the latest linker (PHSS_28434/PHSS_28436 : B.11.36).</description>
      <pubDate>Sat, 17 May 2003 06:17:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acc-link-problem-duplicate-symbol/m-p/2953652#M720418</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-05-17T06:17:35Z</dc:date>
    </item>
  </channel>
</rss>

