[ Sorry for the delay in responding to this ]
> I am trying to compile a mib module as a shared object to be used as > a plugin for the standard agent. The source code is written in C++ > and uses the old ucd-snmp api. I am getting the compilation error: > > 'header_generic' undeclared. This is typically declared in > mibgroup/util_funcs.h. Do any of your code/header files #include this header file ? > The header file does contain the directive: > config_require(util_funcs) That's something different. This is used by the "configure" script to determine what to put in the various agent Makefiles. This directive is ignored when it comes to actually compiling the code. You still need an explicit #include for the 'header_generic.h' file in either the source file or the header file. Dave ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users