Presumably flex-2.5.35-8.el6.x86_64 doesn't support YY_EXTRA Problem started with
commit 90e2b22dee908c13df256140a0d6527e3e8ea3f4 Author: Jiri Olsa <jo...@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) -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/