[erlang-questions] Undefined type ''Gauge32''? Is SNMPv2-SMI prebuilt into Erlang SNMP MIB Compiler ?

Anish Parameswaran <>
Sun Apr 28 10:08:54 CEST 2013


Hi everyone,

I am trying to compile  an   MIB file  using  erlang  SNMP MIB compiler.
However  the following error is preventing  the compilation

MY-TRAP-MIB.mib: 29: Undefined type ''Gauge32''

The compilation  command is
  erlc +'{group_check,false}'  -I .  MY-TRAP-MIB.mib

The files in current folder
   MY-TRAP-MIB.mib  OTP-MIB.bin  OTP-REG.bin  OTP-TC.bin

The MY-TRAP-MIB.mib   is a modified version from
SNMP_Quick_Start<http://www.trapexit.org/SNMP_Quick_Start>

The file  MY-TRAP-MIB.mib is atatched.

If i remove  the testG32 (Guage32) object from the file , it compiles
successfully.

R16 Documentation tells  that SNMPv2-SMI is prebuilt in Erlang SNMP
compiler. See Importing MIBs section at
http://www.erlang.org/doc/apps/snmp/snmp_mib_compiler.html#id76266

I tried this with Erlang releases  R14B and R16A .

Any help is highly appreciated.

Anish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130428/17e760b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MY-TRAP-MIB.mib
Type: application/octet-stream
Size: 1491 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130428/17e760b8/attachment.obj>


More information about the erlang-questions mailing list