From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub2 compilation error on CentOS 4.2
Date: Wed, 07 Dec 2005 11:36:39 +0100 [thread overview]
Message-ID: <87r78pgpmw.fsf@xs4all.nl> (raw)
In-Reply-To: <12b5f1ef0512061552v4980bcd6o5a0948ef5ef00345@mail.gmail.com> (Nickolai Zeldovich's message of "Tue, 6 Dec 2005 15:52:27 -0800")
Nickolai Zeldovich <nickolai@cs.stanford.edu> writes:
Hi Nickolai,
> 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
Thanks for your report!
You have to use bison. The autoconf test yet has to be changed to
enforce that.
--
Marco
next prev parent reply other threads:[~2005-12-07 12:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 23:52 grub2 compilation error on CentOS 4.2 Nickolai Zeldovich
2005-12-07 10:36 ` Marco Gerards [this message]
2005-12-07 11:03 ` Lubomir Kundrak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r78pgpmw.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.