[erlang-questions] snmpc: Error when compiling RFC 4669 MIB and others

Kenneth Lakin <>
Tue Dec 20 13:48:18 CET 2016

On 12/19/2016 09:11 AM, Daniel Goertzen wrote:
> On the lines that have errors, does it help if you change the type to
> INTEGER? (ie InetAddressType becomes INTEGER).

It does. If I change the type of that object to either INTEGER or
InetAddress, the MIB is accepted by the compiler.

I have a minimal MIB that the compiler chokes on. Other than complaints
about unused imports and about how an object of type "InetAddress" isn't
preceded by an object of type "InetAddressType", other MIB checkers
don't appear to see any problems with it. See:


Switch the type of testObj from InetAddressType to InetAddress to get a
file that'll pass through the snmpc MIB compiler.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161220/e48f5be0/attachment.bin>

More information about the erlang-questions mailing list