From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGxTQ-0001pW-IP for qemu-devel@nongnu.org; Thu, 20 Oct 2011 14:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGxTM-0007OG-Ul for qemu-devel@nongnu.org; Thu, 20 Oct 2011 14:36:12 -0400 Message-ID: <4EA06A01.5080806@redhat.com> Date: Thu, 20 Oct 2011 20:35:45 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1318897082-27413-1-git-send-email-agraf@suse.de> <4E9D3EE5.8050402@suse.de> <20111018113745.GE6655@truffala.fritz.box> In-Reply-To: <20111018113745.GE6655@truffala.fritz.box> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] PPC: Fail configure when libfdt is not available List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?windows-1252?Q?Andreas_F=E4rber?= , Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org Hi, > If there are build problems with libfdt on any platform let me know > about them. I would like it to build clean as widely as possible, but > I don't have that great a diversity of build environments, so I have > to reply on bug reports. Fails to build on RHEL-5: CC convert-dtsv0-lexer.lex.o cc1: warnings being treated as errors convert-dtsv0-lexer.lex.c:693: warning: no previous prototype for =91yyle= x=92 make: *** [convert-dtsv0-lexer.lex.o] Error 1 Removing -Werror from the Makefile gets me a bit further: CC dtc-lexer.lex.o dtc-lexer.lex.c:683: warning: no previous prototype for =91yylex=92 dtc-lexer.l: In function =91push_input_file=92: dtc-lexer.l:192: warning: implicit declaration of function =91yypush_buffer_state=92 dtc-lexer.l:192: warning: nested extern declaration of =91yypush_buffer_s= tate=92 dtc-lexer.l: In function =91pop_input_file=92: dtc-lexer.l:201: warning: implicit declaration of function =91yypop_buffer_state=92 dtc-lexer.l:201: warning: nested extern declaration of =91yypop_buffer_st= ate=92 CC dtc-parser.tab.o LD dtc dtc-lexer.lex.o: In function `push_input_file': /home/buildbot/git/dtc/dtc-lexer.l:192: undefined reference to `yypush_buffer_state' dtc-lexer.lex.o: In function `pop_input_file': /home/buildbot/git/dtc/dtc-lexer.l:201: undefined reference to `yypop_buffer_state' collect2: ld returned 1 exit status make: *** [dtc] Error 1 I guess the flex version shipped with RHEL-5 is too old. $ rpm -qf $(which lex) flex-2.5.4a-41.fc6 cheers, Gerd