
I am having trouble trying to generate XML from the RFC1155 and RMON2 mibs using the following command lines on Solaris, respectively:
smidump -f xml -p./RFC1155-SMI -oRFC1158-MIB.xml ./RFC1158-MIB
smidump -f xml -p./SNMPv2-SMI -p./SNMPv2-TC -p./SNMPv2-CONF -p./ifmib.mib -p./TOKEN-RING-RMON-MIB -p./RMON-MIB -oRMON2-MIB.xml ./RMON2-MIB
The first results in a malformed XML with mismatched tags.
The second one results in a coredump every time. A pstack of one of the core dumps is as follows: ff3283b0 findNodeByParentAndSubid (ffbff1d0, 1, 0, b0860, 0, ff38d94c) + 54 ff339500 smiparse (ffbfefd2, 1, 1, ffbff1d0, ffbfef90, 400) + 59d4 ff329e84 loadModule (ffbff56f, 0, 94184, 76c00, ff2e8284, ff2f09b0) + 400 ff32f254 smiLoadModule (ffbff56f, 2, 75ed0, ffbff561, 0, 74c00) + 40 00012d14 main (0, ffbff364, 76c00, 771ac, ff3a00c0, ff3a0100) + 2a8 000121a8 _start (0, 0, 0, 0, 0, 0) + 5c
Any help would be appreciated. Note that these MIBs are used from the mibs/ietf folder of the libsmi distribution.
Thanks Altaf