All of lore.kernel.org
 help / color / mirror / Atom feed
* grub2 compilation error on CentOS 4.2
@ 2005-12-06 23:52 Nickolai Zeldovich
  2005-12-07 10:36 ` Marco Gerards
  2005-12-07 11:03 ` Lubomir Kundrak
  0 siblings, 2 replies; 3+ messages in thread
From: Nickolai Zeldovich @ 2005-12-06 23:52 UTC (permalink / raw)
  To: grub-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-07 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-06 23:52 grub2 compilation error on CentOS 4.2 Nickolai Zeldovich
2005-12-07 10:36 ` Marco Gerards
2005-12-07 11:03 ` Lubomir Kundrak

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.