<?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 with linking C-hack in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-linking-c-hack/m-p/5184003#M42495</link>
    <description>Hi community&lt;BR /&gt;&lt;BR /&gt;I try to do a fast hack which shows me all the TCPIP Interfaces, their addresses (IP and HW) and their network masks.&lt;BR /&gt;&lt;BR /&gt;Now  I have a samll c-programm. I can compile it, but I cant link it.&lt;BR /&gt;&lt;BR /&gt;The linker finds two undefined Symbols. &lt;BR /&gt;But as far as I can see, those two symbols are defined in sys$share:tcpip$libpcap_shr.exe and I use this shareable image for linking.&lt;BR /&gt;&lt;BR /&gt;Can somebody give me a hint? &lt;BR /&gt;Please see attached files and output&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Geni&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 26 Jun 2009 08:46:47 GMT</pubDate>
    <dc:creator>Heinz W Genhart</dc:creator>
    <dc:date>2009-06-26T08:46:47Z</dc:date>
    <item>
      <title>Problem with linking C-hack</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-linking-c-hack/m-p/5184003#M42495</link>
      <description>Hi community&lt;BR /&gt;&lt;BR /&gt;I try to do a fast hack which shows me all the TCPIP Interfaces, their addresses (IP and HW) and their network masks.&lt;BR /&gt;&lt;BR /&gt;Now  I have a samll c-programm. I can compile it, but I cant link it.&lt;BR /&gt;&lt;BR /&gt;The linker finds two undefined Symbols. &lt;BR /&gt;But as far as I can see, those two symbols are defined in sys$share:tcpip$libpcap_shr.exe and I use this shareable image for linking.&lt;BR /&gt;&lt;BR /&gt;Can somebody give me a hint? &lt;BR /&gt;Please see attached files and output&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Geni&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jun 2009 08:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-linking-c-hack/m-p/5184003#M42495</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2009-06-26T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with linking C-hack</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-linking-c-hack/m-p/5184004#M42496</link>
      <description>Geni,&lt;BR /&gt;&lt;BR /&gt;if I ANALYZE/IMAGE SYS$SHARE:TCPIP$LIBPCAP_SHR.EXE, I see "pcap_findalldevs" and "pcap_freealldevs", i.e. lower-case. You have to tell the C compiler to compile your modules /NAMES=AS_IS to pass them lower-cased to the linker.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Martin</description>
      <pubDate>Fri, 26 Jun 2009 09:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-linking-c-hack/m-p/5184004#M42496</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2009-06-26T09:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with linking C-hack</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-with-linking-c-hack/m-p/5184005#M42497</link>
      <description>Hi Martin&lt;BR /&gt;&lt;BR /&gt;that's it...&lt;BR /&gt;&lt;BR /&gt;Thanks a lot&lt;BR /&gt;&lt;BR /&gt;Geni</description>
      <pubDate>Fri, 26 Jun 2009 09:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-with-linking-c-hack/m-p/5184005#M42497</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2009-06-26T09:18:34Z</dc:date>
    </item>
  </channel>
</rss>

