On 23/05/07, Need Help <[EMAIL PROTECTED]> wrote:
> 3) I created subdirectories for each table and scalar located with the
> OC-STB-HOST-MIB file as follows:
   [snip]
> 4) I went into each table and scalar subdirectory and generated code using
> the "mib2c" command with the "mib2c.mfd.conf" configuration file

Robert's the expert on this framework, but I believe you should be
able to generate code for all the tables in one go.

Try running "mib2c -c mib2c.mfd.conf ocStbHostRoot"
(where 'ocStbHostRoot' is the parent node of all the tables).

That ought to generate code for each of the tables,
plus a header file "ocStbHostRoot.h" to link them all together.

Compiling this into the main agent is then just a matter of
copying this tree into the 'agent/mibgroup' subdirectory of
the source tree, and running

    configure --with-mib-modules=ocStbHostRoot

Robert - feel free to correct any inaccuracies in the above.


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to