* grub2 not compiling - grub_gettext error
@ 2010-05-20 12:21 KESHAV P.R.
2010-05-21 18:13 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 2+ messages in thread
From: KESHAV P.R. @ 2010-05-20 12:21 UTC (permalink / raw)
To: grub-devel
Compiling grub2 for x86_64-UEFI
./configure --with-platform=efi --target=x86_64
--program-transform-name=s,grub,grub2, --enable-efiemu
--enable-mm-debug --enable-grub-fstest --enable-grub-mkfont
--disable-nls --prefix=/grub2_efi_x64
and i386-BIOS
./configure --with-platform=pc --enable-efiemu
--program-transform-name=s,grub,grub2, --enable-grub-emu-usb
--enable-mm-debug --enable-grub-fstest --enable-grub-mkfont
--disable-nls --prefix=/grub2_BIOS
gives the following errors :-
x86_64-UEFI
In file included from ../loader/efi/chainloader.c:36:0:
../include/grub/i18n.h:52:1: error: ‘grub_gettext’ redeclared as
different kind of symbol
../include/grub/i18n.h:25:22: note: previous declaration of
‘grub_gettext’ was here
make: *** [chain_mod-loader_efi_chainloader.o] Error 1
i386-BIOS
In file included from ../commands/i386/pc/drivemap.c:29:0:
../include/grub/i18n.h:52:1: error: ‘grub_gettext’ redeclared as
different kind of symbol
../include/grub/i18n.h:25:22: note: previous declaration of
‘grub_gettext’ was here
make: *** [drivemap_mod-commands_i386_pc_drivemap.o] Error 1
I am not a programmer, but after checking bzr log I guess grub2 bzr
revision 2381 is the culprit.
I also have one more question, can ruby 1.9 and python3 be used to
compile grub2? I read that python3 is incompatible with python2. When
I tried to compile grub2 bzr r2384 with python2 and ruby 1.9, I got
the following errors while using autogen.sh command :
genmk.rb: warning: shadowing outer local variable - util
genmk.rb: warning: shadowing outer local variable - program
lines repeating many times but the configure still continues. With
ruby 1.8 these errors do not occur. I use Archlinux x86_64 (it is a
rolling release distro) and the ruby version currently available is
1.9.1 . Can these errors be ignored or will they affect the compiled
program?
In GRUB2 Manual http://grub.enbug.org/Manual , the grub2 shell help
command is described as "a command that annoyingly scrolls all the
useful commands past your screen size". Any idea of introducing a
pagebreak option like "help -b" that will wait for the user to press
down arrow key or the spacebar or the like to read the entire list of
commands. On the other hand the entire list of commands can be seen by
pressing just <TAB> at grub> prompt, although the list looks awkward.
This "srcolling past screen" behaviour of help command will become a
problem in case of grub rescue shell as tab completion does not exist
in that. So please change it. Thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: grub2 not compiling - grub_gettext error
2010-05-20 12:21 grub2 not compiling - grub_gettext error KESHAV P.R.
@ 2010-05-21 18:13 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-05-21 18:13 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 2949 bytes --]
Fixed
KESHAV P.R. wrote:
> Compiling grub2 for x86_64-UEFI
>
> ./configure --with-platform=efi --target=x86_64
> --program-transform-name=s,grub,grub2, --enable-efiemu
> --enable-mm-debug --enable-grub-fstest --enable-grub-mkfont
> --disable-nls --prefix=/grub2_efi_x64
>
> and i386-BIOS
>
> ./configure --with-platform=pc --enable-efiemu
> --program-transform-name=s,grub,grub2, --enable-grub-emu-usb
> --enable-mm-debug --enable-grub-fstest --enable-grub-mkfont
> --disable-nls --prefix=/grub2_BIOS
>
> gives the following errors :-
>
> x86_64-UEFI
>
> In file included from ../loader/efi/chainloader.c:36:0:
> ../include/grub/i18n.h:52:1: error: ‘grub_gettext’ redeclared as
> different kind of symbol
> ../include/grub/i18n.h:25:22: note: previous declaration of
> ‘grub_gettext’ was here
> make: *** [chain_mod-loader_efi_chainloader.o] Error 1
>
> i386-BIOS
>
> In file included from ../commands/i386/pc/drivemap.c:29:0:
> ../include/grub/i18n.h:52:1: error: ‘grub_gettext’ redeclared as
> different kind of symbol
> ../include/grub/i18n.h:25:22: note: previous declaration of
> ‘grub_gettext’ was here
> make: *** [drivemap_mod-commands_i386_pc_drivemap.o] Error 1
>
> I am not a programmer, but after checking bzr log I guess grub2 bzr
> revision 2381 is the culprit.
>
> I also have one more question, can ruby 1.9 and python3 be used to
> compile grub2? I read that python3 is incompatible with python2. When
> I tried to compile grub2 bzr r2384 with python2 and ruby 1.9, I got
> the following errors while using autogen.sh command :
>
> genmk.rb: warning: shadowing outer local variable - util
> genmk.rb: warning: shadowing outer local variable - program
>
> lines repeating many times but the configure still continues. With
> ruby 1.8 these errors do not occur. I use Archlinux x86_64 (it is a
> rolling release distro) and the ruby version currently available is
> 1.9.1 . Can these errors be ignored or will they affect the compiled
> program?
>
> In GRUB2 Manual http://grub.enbug.org/Manual , the grub2 shell help
> command is described as "a command that annoyingly scrolls all the
> useful commands past your screen size". Any idea of introducing a
> pagebreak option like "help -b" that will wait for the user to press
> down arrow key or the spacebar or the like to read the entire list of
> commands. On the other hand the entire list of commands can be seen by
> pressing just <TAB> at grub> prompt, although the list looks awkward.
> This "srcolling past screen" behaviour of help command will become a
> problem in case of grub rescue shell as tab completion does not exist
> in that. So please change it. Thank you.
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-21 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 12:21 grub2 not compiling - grub_gettext error KESHAV P.R.
2010-05-21 18:13 ` Vladimir 'φ-coder/phcoder' Serbinenko
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.