[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170595558511.377262.16675125413548801604.b4-ty@kernel.org>
Date: Mon, 22 Jan 2024 12:36:36 -0800
From: Namhyung Kim <namhyung@...nel.org>
To: peterz@...radead.org,
mark.rutland@....com,
linux-kernel@...r.kernel.org,
mingo@...hat.com,
linux-perf-users@...r.kernel.org,
irogers@...gle.com,
alexander.shishkin@...ux.intel.com,
jolsa@...nel.org,
Yang Jihong <yangjihong1@...wei.com>,
adrian.hunter@...el.com,
acme@...nel.org
Subject: Re: [PATCH] perf build: Check whether pkg-config is installed when libtraceevent is linked
On Fri, 12 Jan 2024 03:40:19 +0000, Yang Jihong wrote:
> If pkg-config is not installed when libtraceevent is linked, the build fails.
>
> The error information is as follows:
>
> $ make
> <SNIP>
> In file included from /home/yjh/projects_linux/perf-tool-next/linux/tools/perf/util/evsel.c:43:
> /home/yjh/projects_linux/perf-tool-next/linux/tools/perf/util/trace-event.h:149:62: error: operator '&&' has no right operand
> 149 | #if defined(LIBTRACEEVENT_VERSION) && LIBTRACEEVENT_VERSION >= MAKE_LIBTRACEEVENT_VERSION(1, 5, 0)
> | ^~
> error: command '/usr/bin/gcc' failed with exit code 1
> cp: cannot stat 'python_ext_build/lib/perf*.so': No such file or directory
> make[2]: *** [Makefile.perf:668: python/perf.cpython-310-x86_64-linux-gnu.so] Error 1
> make[2]: *** Waiting for unfinished jobs....
>
> [...]
Applied to perf-tools-next, thanks!
Thanks,
Namhyung
Powered by blists - more mailing lists