On 01/06/07, Need Help <[EMAIL PROTECTED]> wrote: > The "--with-mib-modules" option seems to tell NetSNMP to "look for" the > "agent/mibgroup/OC-STB-HOST-MIB.h" file only rather than create it.
That's correct. "configure" is used for compiling the software. "mib2c" is used for generating code. These are different tasks, so use different tools. > You stated that the "--with-mib-modules" option should mention each "table". > Does this mean each table defined in the MIB should be listed in this > option? I thought I should only list the name of the MIB file only, not > list all my table names. More precisely, "--with-mib-modules" should list all of the "MIB modules" that should be included in the SNMP agent. A "MIB module" is simply a group of (presumably) related code files. Typically, this will usually be the code needed to implement a particular MIB file, but this is purely a convention. It's perfectly valid for this to refer to only part of a MIB file, or to several MIB files, or even code that doesn't strictly refer to a MIB file at all. Take a look at the existing 'agent/mibgroup' directory and compare this to the output of "configure --help". You'll see how most of the tokens listed there work by pulling in a number of different code files, directories etc. Configure doesn't try to dictate how the code should be structured. This is left flexible, so that the developer can organise things as they see fit. 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders