Hi Vishal, Thanks for the reply.
I checked my /usr/local/share/snmp/mibs folder and the files seem to be there. It's maybe the way I configured and installed net-snmp or some environment variable problems. I tried installing the net-snmp package using the gnome yum GUI on another system, and the demoapps seem to work fine. I'll have to do some more investigating. Eric On Wed, 2007-09-26 at 06:33 +0000, vishal_nitr wrote: > Hi Eric, > 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 wrote > I don't know if this can help, but GCC 4.1.2 with net-snmp 5.4.1 seems > to have installed fine for me on fedora core 7. > > The only problem I get is when I compile and run the snmpdemo tutorial > apps, I get the following error output (which I imagine is from > missing > libraries, but no one replied about this yet): > > No log handling enabled - turning on stderr logging > Cannot 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) > Cannot find module (MTA-MIB): At line 0 in (none) > Cannot find module (NETWORK-SERVICES-MIB) />Cannot find module > (IP-MIB): At line 0 in (none) > Cannot find module (IF-MIB): At line 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) > Cannot find module (SNMP- ne 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) > > Eric > > On Mon, 2007-09-24 at 18:26 -0700, Matt Matson wrote: > > > > I'm getting the following make error regarding "-fstack-protector" > on > > Fedora7. Thanks in Advance! > > > > Fedora 7 > > Net-SNMP 5.3.1 > > GCC 3.4.3 > > > > Configure options: > > ./configure --prefix=/usr/local > > --with-mib-modules="host mibII/mta_sendmail ucd_snmp > > disman/event-mib misc/ip > --with-default-snmp-version="2" > > --with-sys-contact="[EMAIL PROTECTED] " > > --with-sys-location="unknown" > > --with-logfile="/var/log/snmpd.log" > > --with-persistent-directory="/var/net-snmp" > > --enable-static=yes > > --with-perl-modules --enable-embedded-perl --enable-shared > > > > [EMAIL PROTECTED] make > > ..... > > Writing Makefile for SNMP > > Warning: prerequisite NetSNMP::OID 5.1 not found. > > Checking if your kit is complete... > > Looks good > > Writing Makefile for NetSNMP::TrapReceiver > > Writing Makefile for Bundle::NetSNMP > > make[1]: Entering directory `/cittio/netsnmp/net-snmp-5.3.1/perl' > > cp Makefile.subs.pl blib/lib/Bundle/Makefile.subs.pl > > make[2]: Entering directory > > `/cittio/netsnmp/net-snmp-5.3.1/perl/default_store' > > cp default_store.pm ../blib/lib/NetSNMP/default_store.pm > > AutoSplitting ../blib/lib/NetSNMP/d > (../blib/lib/auto/NetSNMP/default_store) > > /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -prototypes > > -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap > > default_store.xs > default_store.xsc && mv default_store.xsc > > default_store.c > > gcc -c -I../../include -g -O2 -Dlinux -I/usr/include/rpm > > -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe > > -Wdeclaration-after-statement -I/usr/local/include > -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm > > -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. > > -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing > > -pipe -Wdeclaration-after-statement -I/usr/local/include > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 > -g > > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -unwind-tables -DVERSION="5.0301" -DXS_VERSION= > > "5.0301" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" > > default_store.c > > cc1: error: unrecognized command line option "-fstack-protector" > > cc1: error: invalid parameter `ssp-buffer-size' > > default_store.c:1: error: bad value (generic) for -mtune= switch > > make[2]: *** [default_store.o] Error 1 > > make[2]: Leaving directory > > `/cittio/netsnmp/net-snmp-5.3.1/perl/default_store' > > make[1]: *** [subdirs] Error 2 > > make[1]: Leaving directory `/cittio/netsnmp/net-snmp-5.3.1/perl' > > make: *** [perlmodules] Error 1 > > > > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________< > ng list > Net-snmp-users@lists.sourceforge.net > Please 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users