<?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: Linking libraries with -G (ie profiling) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332933#M712355</link>
    <description>I don't know of any connection between using a profiler and needing shl_load and shl_findsym.  You can pick up a dependency on them by calling specific libc functions such as iconv().&lt;BR /&gt;In any case, you can find those symbols by adding -ldld to the link line.&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Jul 2004 17:24:39 GMT</pubDate>
    <dc:creator>Mike Stroyan</dc:creator>
    <dc:date>2004-07-15T17:24:39Z</dc:date>
    <item>
      <title>Linking libraries with -G (ie profiling)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332932#M712354</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I am trying to link a code which is compiled &lt;BR /&gt;first with &lt;BR /&gt;&lt;BR /&gt;cc -Aa -G  +DA2.0 -c *.c&lt;BR /&gt;&lt;BR /&gt;then i try to create an execute file linking with some libraries using&lt;BR /&gt;&lt;BR /&gt;cc -o testx main.c liblink.a -lm -G &lt;BR /&gt;&lt;BR /&gt;then i get the following error &lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   shl_load : -----&lt;BR /&gt;   shl_findsym &lt;BR /&gt;&lt;BR /&gt;I will greatly appreciate it if some one can give me some pointers as to how to resolve this issue. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;PS: I try to use the other profiler option -p and I still get the same problem.</description>
      <pubDate>Thu, 15 Jul 2004 16:14:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332932#M712354</guid>
      <dc:creator>kalin</dc:creator>
      <dc:date>2004-07-15T16:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linking libraries with -G (ie profiling)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332933#M712355</link>
      <description>I don't know of any connection between using a profiler and needing shl_load and shl_findsym.  You can pick up a dependency on them by calling specific libc functions such as iconv().&lt;BR /&gt;In any case, you can find those symbols by adding -ldld to the link line.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2004 17:24:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332933#M712355</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-07-15T17:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linking libraries with -G (ie profiling)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332934#M712356</link>
      <description>Thanks, It does work now</description>
      <pubDate>Thu, 15 Jul 2004 17:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332934#M712356</guid>
      <dc:creator>kalin</dc:creator>
      <dc:date>2004-07-15T17:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linking libraries with -G (ie profiling)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332935#M712357</link>
      <description>On option to consider for the future would be to use prospect to do the profiling.  IIRC, that does not require special compilation.  When you migrate to IPF, you can start to use Caliper.</description>
      <pubDate>Fri, 16 Jul 2004 10:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-libraries-with-g-ie-profiling/m-p/3332935#M712357</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2004-07-16T10:42:56Z</dc:date>
    </item>
  </channel>
</rss>

