<?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: Compilation Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451481#M770004</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;probably you have missed some linker libraries (-lxxx).&lt;BR /&gt;Could you please post the compile/link command and the resulting errors ?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Mon, 09 Oct 2000 05:18:56 GMT</pubDate>
    <dc:creator>Andreas Voss</dc:creator>
    <dc:date>2000-10-09T05:18:56Z</dc:date>
    <item>
      <title>Compilation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451480#M770003</link>
      <description>Hi all,&lt;BR /&gt;   I have a problem with the compilation of a program. I get the error msg saying unsatisfied symbols. There seems to be a linkage problem. Anybody can help.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 09 Oct 2000 00:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451480#M770003</guid>
      <dc:creator>David Tang_1</dc:creator>
      <dc:date>2000-10-09T00:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451481#M770004</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;probably you have missed some linker libraries (-lxxx).&lt;BR /&gt;Could you please post the compile/link command and the resulting errors ?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 09 Oct 2000 05:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451481#M770004</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-09T05:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451482#M770005</link>
      <description>After the compilation the error is &lt;BR /&gt;unsatisfied symbols&lt;BR /&gt;shl_load(code)&lt;BR /&gt;shl_unload(code)&lt;BR /&gt;shl_findsym(code)</description>
      <pubDate>Mon, 09 Oct 2000 05:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451482#M770005</guid>
      <dc:creator>David Tang_1</dc:creator>
      <dc:date>2000-10-09T05:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451483#M770006</link>
      <description>Hi,&lt;BR /&gt;here i found a document for you:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C: error - /usr/ccs/bin/ld: Unsatisfied symbols: shl_load, shl_unload&lt;BR /&gt;Current Path Home  &lt;BR /&gt;Score   &lt;BR /&gt;Document Type  EN &lt;BR /&gt;Date  1999 Jul 08 &lt;BR /&gt;Description  C: error - /usr/ccs/bin/ld: Unsatisfied symbols: shl_load, shl_unload &lt;BR /&gt;Document Id  A5642648 &lt;BR /&gt;Search String   &lt;BR /&gt;&lt;BR /&gt;You may provide feedback on this document &lt;BR /&gt;&lt;BR /&gt;View the printer friendly version of this document &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Problem Description&lt;BR /&gt;&lt;BR /&gt;When I try to build a static excutable, I have this error:&lt;BR /&gt;&lt;BR /&gt;     /usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;        shl_load (code)&lt;BR /&gt;        shl_unload (code)&lt;BR /&gt;        shl_findsym (code)&lt;BR /&gt;&lt;BR /&gt;What is causing this problem?&lt;BR /&gt;&lt;BR /&gt;Configuration Info&lt;BR /&gt;&lt;BR /&gt;Operating System - HP-UX&lt;BR /&gt;Version - 10.20&lt;BR /&gt;Hardware System - HP9000&lt;BR /&gt;Series - E35&lt;BR /&gt;Application - C compiler&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;&lt;BR /&gt;This problem occurs because some functions use Dynamic Name Service&lt;BR /&gt;Switch (DNSS), which has dependency on libdld.&lt;BR /&gt;&lt;BR /&gt;For a list of commands that use DNSS, see 'man 4 nsswitch.conf'.&lt;BR /&gt;&lt;BR /&gt;To solve the problem, add '-Wl,-E -Wl,+n -l:libdld.sl' when compiling.&lt;BR /&gt;&lt;BR /&gt;The excutable contains all archived libraries but libdld.sl.  Unless&lt;BR /&gt;you change these function, an application that uses these interfaces&lt;BR /&gt;(DNSS) cannot be fully archive bound.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Oct 2000 05:52:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-problem/m-p/2451483#M770006</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-10-09T05:52:07Z</dc:date>
    </item>
  </channel>
</rss>

