I have a small problem in generating code for an experimental mib i wrote. I have a mib called MY-MIB and it has a table MyTable.
when I try to run mib2c to generate the skeletal c code for MyTable I always get the message "you didn't give me a valid OID to start with at /usr/bin/mib2c line 115." I have tried various options with mib2c like : mib2c -c mib2c.iterate.conf -m ALL -M <the path of my mib file> MY-MIB::MyTable Prior to this I also ran export MIBS=ALL My mib loads in any browser and also if i run the following command : snmptranslate -m ALL -M <the path of my mib file> -T pd MY-MIB::MyTable the output is a well defined tree structure. So I think the oid is perfectly fine. I've also tried to generate the code for some the table in the NET-SNMP-EXAMPLES-MIB and it works. Now what might the problem be?? Does mib2c have to be built with the information of the new mibs? I think this is unlikely. Or is there something I've missed. Viren ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users