<?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: ld errors while compiling via gcc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543887#M701799</link>
    <description>I see that you have -L/usr/rfcsdk/lib on the compile line. But do you do also have -l&lt;LIB&gt;, so it knows which library to link with?&lt;/LIB&gt;</description>
    <pubDate>Fri, 13 May 2005 00:34:58 GMT</pubDate>
    <dc:creator>Ermin Borovac</dc:creator>
    <dc:date>2005-05-13T00:34:58Z</dc:date>
    <item>
      <title>ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543885#M701797</link>
      <description>Need help!&lt;BR /&gt;i want to compile my c program on HP-UX 11.23 with gcc doing following:&lt;BR /&gt;&lt;BR /&gt;# gcc -ansi -funsigned-char -Wcast-align -pthread -fpic -DSAPwithTHREADS -DSAPonLIN -Iinclude -L/usr/rfcsdk/lib saprfcsr.c&lt;BR /&gt;&lt;BR /&gt;all .h files are in "include" directory&lt;BR /&gt;library needed is in /usr/rfcsdk/lib&lt;BR /&gt;Some dummy sources, needed for compilation, are in current directory from where I start compilation process.&lt;BR /&gt;&lt;BR /&gt;After the executing gcc command written above, I get lot of errors:&lt;BR /&gt;&lt;BR /&gt;ld: Unsatisfied symbol "RfcLastError" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcSendData" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcRaise" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "ItFill" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcListen" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcGetData" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcEnvironment" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "ItAppLine" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "ItGetLine" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcInstallStructure" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "ORIFICE" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcAccept" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "CALCDL" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "CALCGS" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcInstallFunction" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcClose" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcDispatch" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab5a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab5b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab5d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab6a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab6b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab6c" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab6d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab23a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab23b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab23d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab24a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab24b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab24c" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab24d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab53a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab53b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab53d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab54a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab54b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab54c" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab54d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab59a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab59b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab59d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab60a" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab60b" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab60c" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "tab60d" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;ld: Unsatisfied symbol "RfcAbort" in file /var/tmp//ccpHGObb.o&lt;BR /&gt;46 errors.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;What the problem could be?</description>
      <pubDate>Fri, 13 May 2005 00:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543885#M701797</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2005-05-13T00:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543886#M701798</link>
      <description>I've corrected some things&lt;BR /&gt;I forgot to put the library name&lt;BR /&gt;but still only one error &lt;BR /&gt;#gcc -ansi -funsigned-char -Wcast-align -pthread -fpic -DSAPwithTHREADS -DSAPonLIN -Iinclude -L/usr/rfcsdk/lib saprfcsr.c api_tab.c aga3sa.c aga8plus.c detailsa.c grosssa.c librfccm.so -o qci_srv&lt;BR /&gt;ld: Mismatched Data ABI. Expected None but found EF_IA_64_ABI64 in file librfccm.so&lt;BR /&gt;Fatal error.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;BR /&gt;Dont know what to do</description>
      <pubDate>Fri, 13 May 2005 00:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543886#M701798</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2005-05-13T00:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543887#M701799</link>
      <description>I see that you have -L/usr/rfcsdk/lib on the compile line. But do you do also have -l&lt;LIB&gt;, so it knows which library to link with?&lt;/LIB&gt;</description>
      <pubDate>Fri, 13 May 2005 00:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543887#M701799</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-13T00:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543888#M701800</link>
      <description>Second error is result of mixing 32-bit and 64-bit objects. Your library is 64-bit and gcc is compiling 32-bit by default.</description>
      <pubDate>Fri, 13 May 2005 00:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543888#M701800</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-13T00:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543889#M701801</link>
      <description>Hi Ermin!&lt;BR /&gt;&lt;BR /&gt;How to set gcc to compile 64-bit?</description>
      <pubDate>Fri, 13 May 2005 00:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543889#M701801</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2005-05-13T00:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543890#M701802</link>
      <description>If you are on Itanium you can try using -mlp64 flag to get 64-bit compile.</description>
      <pubDate>Fri, 13 May 2005 01:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543890#M701802</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-13T01:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543891#M701803</link>
      <description>thank you -mlp64 option works, I've got the executable qci_srv, but there is one warning&lt;BR /&gt;&lt;BR /&gt;#gcc - mlp64 -ansi -funsigned-char -Wcast-align -pthread -fpic -DSAPwithTHREADS -DSAPonLIN -Iinclude -L/usr/rfcsdk/lib saprfcsr.c api_tabs.c &lt;BR /&gt;den_tabs.c sg_tabs.c tab_5960.c tcommon.c aga3sa.c aga8plus.c detailsa.c grosssa.c librfccm.so -o qci_srv&lt;BR /&gt;ld: (Warning) Unsatisfied symbol "__cxa_personality_routine" in file librfccm.so&lt;BR /&gt;1 warnings.&lt;BR /&gt;&lt;BR /&gt;What is it?&lt;BR /&gt;</description>
      <pubDate>Fri, 13 May 2005 01:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543891#M701803</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2005-05-13T01:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543892#M701804</link>
      <description>my binary file qci_srv doesn't execute because of that warning :(</description>
      <pubDate>Fri, 13 May 2005 01:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543892#M701804</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2005-05-13T01:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543893#M701805</link>
      <description>This symbol comes from /usr/lib/hpux64/libCsup.so. I think your library was compiled with aCC. It's not good to mix gcc (g++) and aCC.&lt;BR /&gt;&lt;BR /&gt;So if you used aCC to compile everything, libCsup.so would link in automatically so you wouldn't get this error.&lt;BR /&gt;&lt;BR /&gt;If you have aCC on your system you should use it instead of gcc (g++).</description>
      <pubDate>Fri, 13 May 2005 02:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543893#M701805</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-13T02:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543894#M701806</link>
      <description>Unfortunatly I don't have aCC&lt;BR /&gt;where should I get it?</description>
      <pubDate>Fri, 13 May 2005 02:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543894#M701806</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2005-05-13T02:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543895#M701807</link>
      <description>You get it from HP ... but it's not free, you have to pay $$$ for it.</description>
      <pubDate>Fri, 13 May 2005 02:53:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543895#M701807</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-13T02:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: ld errors while compiling via gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543896#M701808</link>
      <description>thank you for help!</description>
      <pubDate>Fri, 13 May 2005 02:59:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ld-errors-while-compiling-via-gcc/m-p/3543896#M701808</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2005-05-13T02:59:56Z</dc:date>
    </item>
  </channel>
</rss>

