Intially, I used my compiled MIBS under linux and included in netsnmpmibs.
Since there are some conflcts, I decided to compile my MIB freshly in
windows environment.

How do I compile my mib in windows environment using VC++? 

I installed netsnmp and placed my mibs in c:\usr\share\snmp\mibs

I want to compile  my mib. 
I executed mib2c under C:\usr\bin 

"mib2c pethMainPseTable"

But the result is as follows:

"You didn't give mib2c a valid OID to start with.  IE, I could not find
any information about the mib node "".  This could be caused
because you supplied an incorrectly node, or by the MIB that you're
trying to generate code from isn't loaded.  To make sure your mib is
loaded, run mib2c using this as an example:

   env MIBS="+MY-PERSONAL-MIB" mib2c

You might wish to start by reading the MIB loading tutorial at:

   http://www.net-snmp.org/tutorial-5/commands/mib-options.html

And making sure you can get snmptranslate to display information about
your MIB node.  Once snmptranslate works, then come back and try mib2c
again."


Can anyone pls let me know what I have to do?

Thanks


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to