lkml.org 
[lkml]   [2012]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] perf tools: Including pre-generated flex files

* Jiri Olsa <jolsa@redhat.com> wrote:

> I just tried to generate the parser on RHEL6 and got:
>
> CC util/parse-events-bison.o
> util/parse-events-bison.c:222:6: error: "YYENABLE_NLS" is not defined
> util/parse-events-bison.c:664:6: error: "YYLTYPE_IS_TRIVIAL" is not
> defined

Have you first deleted all the autogenerated files via:

rm -f util/pmu-* and util/parse-events-*

? ['make clean' should also do this - it doesn't, right now.]

Otherwise you could be mixing different versions of the parser
files.

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-03-29 16:41    [W:2.247 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site