
I've compiled the latest cvs version if libsmi with VS .NET under windows XP.
I've come across an access violation when running the smiquery application (with no modifications) when requestin node information on any item in the IF- MIB mib (for example IF-IB::ifNumber.0). The error occurs in data.c line 3511 which is this if statment:
if ((objectPtr->typePtr->export.basetype == SMI_BASETYPE_OCTETSTRING || objectPtr->typePtr->export.basetype == SMI_BASETYPE_BITS))
The objectPtr->typePtr->export address does appear to be valid, but VC++ reports that objectPtr->typePtr->export.basetype cannot be evaluated. I've not modified any of the source and I've also tried the packaged files available on the web site with the same result. I've tries other MIB entries including ones in SNMPv2-MIB, RFC1213-MIB, IP-MIB, TCP-MIB and UDP-MIB without any problems, it just appears to occur ith IF-MIB.
Anyone got any ideas on this one?
Many Thanks.
Nick Thomson.