bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile error and Runtime error


From: Bean
Subject: Re: Compile error and Runtime error
Date: Wed, 28 May 2008 11:36:23 +0800

On Wed, May 28, 2008 at 9:57 AM, James Linden <address@hidden> wrote:
> Description:
>  I don't know if the compile error and the runtime errors are related, but
> I'm going to put them into one thread for the moment...
>
> Environment:
>  grub:     1.96
>  bison:    2.3
>  kernel:   2.6.25.2
>  gcc:      4.3.0
>  glibc:    2.7
>  make:     3.81
>
>
> Situation (compile):
>  ./normal/parser.y: In function 'grub_script_yyparse':
>  ./normal/parser.y:58: error: expected ';' before '}' token
>  make: *** [normal_mod-grub_script_tab.o] Error 1
>
> Current code:
>  script_init:    { state->err = 0} script
>
> Proposed change:
>  script_init:    { state->err = 0; } script

Well, my bison doesn't complain. Adding the semicolon make it look
better though.

>
>
> Situation (runtime):
>  When booting grub, the following error appears:
>        Warning: syntax error (missing slash) in '?'
>  Press a key, and another error appears:
>        Warning: syntax error (missing slash) in ''
>  Press a key again, and the normal grub menu and operations continue as
> expected...
>
>  The config file is well-formed, and has no syntax errors in it, so I can
> only guess that the error is coming from something internal.

First of all, try the cvs version. If the problem still exists, paste
the content of your grub.cfg here.

-- 
Bean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]