MFD tutorial

Francois Bouchard <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAAZiaZf6uX1VRs9Okdk23RJJvJZXH5xVnEMbW6K0NTCi96CtLA@mail.gmail.com>
Hi list,
Trying to generate code using the mib2c.mfd.conf but it failed as you can
see:

$ mib2c -c mib2c.mfd.conf AlarmTable


Defaults for AlarmTable...
There are existing defaults for 0 (defaults/table-0.m2d).
r)econfigure or u)se existing [default=u] : writing to defaults/table-0.m2d
Starting MFD code generation...
writing to AlarmTable.h
MIB search path: /home/fbouchard/.snmp/mibs:/
usr/local/share/snmp/mibs
Cannot find module (NetSNMP): At line 1 in (none)
Can't parse: NetSNMP::OID
Use of uninitialized value in subroutine entry at
/usr/local/lib/perl/5.10.1/NetSNMP/OID.pm line 127, <GEN2> line 126.
NetSNMP::OID::_snmp_oid_compare: oid2 is not of type netsnmp_oidPtr at
/usr/local/lib/perl/5.10.1/NetSNMP/OID.pm line 127, <GEN2> line 126.



With the mib2c.array-user.conf or mib2c.iterate.conf it works ok.

Francois

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2

_______________________________________________
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.