Re: [RFC] perf tools: Including pre-generated flex files

From: Arnaldo Carvalho de Melo
Date: Thu Mar 29 2012 - 11:45:22 EST


Em Thu, Mar 29, 2012 at 04:38:06PM +0200, Ingo Molnar escreveu:
> * Jiri Olsa <jolsa@xxxxxxxxxx> 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.

I don't think so, I discussed this with him and I'm fixing it.

There are several problems, the generate rules weren't obeying O=, etc,
I think I got it fixed, testing now.

- arnaldo
--
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/