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

Peti Gömöri <>
Sun Apr 28 11:42:08 CEST 2013


Hi Anish,

(Maybe you've already figured that out since)
You need to import Gauge32 type also from SNMPv2-SMI.
(like OTP-MIB does for example)

br
Peter

On Sun, Apr 28, 2013 at 10:08 AM, Anish Parameswaran <
> wrote:

> 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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130428/47f4953a/attachment.html>


More information about the erlang-questions mailing list