Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ejmc4-0006rT-8A for mharc-grub-devel@gnu.org; Tue, 06 Dec 2005 18:52:48 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ejmc2-0006qz-76 for grub-devel@gnu.org; Tue, 06 Dec 2005 18:52:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ejmbz-0006qE-KS for grub-devel@gnu.org; Tue, 06 Dec 2005 18:52:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejmbz-0006qA-F9 for grub-devel@gnu.org; Tue, 06 Dec 2005 18:52:43 -0500 Received: from [64.233.182.201] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ejmcj-0005tT-Vg for grub-devel@gnu.org; Tue, 06 Dec 2005 18:53:30 -0500 Received: by nproxy.gmail.com with SMTP id c31so65905nfb for ; Tue, 06 Dec 2005 15:52:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lIXBwihFA+i1TlXVWHRxgru1ZX6JNpmH+cerr1bBtAbOuPMvlAyXOg49CYVl4k//6lqVjJbwVtnqxE9rz/Xmz/M0t6zlH9ic2x5NzM//C+g67aHqr5Sr+QQzETJIQ7243DUU2w+U3ZzQB0tC8MdkWSKbSYHaxalU19zw8qcYzhE= Received: by 10.48.241.18 with SMTP id o18mr106666nfh; Tue, 06 Dec 2005 15:52:27 -0800 (PST) Received: by 10.48.127.11 with HTTP; Tue, 6 Dec 2005 15:52:27 -0800 (PST) Message-ID: <12b5f1ef0512061552v4980bcd6o5a0948ef5ef00345@mail.gmail.com> Date: Tue, 6 Dec 2005 15:52:27 -0800 From: Nickolai Zeldovich Sender: nickolai.zeldovich@gmail.com To: grub-devel@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: grub2 compilation error on CentOS 4.2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 23:52:46 -0000 I was trying to compile today's grub2 CVS version, and ran into the following problem: host% gmake gcc [...] -c -o grub_emu-normal_lexer.o normal/lexer.c normal/lexer.c: In function `grub_script_yylex': normal/lexer.c:89: error: called object is not a function normal/lexer.c:90: error: syntax error before "return" normal/lexer.c:92: error: called object is not a function normal/lexer.c:93: error: syntax error before '{' token This appears to be due to a rather unfortunate preprocessor macro in grub_script.tab.h: host% grep define.if grub_script.tab.h #define if 258 I'm not sure what's going on, but my version of yacc is generating that output from grub2/normal/parser.y. host% rpm -qf /usr/bin/yacc byacc-1.9-28 -- kolya