My bad... and many apologies... when configure asks you to specify the default 
version to use, I typed 2c instead of just 2 (which is for 2c) and this broke 
the compile.

You were correct. Removing the --disable-agent option fixed the problem.

Thank you.


snmpwalk -Dinit_mib -c community server IP-MIB::ipNetToMediaPhysAddress.443
No log handling enabled - turning on stderr logging
registered debug token init_mib, 1
init_mib: Seen MIBDIRS: Looking in 
'/me/.snmp/mibs:/usr/local/net-snmp/5.5/share/snmp/mibs' for mib dirs ...
init_mib: Seen MIBS: Looking in 
':IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB'
 for mib files ...
init_mib: Seen PREFIX: Looking in '.1.3.6.1.2.1' for prefix ...

snmpwalk -Dinit_mib  -c community server 
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.443
No log handling enabled - turning on stderr logging
registered debug token init_mib, 1
init_mib: Seen MIBDIRS: Looking in 
'/me/.snmp/mibs:/usr/local/net-snmp/5.5/share/snmp/mibs' for mib dirs ...
init_mib: Seen MIBS: Looking in 
':IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB'
 for mib files ...
init_mib: Seen PREFIX: Looking in '.1.3.6.1.2.1' for prefix ...

-----Original Message-----
From: Randall C Grimshaw 
Sent: Thursday, July 15, 2010 11:59 AM
To: 'Dave Shield'
Cc: [email protected]
Subject: RE: snmpget and snmpwalk return corrupt string instead of hex string 
when MAC address starts with non zero

On RHEL I am unable to compile with these configure suggestions

snmp_parse_args.c:637:21: error: invalid suffix "c" on integer constant
make[1]: *** [snmp_parse_args.lo] Error 1
make[1]: Leaving directory `/usr/local/src/net-snmp-5.5/snmplib'
make: *** [subdirs] Error 1

----------------------- clip ---------------------
What happens if you re-run the configure command, but omit "--disable-agent"  ?
(You may need to replace this with "--disable-snmptrapd-subagent")


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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

Reply via email to