failure to compile mib example EX1-MIB.mib
Martin Bjorklund
mbj@REDACTED
Tue Aug 17 12:15:55 CEST 2004
Bengt Kleberg <bengt.kleberg@REDACTED> wrote:
> greetings,
>
> this is a simple user error. i will try to find out what i am doing
> wrong, but perhaps somebody has made this mistake before and remembers it?
>
> i have taken the mib example EX1-MIB.mib from the Implementation Example
> in the SNMP User's Guide. i have shortened it so that it look like this:
>
> EX1-MIB DEFINITIONS ::= BEGIN
>
> IMPORTS
> RowStatus FROM STANDARD-MIB
> DisplayString FROM RFC1213-MIB
> OBJECT-TYPE FROM RFC-1212
> ;
>
> example1 OBJECT IDENTIFIER ::= { experimental 7 }
>
> END
>
> i try to compile it and get the error:
>
> EX1-MIB.mib: 9: Error: OBJECT IDENTIFIER defined in terms of undefined
> parent object. Parent: 'experimental'.(Sub-indexes: [7].)
This means that 'experimental' is undefined. You have to import it
(you can look in the original EX1-MIB also):
IMPORTS
experimental FROM RFC1155-SMI
/martin
More information about the erlang-questions
mailing list