nxmibc error compilation
-
Hi,
nxmibc tool can not resolve import symbols:
Resolving imports:
ACCOUNTING-CONTROL-MIB
ACCOUNTING-CONTROL-MIB: ERROR 001: Import symbol "MODULE-IDENTITY" unresolvedResolving imports:
IANA-ADDRESS-FAMILY-NUMBERS-MIB
IANA-ADDRESS-FAMILY-NUMBERS-MIB: ERROR 001: Import symbol "MODULE-IDENTITY" unresolvedResolving imports:
FORTINET-CORE-MIB
FORTINET-CORE-MIB: ERROR 001: Import symbol "Integer32" unresolved...etc.
This was right compiled in previous NetXMS version.
Best regards.
-
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 -
-
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 KirhenshteinParsing source files:
SNMPv2-SMI.txt
Resolving imports:
SNMPv2-SMI
Resolving object identifiers:
SNMPv2-SMI
Creating MIB tree:
SNMPv2-SMIC:\NetXMS\bin>nxmibc SNMPv2-TC.my
NetXMS MIB Compiler Version 1.1.0
Copyright (c) 2005-2010 Victor KirhenshteinParsing source files:
SNMPv2-TC.my
Resolving imports:
SNMPv2-TC
SNMPv2-TC: ERROR 002: Import module "SNMPv2-SMI" unresolvedC:\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
-
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.txtBecause 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 -
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