Attached is a version of your patch that seems to work for me. If you're happy with this (and no-one else objects), we might as well apply it, and move on to the next issue. Dave
Index: win32/net-snmp/agent/mib_module_config.h =================================================================== --- win32/net-snmp/agent/mib_module_config.h (revision 18566) +++ win32/net-snmp/agent/mib_module_config.h (working copy) @@ -16,7 +16,11 @@ #define USING_NOTIFICATION_MODULE 1 /* Define if compiling with the notification-log-mib module files. */ +#ifdef HAVE_WIN32_PLATFORM_SDK +#define USING_NOTIFICATION_LOG_MIB_NOTIFICATION_LOG_MODULE 1 +#else /* #undef USING_NOTIFICATION_LOG_MIB_NOTIFICATION_LOG_MODULE */ +#endif /* Define if compiling with the target module files. */ #define USING_TARGET_MODULE 1 Index: win32/netsnmpmibssdk/Makefile.in =================================================================== --- win32/netsnmpmibssdk/Makefile.in (revision 18566) +++ win32/netsnmpmibssdk/Makefile.in (working copy) @@ -62,6 +62,7 @@ -...@erase "$(INTDIR)\snmpEngine.obj" -...@erase "$(INTDIR)\snmpMPDStats.obj" -...@erase "$(INTDIR)\snmpNotifyFilterProfileTable.obj" + -...@erase "$(INTDIR)\notification_log.obj" -...@erase "$(INTDIR)\snmpNotifyFilterTable.obj" -...@erase "$(INTDIR)\snmpNotifyFilterTable_data_access.obj" -...@erase "$(INTDIR)\snmpNotifyFilterTable_interface.obj" @@ -161,6 +162,7 @@ "$(INTDIR)\usmStats.obj" \ "$(INTDIR)\usmUser.obj" \ "$(INTDIR)\snmpNotifyFilterProfileTable.obj" \ + "$(INTDIR)\notification_log.obj" \ "$(INTDIR)\snmpNotifyFilterTable.obj" \ "$(INTDIR)\snmpNotifyFilterTable_data_access.obj" \ "$(INTDIR)\snmpNotifyFilterTable_interface.obj" \ @@ -269,6 +271,7 @@ -...@erase "$(INTDIR)\snmpEngine.obj" -...@erase "$(INTDIR)\snmpMPDStats.obj" -...@erase "$(INTDIR)\snmpNotifyFilterProfileTable.obj" + -...@erase "$(INTDIR)\notification_log.obj" -...@erase "$(INTDIR)\snmpNotifyFilterTable.obj" -...@erase "$(INTDIR)\snmpNotifyFilterTable_data_access.obj" -...@erase "$(INTDIR)\snmpNotifyFilterTable_interface.obj" @@ -369,6 +372,7 @@ "$(INTDIR)\usmStats.obj" \ "$(INTDIR)\usmUser.obj" \ "$(INTDIR)\snmpNotifyFilterProfileTable.obj" \ + "$(INTDIR)\notification_log.obj" \ "$(INTDIR)\snmpNotifyFilterTable.obj" \ "$(INTDIR)\snmpNotifyFilterTable_data_access.obj" \ "$(INTDIR)\snmpNotifyFilterTable_interface.obj" \ @@ -576,6 +580,12 @@ $(CPP) $(CPP_PROJ) $(SOURCE) +SOURCE=..\..\agent\mibgroup\notification-log-mib\notification_log.c + +"$(INTDIR)\notification_log.obj" : $(SOURCE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + SOURCE=..\..\agent\mibgroup\snmp-notification-mib\snmpNotifyFilterTable\snmpNotifyFilterTable.c "$(INTDIR)\snmpNotifyFilterTable.obj" : $(SOURCE) "$(INTDIR)"
------------------------------------------------------------------------------
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
