I did manage to rebuild check-mk with the following files from nagios 3.5.1: ******************************************* include/broker.h include/cgiauth.h include/cgiutils.h include/comments.h include/common.h include/compat.h include/config.h include/downtime.h include/locations.h include/logging.h include/macros.h include/nagios.h include/nebcallbacks.h include/neberrors.h include/nebmods.h include/nebmodules.h include/nebstructs.h include/objects.h include/perfdata.h include/shared.h include/skiplist.h include/sretention.h include/statusdata.h *******************************************
Where the following small changes are applied: ******************************************* diff -ru include/nagios.h nagios/nagios.h --- include/nagios.h 2013-08-30 21:46:14.000000000 +0400 +++ nagios/nagios.h 2014-09-22 16:17:53.006908559 +0400 @@ -28,6 +28,7 @@ # define NSCORE #endif
+#include "config.h" #include "compat.h" #include "logging.h" #include "common.h" diff -ru include/objects.h nagios/objects.h --- include/objects.h 2013-08-30 21:46:14.000000000 +0400 +++ nagios/objects.h 2014-09-22 16:30:19.467335449 +0400 @@ -174,7 +174,7 @@
/* COMMANDSMEMBER structure */ typedef struct commandsmember_struct { - char *command; + char *command_dummy; #ifdef NSCORE command *command_ptr; #endif *******************************************
livestatus archive with updated headers is attached.
I did manage to rebuild check-mk with the following files from nagios 3.5.1: ******* ******* ******* ******* ******* * nebcallbacks. h nebmodules. h nebstructs. h sretention. h statusdata. h ******* ******* ******* ******* ******* *
*******
include/broker.h
include/cgiauth.h
include/cgiutils.h
include/comments.h
include/common.h
include/compat.h
include/config.h
include/downtime.h
include/locations.h
include/logging.h
include/macros.h
include/nagios.h
include/
include/neberrors.h
include/nebmods.h
include/
include/
include/objects.h
include/perfdata.h
include/shared.h
include/skiplist.h
include/
include/
*******
Where the following small changes are applied: ******* ******* ******* ******* ******* *
*******
diff -ru include/nagios.h nagios/nagios.h
--- include/nagios.h 2013-08-30 21:46:14.000000000 +0400
+++ nagios/nagios.h 2014-09-22 16:17:53.006908559 +0400
@@ -28,6 +28,7 @@
# define NSCORE
#endif
+#include "config.h"
#include "compat.h"
#include "logging.h"
#include "common.h"
diff -ru include/objects.h nagios/objects.h
--- include/objects.h 2013-08-30 21:46:14.000000000 +0400
+++ nagios/objects.h 2014-09-22 16:30:19.467335449 +0400
@@ -174,7 +174,7 @@
/* COMMANDSMEMBER structure */ struct { ******* ******* ******* ******* ******* *
typedef struct commandsmember_
- char *command;
+ char *command_dummy;
#ifdef NSCORE
command *command_ptr;
#endif
*******
livestatus archive with updated headers is attached.