From: Namhyung Kim <namhyung@kernel.org>
To: peterz@infradead.org, mark.rutland@arm.com,
linux-kernel@vger.kernel.org, mingo@redhat.com,
linux-perf-users@vger.kernel.org, irogers@google.com,
alexander.shishkin@linux.intel.com, jolsa@kernel.org,
Yang Jihong <yangjihong1@huawei.com>,
adrian.hunter@intel.com, acme@kernel.org
Subject: Re: [PATCH] perf build: Check whether pkg-config is installed when libtraceevent is linked
Date: Mon, 22 Jan 2024 12:36:36 -0800 [thread overview]
Message-ID: <170595558511.377262.16675125413548801604.b4-ty@kernel.org> (raw)
In-Reply-To: <20240112034019.3558584-1-yangjihong1@huawei.com>
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
prev parent reply other threads:[~2024-01-22 20:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-12 3:40 Yang Jihong
2024-01-16 21:38 ` Namhyung Kim
2024-01-22 20:36 ` Namhyung Kim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=170595558511.377262.16675125413548801604.b4-ty@kernel.org \
--to=namhyung@kernel.org \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=irogers@google.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=yangjihong1@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®