From: Jiri Olsa <jolsa@redhat.com>
To: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Namhyung Kim <namhyung.kim@lge.com>,
David Ahern <dsahern@gmail.com>
Subject: Re: [PATCH] perf symbol: Include elf.h header regardless LIBELF_SUPPORT
Date: Wed, 2 Jan 2013 16:11:42 +0100 [thread overview]
Message-ID: <20130102151141.GF931@krava.brq.redhat.com> (raw)
In-Reply-To: <1356679009-32122-1-git-send-email-namhyung@kernel.org>
On Fri, Dec 28, 2012 at 04:16:49PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@lge.com>
>
> The elf.h header file is used for NO_LIBELF build too so it should be
> included anyway. Also remove duplicated include of the header file in
> symbol-*.c. This patch fixes following build error on NO_LIBELF build:
>
> CC tests/hists_link.o
> tests/hists_link.c: In function ‘setup_fake_machine’:
> tests/hists_link.c:132:8: error: ‘STB_GLOBAL’ undeclared (first use in this function)
> tests/hists_link.c:132:8: note: each undeclared identifier is reported only once for each function it appears in
>
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: David Ahern <dsahern@gmail.com>
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
next prev parent reply other threads:[~2013-01-02 15:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-28 7:16 Namhyung Kim
2013-01-02 15:11 ` Jiri Olsa [this message]
2013-01-25 11:31 ` [tip:perf/core] perf symbols: " tip-bot for Namhyung Kim
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=20130102151141.GF931@krava.brq.redhat.com \
--to=jolsa@redhat.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@ghostprotocols.net \
--cc=dsahern@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=namhyung.kim@lge.com \
--cc=namhyung@kernel.org \
--cc=paulus@samba.org \
/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®