<div dir="ltr"><div><div>Hi everyone, <br><br></div>I am trying to compile an MIB file using erlang SNMP MIB compiler. <br></div><div>However the following error is preventing the compilation <br><br>MY-TRAP-MIB.mib: 29: Undefined type ''Gauge32''<br>
<br></div><div>The compilation command is <br> erlc +'{group_check,false}' -I . MY-TRAP-MIB.mib<br><br></div><div>The files in current folder <br> MY-TRAP-MIB.mib OTP-MIB.bin OTP-REG.bin OTP-TC.bin <br>
<br></div><div>The MY-TRAP-MIB.mib is a modified version from <a href=" http://www.trapexit.org/SNMP_Quick_Start">SNMP_Quick_Start</a><br></div><div><br>The file MY-TRAP-MIB.mib is atatched.<br></div><div><br></div>
<div>If i remove the testG32 (Guage32) object from the file , it compiles successfully. <br><br></div><div>R16 Documentation tells that SNMPv2-SMI is prebuilt in Erlang SNMP<br>compiler. See Importing MIBs section at <br>
<a href="http://www.erlang.org/doc/apps/snmp/snmp_mib_compiler.html#id76266">http://www.erlang.org/doc/apps/snmp/snmp_mib_compiler.html#id76266</a> <br><br></div><div>I tried this with Erlang releases R14B and R16A . <br>
</div><div><br></div><div>Any help is highly appreciated.<br></div><div><br></div><div>Anish <br></div><div><br><br><br><br><br></div><div><br></div><div> <br></div><div><br><br></div><div> <br></div><div> <br></div><div>
<br><br><br><br><br></div></div>