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.

** Attachment added: "livestatus archive with updated headers"
   
https://bugs.launchpad.net/ubuntu/+source/check-mk/+bug/1372284/+attachment/4211528/+files/livestatus.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1372284

Title:
  nagios3 + livestatus: SIGSEGV everyday at midnight

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/check-mk/+bug/1372284/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to