grub-devel
[Top][All Lists]
Advanced

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

Re: grub2 ppc test compile problem


From: Hollis Blanchard
Subject: Re: grub2 ppc test compile problem
Date: Sat, 12 Nov 2005 11:58:54 -0600

On Nov 10, 2005, at 2:03 PM, Mark Guertin wrote:

Not sure if this is a grub or distro problem (is pre-release of YDL 4.1). I haven't had time to look at this closely yet, but told Hollis I would post the info so here goes:

This is where it seems to choke out:

if (grub_script_lexer_done)
    return 0;

If anything else is useful please let me know (CC me as I'm not subbed to this list yet).

Mark

<snip>
gcc -Inormal -I../normal -I. -Iinclude -I../include -Wall -W -DGRUB_DATADIR=\"/usr/local/share/grub/powerpc-ieee1275\" -g -O2 -DGRUB_UTIL=1 -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
../normal/lexer.c:84: warning: unused variable `newstate'
../normal/lexer.c:85: warning: unused variable `use'
../normal/lexer.c:86: warning: unused variable `buffer'
../normal/lexer.c:87: warning: unused variable `bp'

Since this problem is so odd, it might be interesting to compile by hand with the gcc line above and add the -save-temps flag, then have a look at the .i file to see if there's any unusual preprocessing going on.

-Hollis





reply via email to

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