lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 23 Jul 2012 20:02:44 +0200
From:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To:	"Kirill A. Shutemov" <kirill@...temov.name>
Cc:	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Paul Mackerras <paulus@...ba.org>,
	Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] perf: fix build error

Em Mon, Jul 23, 2012 at 06:00:44PM +0300, Kirill A. Shutemov escreveu:
> From: "Kirill A. Shutemov" <kirill@...temov.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@...temov.name>

Causes the build to fail for me:

[acme@...dy 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@...dy linux]$ 
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ