On Sat, 29 Jan 2005 01:00:43 -0800 [EMAIL PROTECTED] wrote:
WC> 
WC> configure: error: mib module "dot11/mfd/dot11StationConfigTable" requires
WC> module"dot11StationConfigTable_interface" but
WC> dot11StationConfigTable_interface.h or dot11StationConfigTable_interface.c
WC> could not be found in ./agent/[EMAIL PROTECTED] net-snmp-5.2.1]#
     
WC>     /*
WC>      * other required module components
WC>      */
WC>     /* *INDENT-OFF*  */
WC> config_require(dot11StationConfigTable_interface);
WC> config_require(dot11StationConfigTable_data_access);
WC> config_require(dot11StationConfigTable_data_get);
WC> config_require(dot11StationConfigTable_data_set);
WC>     /* *INDENT-ON*  */
WC>                
WC> 
WC> So, one issue is that the directory prefix is not part of the macros.

Right. That's because mib2c generates the code in the directory you run in. It
doesn't look at the directory structure to figure out a path. You might copy it
to somewhere else anyway...

WC> I would argue that the MIB compiler should automatically
WC> include the directory prefix in the config_require macro statements.

Even if it tried to do that, it would have assumed a single directory in
mibgroups, and you put it two levels down. IE, we can't predict what users will
do, so we don't try.

It may be possible to make some improvement, but for the moment, editing the
config_requires to include the path (mfd/dot...) is the solution.

WC> I have checked for construction of the previously missing routines,
WC> 
WC>    dot11StationConfigTable_undo_setup
WC>    dot11StationConfigTable_undo_cleanup
WC> 
WC> and they are now part of the output of MIB compilation.

Excellent.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to