grub-devel
[Top][All Lists]
Advanced

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

Re: grub2 not compiling - grub_gettext error


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: grub2 not compiling - grub_gettext error
Date: Fri, 21 May 2010 20:13:43 +0200
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)

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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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