Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: grub2 not compiling - grub_gettext error
Date: Fri, 21 May 2010 20:13:43 +0200	[thread overview]
Message-ID: <4BF6CD57.4000306@gmail.com> (raw)
In-Reply-To: <AANLkTikHI6UxK98DZXWqxu9MK7-2N2TsCNBYewu64UMv@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2010-05-21 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 12:21 grub2 not compiling - grub_gettext error KESHAV P.R.
2010-05-21 18:13 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF6CD57.4000306@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox