[OE-core] [PATCH] lttng-tools: fixes a wrong header issue

Nathan Lynch Nathan_Lynch at mentor.com
Mon Sep 26 15:47:40 UTC 2016


On 09/23/2016 05:58 AM, liu.ming50 at gmail.com wrote:
> From: Ming Liu <peter.x.liu at external.atlascopco.com>
> 
> This fixes a following compiling issue:
> | agent.c:33:19: fatal error: error.h: No such file or directory
> |  #include "error.h"
> 
> it's back-ported from lttng-tools upstream, we need it in SRC_URI
> since 2.8 is still the latest release.
> 

[...]

> + src/bin/lttng-sessiond/agent.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c
> +index 7cbbbde..310a7e8 100644
> +--- a/src/bin/lttng-sessiond/agent.c
> ++++ b/src/bin/lttng-sessiond/agent.c
> +@@ -29,7 +29,7 @@
> + #include "agent.h"
> + #include "ust-app.h"
> + #include "utils.h"
> +-#include "error.h"
> ++#include "common/error.h"
> + 
> + #define AGENT_RET_CODE_INDEX(code) (code - AGENT_RET_CODE_SUCCESS)
> + 
> +--

This is fixing an issue that doesn't look like it would be
configuration-dependent; how was the build error provoked?  I've never
seen it.





More information about the Openembedded-core mailing list