From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933200Ab2C2OiS (ORCPT ); Thu, 29 Mar 2012 10:38:18 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:54343 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933121Ab2C2OiL (ORCPT ); Thu, 29 Mar 2012 10:38:11 -0400 Date: Thu, 29 Mar 2012 16:38:06 +0200 From: Ingo Molnar To: Jiri Olsa Cc: Linus Torvalds , Arnaldo Carvalho de Melo , Peter Zijlstra , Linux Kernel Mailing List Subject: Re: [RFC] perf tools: Including pre-generated flex files Message-ID: <20120329143806.GA18890@gmail.com> References: <20120327181547.GA7374@infradead.org> <20120329122208.GC6949@m.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120329122208.GC6949@m.brq.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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. Thanks, Ingo