
Hi all! During working with libsmi library (0.4.1) I detect some problems. There is a CheckImport() function in data.c file, which returns a integer value. This value is equal to number of not imported items. This function is using in parser-smi.y file. I add some code and functions to libsmi to control this returned value and it works ok (my code return names of items which can't be imported or names of not existing modules). It allowed me to detect import error during importing ObjectSyntax item from SNMPv2-SMI module. I don't know why this error appears. I need some sugestions how can I repair this error. When I use oryginal code of 0.4.1 library and when in my lib file is :
IMPORTS ObjectSyntax FROM SNMPv2-SMI
the "n" variable in CheckImport() function equals 1, but normally there is no checking this returned value in parser-smi.y file.
Please help me. Regards Tom Styczynski