Re :Re: Net-snmp 5.3.1 on Fedora 7 make error

"vishal_nitr" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1190731588.S.8450.26749.webmail15.rediffmail.com.1190788397.6035@webmail.rediffmail.com>
Hi Eric,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Do u have all these files at /usr/local/share/snmp/mibs location if not put it there. This may solve your problem.

On Tue, 25 Sep 2007 10:47:03 -0400 Eric Maines wroteI don\'t know if this can help, but GCC 4.1.2 with net-snmp 5.4.1 seemsto have installed fine for me on fedora core 7.The only problem I get is when I compile and run the snmpdemo tutorialapps, I get the following error output (which I imagine is from missinglibraries, but no one replied about this yet):No log handling enabled - turning on stderr loggingCannot find module (HOST-RESOURCES-MIB): At line 0 in (none)Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)Cannot find module (LM-SENSORS-MIB): At line 0 in (none)Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)Cannot find module (TCP-MIB): At line 0 in (none)Cannot find module (UDP-MIB): At line 0 in (none)Ca
 nnot find module (MTA-MIB): At line 0 in (none)Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none)Cannot find module (IP-MIB): At line 0 in (none)Cannot find module (IF-MIB): At l
 ine 0 in (none)Cannot find module (SNMPv2-MIB): At line 0 in (none)Cannot find module (SNMPv2-SMI): At line 0 in (none)Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)Cannot find module (IPV6-MIB): At line 0 in (none)Cannot find module (IPV6-TCP-MIB): At line 0 in (none)Cannot find module (IPV6-UDP-MIB): At line 0 in (none)Cannot find module (UCD-SNMP-MIB): At line 0 in (none)Cannot find module (UCD-DEMO-MIB): At line 0 in (none)Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)Cannot find module (SNMP-MPD-MIB): At line 0 in (none)Canno
 t find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)Cannot
  find module (IP-FORWARD-MIB): At line 0 in (none)Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)Cannot find module (SNMPv2-TM): At line 0 in (none)Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)EricOn Mon, 2007-09-24 at 18:26 -0700, Matt Matson wrote:&gt; &gt; I\'m getting the following make error regarding \"-fstack-protector\" on&gt; Fedora7. Thanks in Advance!&gt; &gt; Fedora 7&gt; Net-SNMP 5.3.1&gt; GCC 3.4.3&gt; &gt; Configure options:&gt; ./configure --prefix=/usr/local &gt; --with-mib-modules=\"host mibII/mta_sendmail ucd_snmp&gt; disman/event-mib misc/ipfwacc tunnel smux\" &gt; --with-default-snmp-version=\"2\" &gt; --with-sys-contact=\"r
 oot@localhost \" &gt; --with-sys-location=\"unknown\" &gt; --with-logfile=\"/var/log/snmpd.log\" &gt; --with-persistent-directory=\"/var/net-snmp\" &gt; --enable-static=yes &gt; --with-perl-
 modules --enable-embedded-perl --enable-shared&gt; &gt; root@server# make&gt; .....&gt; Writing Makefile for SNMP&gt; Warning: prerequisite NetSNMP::OID 5.1 not found.&gt; Checking if your kit is complete...&gt; Looks good&gt; Writing Makefile for NetSNMP::TrapReceiver&gt; Writing Makefile for Bundle::NetSNMP&gt; make[1]: Entering directory `/cittio/netsnmp/net-snmp-5.3.1/perl\'&gt; cp Makefile.subs.pl blib/lib/Bundle/Makefile.subs.pl&gt; make[2]: Entering directory&gt; `/cittio/netsnmp/net-snmp-5.3.1/perl/default_store\'&gt; cp default_store.pm ../blib/lib/NetSNMP/default_store.pm&gt; AutoSplitting ../blib/lib/NetSNMP/default_store.pm&gt; (../blib/lib/auto/NetSNMP/default_store)&gt; /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -prototypes&gt; -typemap /usr/lib/perl5/5.8.8/ExtUtils/
 typemap -typemap typemap&gt; default_store.xs &gt; default_store.xsc &amp;&amp; mv default_store.xsc&gt; default_store.c&gt; gcc -c -I../../include -g -O2 -Dlinux -I/usr/include/rpm&gt; -D_R
 EENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe&gt; -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE&gt; -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm&gt; -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I.&gt; -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing&gt; -pipe -Wdeclaration-after-statement -I/usr/local/include&gt; -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g&gt; -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector&gt; --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic&gt; -fasynchronous-unwind-tables -DVERSION=\"5.0301\" -DXS_VERSION=&gt; \"5.0301\" -fPIC \"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE\"&gt; default_store.c&gt; cc1: error: unrecognized command line option \"-fstack-pr
 otector\"&gt; cc1: error: invalid parameter `ssp-buffer-size\'&gt; default_store.c:1: error: bad value (generic) for -mtune= switch&gt; make[2]: *** [default_store.o] Error 1&gt; make[2]: Le
 aving directory&gt; `/cittio/netsnmp/net-snmp-5.3.1/perl/default_store\'&gt; make[1]: *** [subdirs] Error 2&gt; make[1]: Leaving directory `/cittio/netsnmp/net-snmp-5.3.1/perl\'&gt; make: *** [perlmodules] Error 1&gt; -------------------------------------------------------------------------This SF.net email is sponsored by: MicrosoftDefy all challenges. Microsoft(R) Visual Studio 2005.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________Net-snmp-users mailing [email protected] see the following page to unsubscribe or change other options:https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.