Skip to contentSkip to conversation

can't build the current svn version of grub2

Report Yves Blusseau 3 participants 5 messages Oct 29, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

i can't compile the current version of grub2 on my linux system:

gcc -Iscript/sh -I./script/sh -I. -I./include -I./include -Wall -W -DGRUB_LIBDIR=\"/usr/local/lib/echo grub/i386-pc | sed 's,x,x,'\" -g -O2 -DGRUB_UTIL=1 -MD -c -o grub_emu-script_sh_lexer.o script/sh/lexer.c script/sh/lexer.c:25:29: erreur: grub_script.tab.h : Aucun fichier ou dossier de ce type
script/sh/lexer.c: In function ‘grub_script_yylex’:

Seems it doesn't find the file grub_script.tab.h

Regards,
Yves Blusseau

#1 lore raw
Quoted 11 lines · Yves Blusseau

Hi all,

i can't compile the current version of grub2 on my linux system:

gcc -Iscript/sh -I./script/sh -I. -I./include -I./include -Wall -W

(quoted diff) +0 -2
-DGRUB_LIBDIR=\"/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -g
-O2 -DGRUB_UTIL=1 -MD -c -o grub_emu-script_sh_lexer.o script/sh/lexer.c

script/sh/lexer.c:25:29: erreur: grub_script.tab.h : Aucun fichier ou dossier de ce type
script/sh/lexer.c: In function ‘grub_script_yylex’:

Quoted 2 lines

Seems it doesn't find the file grub_script.tab.h

Do you have bison installed?

Quoted 11 lines

Regards,
Yves Blusseau

------------------------------------------------------------------------

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 3 lines
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git 
#2 lore raw
Quoted 13 lines · Vladimir 'phcoder' Serbinenko
Quoted 11 lines · Yves Blusseau

Hi all,

i can't compile the current version of grub2 on my linux system:

gcc -Iscript/sh -I./script/sh -I. -I./include -I./include -Wall -W

(quoted diff) +0 -2
-DGRUB_LIBDIR=\"/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -g
-O2 -DGRUB_UTIL=1 -MD -c -o grub_emu-script_sh_lexer.o script/sh/lexer.c

script/sh/lexer.c:25:29: erreur: grub_script.tab.h : Aucun fichier ou dossier de ce type
script/sh/lexer.c: In function ‘grub_script_yylex’:

Quoted 5 lines
Quoted 3 lines

Seems it doesn't find the file grub_script.tab.h

Do you have bison installed?

Yes i have bison installed and flex too.

#3 lore raw
In reply to Yves Blusseau
Quoted 11 lines · Yves Blusseau

Hi all,

i can't compile the current version of grub2 on my linux system:

gcc -Iscript/sh -I./script/sh -I. -I./include -I./include -Wall -W

(quoted diff) +0 -2
-DGRUB_LIBDIR=\"/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -g
-O2 -DGRUB_UTIL=1 -MD -c -o grub_emu-script_sh_lexer.o script/sh/lexer.c

script/sh/lexer.c:25:29: erreur: grub_script.tab.h : Aucun fichier ou dossier de ce type
script/sh/lexer.c: In function ‘grub_script_yylex’:

Quoted 2 lines

Seems it doesn't find the file grub_script.tab.h

The problem is following commit:
2009-10-26 Robert Millan <[email protected]>

* conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): Moved from here ...
* conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here.
* conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): Remove.
* conf/i386-ieee1275.rmk: Likewise.
* conf/i386-pc.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
* conf/sparc64-ieee1275.rmk: Likewise.
* conf/x86_64-efi.rmk: Likewise.

Quoted 11 lines

Regards,
Yves Blusseau

------------------------------------------------------------------------

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 3 lines
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git 
#4 lore raw
Quoted 17 lines · Vladimir 'phcoder' Serbinenko
Quoted 11 lines · Yves Blusseau

Hi all,

i can't compile the current version of grub2 on my linux system:

gcc -Iscript/sh -I./script/sh -I. -I./include -I./include -Wall -W

(quoted diff) +0 -2
-DGRUB_LIBDIR=\"/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -g
-O2 -DGRUB_UTIL=1 -MD -c -o grub_emu-script_sh_lexer.o script/sh/lexer.c

script/sh/lexer.c:25:29: erreur: grub_script.tab.h : Aucun fichier ou dossier de ce type
script/sh/lexer.c: In function ‘grub_script_yylex’:

Quoted 2 lines

Seems it doesn't find the file grub_script.tab.h

The problem is following commit:
2009-10-26 Robert Millan <[email protected]>

Quoted 9 lines

* conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): Moved from here ...
* conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here.
* conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): Remove.
* conf/i386-ieee1275.rmk: Likewise.
* conf/i386-pc.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
* conf/sparc64-ieee1275.rmk: Likewise.
* conf/x86_64-efi.rmk: Likewise.

Sorry for the inconvenience. When I saw this error, I thought it was the result of using `make -j2' (sometimes we still trigger this sort of errors when using this flag).

I've reverted it. I suppose we can get this straightened out when we switch to a new build system.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."