[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130912132706.GD23826@gmail.com>
Date: Thu, 12 Sep 2013 15:27:06 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...radead.org>
Cc: linux-tip-commits@...r.kernel.org, linux-kernel@...r.kernel.org,
eranian@...gle.com, paulus@...ba.org, acme@...hat.com,
hpa@...or.com, peterz@...radead.org, efault@....de,
fweisbec@...il.com, adrian.hunter@...el.com, dsahern@...il.com,
tglx@...utronix.de
Subject: perf/compat: Sharpen the libaudit dependencies test
There are older libaudit versions that don't have an audit_errno_to_name()
method, resulting in a builtin-trace.c build error:
builtin-trace.c: In function ‘trace__sys_exit’:
builtin-trace.c:794: warning: implicit declaration of function ‘audit_errno_to_name’
Expand the libaudit test to detect this.
Signed-off-by: Ingo Molnar <mingo@...nel.org>
diff --git a/tools/perf/config/feature-tests.mak b/tools/perf/config/feature-tests.mak
index 708fb8e..5608add 100644
--- a/tools/perf/config/feature-tests.mak
+++ b/tools/perf/config/feature-tests.mak
@@ -210,6 +210,7 @@ define SOURCE_LIBAUDIT
int main(void)
{
+ printf("error message: %s\n", audit_errno_to_name(0));
return audit_open();
}
endef
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists