public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Current perf tool does not compile anymore on RHEL6
@ 2012-09-18 17:29 Andi Kleen
  2012-09-18 17:38 ` Arnaldo Carvalho de Melo
  2012-09-24 10:28 ` Jiri Olsa
  0 siblings, 2 replies; 5+ messages in thread
From: Andi Kleen @ 2012-09-18 17:29 UTC (permalink / raw)
  To: acme, jolsa, Zheng Yan; +Cc: linux-kernel


Presumably flex-2.5.35-8.el6.x86_64 doesn't support YY_EXTRA

Problem started with

commit 90e2b22dee908c13df256140a0d6527e3e8ea3f4
Author: Jiri Olsa <jolsa@redhat.com>
Date:   Fri Jun 15 14:31:40 2012 +0800

    perf/tool: Add support to reuse event grammar to parse out terms


Unfortunately needs several other patches reverted too to revert.


    CC /home/ak/lsrc/obj-perf/util/symbol.o
util/parse-events.c: In function ‘parse_events__scanner’:
util/parse-events.c:695: warning: implicit declaration of function
‘parse_events_lex_init_extra’
util/parse-events.c:695: warning: nested extern declaration of
‘parse_events_lex_init_extra’
util/parse-events.c:699: error: too many arguments to function
‘parse_events__scan_string’
util/parse-events.c:706: error: too many arguments to function
‘parse_events__flush_buffer’
util/parse-events.c:707: error: too many arguments to function
‘parse_events__delete_buffer’
util/parse-events.c:708: error: too many arguments to function
‘parse_events_lex_destroy’
util/parse-events.c: In function ‘parse_events_terms’:
util/parse-events.c:722: error: ‘PE_START_TERMS’ undeclared (first use
in this function)
util/parse-events.c:722: error: (Each undeclared identifier is reported
only once
util/parse-events.c:722: error: for each function it appears in.)
util/parse-events.c: In function ‘parse_events’:
util/parse-events.c:741: error: ‘PE_START_EVENTS’ undeclared (first use
in this function)


-- 
ak@linux.intel.com -- Speaking for myself only

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-24 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 17:29 Current perf tool does not compile anymore on RHEL6 Andi Kleen
2012-09-18 17:38 ` Arnaldo Carvalho de Melo
2012-09-24 10:28 ` Jiri Olsa
2012-09-24 12:05   ` Jiri Olsa
2012-09-24 13:12     ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox