failure to compile mib example EX1-MIB.mib

Bengt Kleberg bengt.kleberg@REDACTED
Tue Aug 17 12:02:16 CEST 2004


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].)
compilation_failed


erlc will not give me a version, but erl has the following to say:

Erlang (THREADS,HIPE) (BEAM) emulator version 5.3.6.3


bengt



More information about the erlang-questions mailing list