MIB files do not compile because of missing imported MIB files or with missing object definitions from standard SMI MIIBs.
SNMP4J-SMI and SNMP4J-SMI-PRO provide built-in MIB modules (see table below) that are part of the SMIv1 and SMIv2 specifications.
Although you could compile your own versions of those MIB modules, it is strongly recommended to never compile your own versions for the following reasons:
- The original MIB specifications of those modules are written in ASN.1 and not SMI because those MIB modules are meant to define SMI. Thus, those MIB modules boot the SMI standard using ASN.1. A SMI compiler will and should not be able to compile them properly.
- In the World Wide Web there exists many versions of those MIB modules which were modified in many ways - often to circumvent (1) but also to add company specific "extensions" or modifications. Any of those generally prohibit a successful compilation of other MIB modules that expect clean standard versions.
The built-in MIB modules of SNMP4J-SMI and SNMP4J-SMI-PRO are: