From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933576Ab2C2PpX (ORCPT ); Thu, 29 Mar 2012 11:45:23 -0400 Received: from merlin.infradead.org ([205.233.59.134]:59174 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932527Ab2C2PpS (ORCPT ); Thu, 29 Mar 2012 11:45:18 -0400 Date: Thu, 29 Mar 2012 12:45:11 -0300 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Jiri Olsa , Linus Torvalds , Peter Zijlstra , Linux Kernel Mailing List Subject: Re: [RFC] perf tools: Including pre-generated flex files Message-ID: <20120329154511.GI8482@infradead.org> References: <20120327181547.GA7374@infradead.org> <20120329122208.GC6949@m.brq.redhat.com> <20120329143806.GA18890@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120329143806.GA18890@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by canuck.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Mar 29, 2012 at 04:38:06PM +0200, Ingo Molnar escreveu: > * Jiri Olsa 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