News:

We really need your input in this questionnaire

Main Menu

MIB Compile Error

Started by bimal, May 02, 2007, 02:18:37 PM

Previous topic - Next topic

terry

Hi,

When I met the error while import a MIB file of Symbol WS-5000 Device.
The error message is as the belows;

"SYMBOL-WS5000-MIB: ERROR 001: Import symbol "BITS" unresolved"

Could you le me know how can I import the MIB file.

Best Regards,
-Terry

Victor Kirhenshtein

Hello!

Looks like your MIB file refers to another MIB file which you don't include in your compilation. Look at the IMPORTS section in your MIB file - it should contain something like

IMPORTS
  .. some text ...
  BITS
  .. some text ..
  FROM another_mib_module

Try to find this additional module and include it in compilation. You can also post your MIB file here, then I'll take a look at it.

Best regards,
Victor

terry

Thanks to your help!

Here is some lines of the MIB file.

  SYMBOL-WS5000-MIB DEFINITIONS ::= BEGIN

    IMPORTS
      DisplayString     
        FROM RFC1213-MIB     
      OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP     
        FROM SNMPv2-CONF     
      enterprises, TimeTicks, IpAddress, Integer32, Unsigned32,
      Gauge32, Counter32, Counter64, BITS, OBJECT-TYPE,
      MODULE-IDENTITY, OBJECT-IDENTITY, NOTIFICATION-TYPE     
        FROM SNMPv2-SMI     
      TEXTUAL-CONVENTION     
        FROM SNMPv2-TC;
                         .....

If I delete BITS character form the MIB file which is define IMPORT module,
then the compilation is well done.

Best Regards,
-Terry