Newly installed 0.2.16 generates errors. Installation problem?

I just installed libsmi-0.2.16 in my solaris server. I get this following error message when I try to generate the oid tree:
->smidump -f tree NICKEL-GLOBAL-REGISTRY.mib > ./treeOut NICKEL-GLOBAL-REGISTRY.mib:17: identifier `MODULE-IDENTITY' cannot be imported from module `SNMPv2-SMI' NICKEL-GLOBAL-REGISTRY.mib:17: identifier `OBJECT-IDENTITY' cannot be imported from module `SNMPv2-SMI' NICKEL-GLOBAL-REGISTRY.mib:49: invalid STATUS `current' in SMIv1 MIB NICKEL-GLOBAL-REGISTRY.mib:58: invalid STATUS `current' in SMIv1 MIB NICKEL-GLOBAL-REGISTRY.mib:67: invalid STATUS `current' in SMIv1 MIB
I would like to get rid of these errors. (This mib file compiles without errors in SMICng and other mib compilers and the generated also tree appears to be correct.)
TIA
Sam

Sam Mohan writes:
Sam> I just installed libsmi-0.2.16 in my solaris server. I get this Sam> following error message when I try to generate the oid tree:
[...]
Sam> I would like to get rid of these errors. (This mib file compiles Sam> without errors in SMICng and other mib compilers and the Sam> generated also tree appears to be correct.)
Nobody can help you without having access to the MIB file.
/js

Hi!
Sam Mohan writes:
Sam> I just installed libsmi-0.2.16 in my solaris server. I get this Sam> following error message when I try to generate the oid tree:
Sam> smidump -f tree NICKEL-GLOBAL-REGISTRY.mib > ./treeOut
Sam> NICKEL-GLOBAL-REGISTRY.mib:17: identifier `MODULE-IDENTITY' cannot be Sam> imported from module `SNMPv2-SMI' Sam> NICKEL-GLOBAL-REGISTRY.mib:17: identifier `OBJECT-IDENTITY' cannot be Sam> imported from module `SNMPv2-SMI' Sam> NICKEL-GLOBAL-REGISTRY.mib:49: invalid STATUS `current' in SMIv1 MIB Sam> NICKEL-GLOBAL-REGISTRY.mib:58: invalid STATUS `current' in SMIv1 MIB Sam> NICKEL-GLOBAL-REGISTRY.mib:67: invalid STATUS `current' in SMIv1 MIB
Sam> I would like to get rid of these errors. (This mib file compiles without Sam> errors in SMICng and other mib compilers and the generated also tree Sam> appears to be correct.)
Most probably you don't have the whole bunch of ietf MIBs in your libsmi search path. You need at least SNMPv2-SMI since your NICKEL-GLOBAL-REGISTRY is importing from it. If you configure, compile and install libsmi with the default settings, everything should be fine.
See the smi_config man page for the different ways to control the search path.
-frank -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
participants (3)
-
Frank Strauss
-
Juergen Schoenwaelder
-
Sam Mohan