NetXMS Support Forum

English Support => General Support => Topic started by: terry on May 02, 2007, 02:18:37 PM

Title: MIB Compile Error
Post by: terry on May 02, 2007, 02:18:37 PM
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
Title: MIB Compile Error
Post by: Victor Kirhenshtein on May 02, 2007, 04:44:37 PM
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
Title: MIB Compile Error
Post by: terry on May 03, 2007, 04:20:37 AM
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