Current perf tool does not compile anymore on RHEL6

From: Andi Kleen
Date: Tue Sep 18 2012 - 13:29:44 EST



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

Problem started with

commit 90e2b22dee908c13df256140a0d6527e3e8ea3f4
Author: Jiri Olsa <jolsa@xxxxxxxxxx>
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@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/