Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. nxmibc error compilation

nxmibc error compilation

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 38.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    testos
    wrote on last edited by
    #1

    Hi,

    nxmibc tool can not resolve import symbols:

    Resolving imports:
      ACCOUNTING-CONTROL-MIB
    ACCOUNTING-CONTROL-MIB: ERROR 001: Import symbol "MODULE-IDENTITY" unresolved

    Resolving imports:
      IANA-ADDRESS-FAMILY-NUMBERS-MIB
    IANA-ADDRESS-FAMILY-NUMBERS-MIB: ERROR 001: Import symbol "MODULE-IDENTITY" unresolved

    Resolving imports:
      FORTINET-CORE-MIB
    FORTINET-CORE-MIB: ERROR 001: Import symbol "Integer32" unresolved

    ...etc.

    This was right compiled in previous NetXMS version.

    Best regards.


    ACCOUNTING-CONTROL-MIB.txt

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      Just check it on my machine, attached MIB compiles without problem together with all MIBs included in NetXMS distribution. May be you have broken or missing file SNMPv2-SMI.txt?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        testos
        wrote on last edited by
        #3

        Hi Victor.

        You were right again. I had broken "SNMPv2-SMI.txt" file.
        nxmibc tool work fine again.

        thx

        1 Reply Last reply
        0
        • A
          A
          aggie0642
          wrote on last edited by
          #4

          I think I might have the same issue.

          Here is what I get :

          C:\NetXMS\bin>nxmibc SNMPv2-SMI.txt
          NetXMS MIB Compiler  Version 1.1.0
          Copyright (c) 2005-2010 Victor Kirhenshtein

          Parsing source files:
            SNMPv2-SMI.txt
          Resolving imports:
            SNMPv2-SMI
          Resolving object identifiers:
            SNMPv2-SMI
          Creating MIB tree:
            SNMPv2-SMI

          C:\NetXMS\bin>nxmibc SNMPv2-TC.my
          NetXMS MIB Compiler  Version 1.1.0
          Copyright (c) 2005-2010 Victor Kirhenshtein

          Parsing source files:
            SNMPv2-TC.my
          Resolving imports:
            SNMPv2-TC
          SNMPv2-TC: ERROR 002: Import module "SNMPv2-SMI" unresolved

          C:\NetXMS\bin>nxmibc SNMPv2-TC.my

          How do I know if my SNMPv2-SMI is broken? It seems to import correctly and I downloaded them directly from cisco.

          Thanks

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            Hi!

            nxmibc reads only mib files passed to him at command line. So, if you wish to compile two mibs together, you should use command

            nxmibc SNMPv2-TC.my SNMPv2-SMI.txt
            

            Because usually there are lot of MIB files, most often used form is

            nxmibc -d mibdir

            Option -d instructs nxmibc to read all files with extension .txt from given directory.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • A
              A
              aggie0642
              wrote on last edited by
              #6

              Ok I got it. Thanks.

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups