<?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: net-snmp compilation issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267121#M496293</link>
    <description>&lt;P&gt;Rudy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already tried to compile using gcc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# swlist |grep -i gcc&lt;BR /&gt;gcc 4.2.3 gcc&lt;BR /&gt;libgcc 4.2.3 libgcc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./configure will avoid this prompt.&lt;/P&gt;&lt;P&gt;Location to write persistent information (/var/net-snmp):&lt;BR /&gt;setting Location to write persistent information to... /var/net-snmp&lt;BR /&gt;checking if I need to feed myself to ksh... no&lt;BR /&gt;checking for grep that handles long lines and -e... /usr/bin/grep&lt;BR /&gt;checking for egrep... /usr/bin/grep -E&lt;BR /&gt;checking for grep that handles long lines and -e... (cached) /usr/bin/grep&lt;BR /&gt;checking for a BSD-compatible install... ./install-sh -c&lt;BR /&gt;checking whether ln -s works... yes&lt;BR /&gt;checking whether make sets $(MAKE)... yes&lt;BR /&gt;checking for a sed that does not truncate output... /usr/bin/sed&lt;BR /&gt;checking for file... file&lt;BR /&gt;checking for find... find&lt;BR /&gt;checking for whoami... whoami&lt;BR /&gt;checking for autoconf... no&lt;BR /&gt;checking for autoheader... no&lt;BR /&gt;checking for perl... /usr/bin/perl&lt;BR /&gt;checking for ps... /usr/bin/ps&lt;BR /&gt;checking for python... no&lt;BR /&gt;checking for uname... /usr/bin/uname&lt;BR /&gt;checking whether the Perl function system() invokes a POSIX shell... syntax error at -e line 1, at EOF&lt;BR /&gt;Execution of -e aborted due to compilation errors.&lt;BR /&gt;./configure[6503]: : Execute permission denied.&lt;BR /&gt;./configure[6503]: "');': A test command parameter is not valid.&lt;BR /&gt;yes&lt;BR /&gt;checking for gcc... gcc&lt;BR /&gt;checking whether the C compiler works... no&lt;BR /&gt;configure: error: in `/tmp/net-snmp-5.7.2':&lt;BR /&gt;configure: error: C compiler cannot create executables&lt;BR /&gt;See `config.log' for more details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the log is attached&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2013 22:03:41 GMT</pubDate>
    <dc:creator>Fefers</dc:creator>
    <dc:date>2013-11-12T22:03:41Z</dc:date>
    <item>
      <title>net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6266953#M496289</link>
      <description>&lt;P&gt;Hello experts, I hope you're doing great :D&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to compile&amp;nbsp;net-snmp on some HP-UX (PA-RISC and IA64) servers and I had an issue during the compilation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HP-UX hostname B.11.31 U 9000/800&amp;nbsp;&lt;/P&gt;
&lt;P&gt;net-snmp-5.7.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The output and log file is attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could someone help me please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 14px; line-height: 15px;"&gt;P.S. This thread has been moved&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; line-height: 15px;"&gt;from HP-UX &amp;gt; General to HP-UX &amp;gt; languages. - HP Forum Moderatir&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 01:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6266953#M496289</guid>
      <dc:creator>Fefers</dc:creator>
      <dc:date>2013-11-14T01:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267039#M496290</link>
      <description>&lt;P&gt;Hello Fefers--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am curious if you have a full version of an ANSI C compiler. Can you show the output of "swlist"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rudy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 20:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267039#M496290</guid>
      <dc:creator>RudyW</dc:creator>
      <dc:date>2013-11-12T20:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267075#M496291</link>
      <description>&lt;P&gt;Hi Rudy..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# swlist |grep -i C-ANSI-C&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;well.. I've found this url:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=8508078442f02110078442f02110275d6e10RCRD"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=8508078442f02110078442f02110275d6e10RCRD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you know if it is free?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 21:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267075#M496291</guid>
      <dc:creator>Fefers</dc:creator>
      <dc:date>2013-11-12T21:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267085#M496292</link>
      <description>&lt;P&gt;Hi Fefers--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OK, so you don't have HP's ANSI C compiler. It is free for HP partners, not for end users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can always try the GNU C compiler. &lt;A target="_blank" href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rudy&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 21:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267085#M496292</guid>
      <dc:creator>RudyW</dc:creator>
      <dc:date>2013-11-12T21:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267121#M496293</link>
      <description>&lt;P&gt;Rudy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already tried to compile using gcc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# swlist |grep -i gcc&lt;BR /&gt;gcc 4.2.3 gcc&lt;BR /&gt;libgcc 4.2.3 libgcc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./configure will avoid this prompt.&lt;/P&gt;&lt;P&gt;Location to write persistent information (/var/net-snmp):&lt;BR /&gt;setting Location to write persistent information to... /var/net-snmp&lt;BR /&gt;checking if I need to feed myself to ksh... no&lt;BR /&gt;checking for grep that handles long lines and -e... /usr/bin/grep&lt;BR /&gt;checking for egrep... /usr/bin/grep -E&lt;BR /&gt;checking for grep that handles long lines and -e... (cached) /usr/bin/grep&lt;BR /&gt;checking for a BSD-compatible install... ./install-sh -c&lt;BR /&gt;checking whether ln -s works... yes&lt;BR /&gt;checking whether make sets $(MAKE)... yes&lt;BR /&gt;checking for a sed that does not truncate output... /usr/bin/sed&lt;BR /&gt;checking for file... file&lt;BR /&gt;checking for find... find&lt;BR /&gt;checking for whoami... whoami&lt;BR /&gt;checking for autoconf... no&lt;BR /&gt;checking for autoheader... no&lt;BR /&gt;checking for perl... /usr/bin/perl&lt;BR /&gt;checking for ps... /usr/bin/ps&lt;BR /&gt;checking for python... no&lt;BR /&gt;checking for uname... /usr/bin/uname&lt;BR /&gt;checking whether the Perl function system() invokes a POSIX shell... syntax error at -e line 1, at EOF&lt;BR /&gt;Execution of -e aborted due to compilation errors.&lt;BR /&gt;./configure[6503]: : Execute permission denied.&lt;BR /&gt;./configure[6503]: "');': A test command parameter is not valid.&lt;BR /&gt;yes&lt;BR /&gt;checking for gcc... gcc&lt;BR /&gt;checking whether the C compiler works... no&lt;BR /&gt;configure: error: in `/tmp/net-snmp-5.7.2':&lt;BR /&gt;configure: error: C compiler cannot create executables&lt;BR /&gt;See `config.log' for more details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the log is attached&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 22:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267121#M496293</guid>
      <dc:creator>Fefers</dc:creator>
      <dc:date>2013-11-12T22:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267645#M496294</link>
      <description>&lt;P&gt;&amp;gt;Could someone help me please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in config.log:&lt;/P&gt;&lt;P&gt;configure:6836: cc --version &amp;gt;&amp;amp;5&lt;BR /&gt;(Bundled) cc: warning 422: Unknown option "-" ignored.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You're not going to be able to use the bundled C compiler to build this.&amp;nbsp; You'll need to use gcc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're going to have to look at your files where the errors are:&lt;/P&gt;&lt;P&gt;target/target_counters_5_5 target/snmpTargetAddrEntrycpp: "./agent/mibgroup/target/snmpTargetParamsEntry.h", line 75: error 4029: #endif without matching #if.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ucd-snmp/pass_common hardware/memory hardware/cpu header_complexcpp: "./agent/mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.h", line 32: error 4036: Can't open include file 'snmpNotifyFilterTable_constants.h'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And a whole bunch more with other .h files.&amp;nbsp; This could be due to a missing -I?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And before those errors is:&lt;/P&gt;&lt;P&gt;checking for and configuring mib modules to use... default_modules. default_modules snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see the gcc compile line??&amp;nbsp; It appears to be using the C compiler to compile C++??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;I've already tried to compile using gcc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gcc doesn't seem to be in your PATH.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 10:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6267645#M496294</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-11-13T10:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6268575#M496295</link>
      <description>&lt;P&gt;As already pointed out, you must use the right compiler for the build. If it can't find gcc by default, use the environment variable 'CC' to point to the compiler. Use "./configure --help" for instructions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you have installed net-snmp in the default location? If not, you'll need to pass in the right set of -I and -L to help pick up the required headers and libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the missing header "snmpNotifyFilterTable_constants.h" has been previously reported on other platforms. You may want to research a little on that to check if a patch or workaround is available. You may even want to reinstall net-snmp afresh and ensure the missing headers are indeed available on the system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 02:55:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6268575#M496295</guid>
      <dc:creator>SoumitraC</dc:creator>
      <dc:date>2013-11-14T02:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: net-snmp compilation issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6268591#M496296</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The latest HP-UX GNU C/C++compiler is 4.7.1. You can download it from &lt;A href="http://www.hp.com/go/gcc" target="_blank"&gt;www.hp.com/go/gcc&lt;/A&gt;.&amp;nbsp;Direct link&amp;nbsp;for downloading the depot is&amp;nbsp;&amp;nbsp;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=2a08725cc2f02110725cc2f02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=2a08725cc2f02110725cc2f02110275d6e10RCRD&lt;/A&gt;.&amp;nbsp;For any queries related to HP-UX GNU C/C++ compiler tool chain please write to &lt;A href="mailto:gcc-help@lists.hp.com" target="_blank"&gt;gcc-help@lists.hp.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kannan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 03:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/net-snmp-compilation-issue/m-p/6268591#M496296</guid>
      <dc:creator>Kannan M Jeganathan</dc:creator>
      <dc:date>2013-11-14T03:35:58Z</dc:date>
    </item>
  </channel>
</rss>

