From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Loeliger Subject: Re: Cannot compile the DTC itself Date: Thu, 02 Apr 2009 14:37:40 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: Johns Daniel Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org List-Id: devicetree@vger.kernel.org > I get similar errors for dtc-v1.1.0 and dtc-v1.2.0: > > ... > CC dtc-lexer.lex.o > dtc-lexer.lex.c: In function `yylex': > dtc-lexer.lex.c:762: warning: label `find_rule' defined but not used > dtc-lexer.l: At top level: > dtc-lexer.lex.c:1870: warning: 'yy_flex_realloc' defined but not used > CC dtc-parser.tab.o > dtc-parser.tab.c: In function `yyparse': > dtc-parser.tab.c:1105: warning: implicit declaration of function `YYRHSLOC' > dtc-parser.tab.c:1105: error: request for member `first_line' in What version of flex are you using? Have you tried to install a recent version of flex? HTH, jdl