
Hi!
I am new to libsmi and I am using version 0.4.1 under Windows XP. Why is it that http://www.ibr.cs.tu-bs.de/projects/libsmi/mibs.html says RFC1213-MIB compiles without warnings or errors while in fact compiling it with "smidump -f xml -c smi.cfg ..\mibs\ietf\RFC1213-MIB -o tmp.xml" results in the following errors:
..\mibs\ietf\RFC1213-MIB:262: index element `ifIndex' of row `ifEntry' must have a range restriction ..\mibs\ietf\RFC1213-MIB:609: index element `atIfIndex' of row `atEntry' must ha ve a range restriction ..\mibs\ietf\RFC1213-MIB:1301: index element `ipNetToMediaIfIndex' of row `ipNet ToMediaEntry' must have a range restriction smidump: module `..\mibs\ietf\RFC1213-MIB' contains errors, expect flawed output
May I simply ignore these reported errors or do I have to rearrange any kind of settings in order to make the compiler run without errors?
Thanks in advance Björn

=?ISO-8859-1?Q?Bj=F6rn Koseler?= writes:
Bjoern> I am new to libsmi and I am using version 0.4.1 under Windows Bjoern> XP. Why is it that Bjoern> http://www.ibr.cs.tu-bs.de/projects/libsmi/mibs.html says Bjoern> RFC1213-MIB compiles without warnings or errors while in fact Bjoern> compiling it with "smidump -f xml -c smi.cfg Bjoern> ..\mibs\ietf\RFC1213-MIB -o tmp.xml" results in the following Bjoern> errors:
[...]
Bjoern> May I simply ignore these reported errors or do I have to Bjoern> rearrange any kind of settings in order to make the compiler Bjoern> run without errors?
The web page propably needs some updates since libsmi these days does more error checking. You can use the -l option to change the warning level or the -i option to turn of specific errors. But that of course does not fix RFC1213-MIB - it just makes you feel better. ;-)
But in this particular case, I would not expect anything dramatic to happen in the xml backend of the compiler.
/js
participants (2)
-
Björn Koseler
-
Juergen Schoenwaelder