Hey,

While making sure we support out of tree build for lttng-tools master/stable-2.6/stable-2.5 I found that 2.5 was failing at oot build. After some digging, it looks like a patch submitted to fix this problem was not backported to 2.5.

The commit in question currently in master and 2.6 branch :

commit 4900d3cd9c4accc131a6a79986151cf3e6236031
Author: Mathieu Desnoyers <[email protected]>
Date:   Tue Jul 29 18:10:27 2014 -0400

    Fix: out of tree build by adding missing ini.c include

    Signed-off-by: Mathieu Desnoyers <[email protected]>
    Signed-off-by: David Goulet <[email protected]>

diff --git a/src/common/config/ini.c b/src/common/config/ini.c
index 4369a32..7b2a4b6 100644
--- a/src/common/config/ini.c
+++ b/src/common/config/ini.c
@@ -31,9 +31,11 @@
  * http://code.google.com/p/inih/
  */

+#define _GNU_SOURCE
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
+#include <common/common.h>

 #include "ini.h"

Cheers!

--
Jonathan R. Julien
Efficios


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to