All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] perf: fix build error
Date: Mon, 23 Jul 2012 21:16:08 +0300	[thread overview]
Message-ID: <20120723181608.GA24558@shutemov.name> (raw)
In-Reply-To: <20120723180244.GB5418@infradead.org>

On Mon, Jul 23, 2012 at 08:02:44PM +0200, Arnaldo Carvalho de Melo wrote:
> Em Mon, Jul 23, 2012 at 06:00:44PM +0300, Kirill A. Shutemov escreveu:
> > From: "Kirill A. Shutemov" <kirill@shutemov.name>
> > 
> > util/parse-events.c:29:5: error: redundant redeclaration of ‘parse_events_parse’ [-Werror=redundant-decls]
> > In file included from util/parse-events.c:14:0:
> > util/parse-events-bison.h:99:5: note: previous declaration of ‘parse_events_parse’ was here
> > cc1: all warnings being treated as errors
> > 
> > Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
> 
> Causes the build to fail for me:
> 
> [acme@sandy linux]$ make -j8 -C tools/perf/ O=/home/acme/git/build/perf install
> make: Entering directory `/home/git/linux/tools/perf'
> PERF_VERSION = 3.5.rc7.235.g5e5fcb
> make: Leaving directory `/home/git/linux/tools/perf'
> make: Entering directory `/home/git/linux/tools/perf'
>     GEN perf-archive
> make[1]: Entering directory `/home/git/linux/tools/lib/traceevent'
>     CC /home/acme/git/build/perf/perf.o
>     CC /home/acme/git/build/perf/util/parse-events.o
> make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
>     CC /home/acme/git/build/perf/util/map.o
>     CC /home/acme/git/build/perf/util/session.o
>     CC /home/acme/git/build/perf/util/trace-event-parse.o
> make[2]: `libtraceevent.a' is up to date.
> make[1]: Leaving directory `/home/git/linux/tools/lib/traceevent'
> cc1: warnings being treated as errors
> util/parse-events.c: In function ‘parse_events__scanner’:
> util/parse-events.c:701: error: implicit declaration of function ‘parse_events_parse’
> util/parse-events.c:701: error: nested extern declaration of ‘parse_events_parse’
> make: *** [/home/acme/git/build/perf/util/parse-events.o] Error 1
> make: *** Waiting for unfinished jobs....
> make: Leaving directory `/home/git/linux/tools/perf'
> [acme@sandy linux]$ 

What bison version do you have?

-- 
 Kirill A. Shutemov

  reply	other threads:[~2012-07-23 18:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 15:00 Kirill A. Shutemov
2012-07-23 15:00 ` [PATCH 2/2] perf: use XSI-complaint version of strerror_r() instead of GNU-specific Kirill A. Shutemov
2012-07-23 18:00   ` Ulrich Drepper
2012-07-23 20:31     ` Kirill A. Shutemov
2012-07-23 20:48       ` Ulrich Drepper
2012-07-23 21:06         ` Kirill A. Shutemov
2012-07-23 22:03           ` Ulrich Drepper
2012-07-24  0:56           ` Namhyung Kim
2012-07-25 19:30           ` [tip:perf/core] perf tools: " tip-bot for Kirill A. Shutemov
2012-07-23 18:02 ` [PATCH 1/2] perf: fix build error Arnaldo Carvalho de Melo
2012-07-23 18:16   ` Kirill A. Shutemov [this message]
2012-07-23 18:18     ` Arnaldo Carvalho de Melo
2012-07-23 19:51       ` Kirill A. Shutemov
2012-07-23 21:04         ` Kirill A. Shutemov
2012-07-24  0:38           ` Namhyung Kim
2012-07-25 19:30           ` [tip:perf/core] perf tools: Fix build error with bison 2.6 tip-bot for Kirill A. Shutemov

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=20120723181608.GA24558@shutemov.name \
    --to=kirill@shutemov.name \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@ghostprotocols.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=paulus@samba.org \
    --subject='Re: [PATCH 1/2] perf: fix build error' \
    /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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.