On Wed, 01 Sep 2004 11:20:42 +1000 Gary wrote: GP> I recently installed the rpms GP> net-snmp-cmaX-devel-5.1-83.rhel.i386 GP> net-snmp-cmaX-5.1-83.rhel.i386 GP> for compatibility with a customer. GP> GP> In compiling my subagent [...] I got the following error: GP> GP> /usr/include/net-snmp/agent/table_mfd.h: At global scope: GP> /usr/include/net-snmp/agent/table_mfd.h:20: GP> conflicting types for GP> `struct netsnmp_request_group' GP> /usr/include/net-snmp/agent/table_array.h:79: GP> previous declaration as GP> `typedef struct netsnmp_request_group_s netsnmp_request_group' GP> GP> I tried commenting out the offending line in table_mfd.h and the GP> compile and link completed, and the subagent worked. GP> GP> I checked the source code for 5.0.9 and 5.1.1 and neither have GP> table_mfd.h in include/net-snmp/agent.
The MFD helper code was started in the main cvs branch, but was not completed before 5.1 was released. It was removed completely in 5.1.1. It will make its debut in the soon-to-be-released 5.2. You can safely comment out all references to any MFD files. -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
