AW: [MIB Explorer] Questions about compiing MIB definition files

fock at agentpp.com fock at agentpp.com
Thu Mar 9 13:13:19 GMT 2006


Hello Jos,

As indicated in the FAQ, ASN.1 MACROs are not part
of the SMI language. SNMP MIB module specifications
must be written in SMI. That's why the compiler 
complains about ASN.1 MACROS. 

When you download version 2.0.6 (from today), 
all standard modules with that use ASN.1 to define
SMI are built-in. You will still get the errors
if you try to compile MIBs with ASN.1 macros but
correct MIB modules referencing those "boot" MIB
modules like RFC-1212 etc. will compile without
an error.

Hope this helps.

Best regards,
Frank 

>Goodday,
>
> 
>
>I just downloaded the MIB Explorer Pro for evaluation. It first tried to
>compile some MIB's definitions. U use sources extracted from RFC's and
>gathered from the internet (e.g. http://www.snmplink.org
><http://www.snmplink.org/> , http://www.mibdepot.com
><http://www.mibdepot.com/>  as indicated by the MibExplorer Manual). 
>
> 
>
>Now none of the MIB's will compile. The compiler does not accept the
>"<NAME> MACRO" syntax (e.g. OBJECT-TYPE MACRO). Error 1000 tell's me
>that the  MODULE-IDENTITY could be missing, but the MODULE-IDENTITY
>definition is not used in definition files with only macro's and is only
>needed for SMI v2 (?) - the compiler should also be able to handle v1
>syntax?
>
> 
>
>In the next definition 
>
> 
>IpAddress ::=
>    [APPLICATION 0]
>        IMPLICIT OCTET STRING (SIZE (4))
>
> 
>
>... the compiler tells me that the '[' character is illegal (error 50);
>but the syntax seems totally valid to me.
>
> 
>
>I must be missing something. Can somebody tell me what I am doing wrong
>
> 
>
> 
>
>Jos Martens
>
>NS Reizigers Logistiek
>
>Gebouw Leeuwensteyn - 6e etage
>
>Herontwerp Planproces 
>
>030 2353380
>
> 
>
>-------------------------------------------------------------------------------
>-----------
>Deze e-mail, inclusief eventuele bijlage(n), is uitsluitend bestemd voor 
>gebruik door de 
>geadresseerde(n). Indien u dit bericht abusievelijk heeft ontvangen, mag de 
>informatie 
>daarvan niet worden gebruikt of openbaar gemaakt, noch aan derden worden 
>verstrekt. Wij verzoeken u om in dat geval direct contact op te nemen met de 
>afzender en de e-mail te vernietigen.
>
>This e-mail, including any appendix or appendices, is intended solely for use 
>by the 
>addressee(s). If you have received this message in error, the information it 
>contains 
>may not be used or disclosed, nor may it be revealed to third parties. In that 
>case, 
>please contact the sender immediately and destroy the e-mail.
>_______________________________________________
>MIBExplorer mailing list
>MIBExplorer at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/mibexplorer


More information about the MIBExplorer mailing list