help-grub
[Top][All Lists]
Advanced

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

Re: 2nd Request Cannot compile grub 1.99 from tar.gz source


From: George R . Kasica
Subject: Re: 2nd Request Cannot compile grub 1.99 from tar.gz source
Date: Mon, 23 Jan 2012 11:57:16 -0600

>On Mon, 23 Jan 2012 09:17:58 -0600, you wrote:

>On Mon, Jan 23, 2012 at 08:43, George R. Kasica <address@hidden> wrote:
>
>> reed_solomon.c:707: Warning: ignoring changed section attributes for
>
>.text
>kern/i386/pc/startup.S:161: Error: attempt to move .org backwards
>> make[3]: *** [kern/i386/pc/kernel_exec-startup.o] Error 1
>>
>
>Your earlier email suggests that you are using Gentoo, which has a recent
>compiler.  Try using GCC 4.5 instead like this:
was just a patch I tried from a Google Search without success. It is
being build from the tar.gz from 

ftp://ftp.gnu.org/gnu/grub/grub-1.99.tar.gz

I currently have GCC 4.2.2]

# gcc --version
gcc (GCC) 4.2.2

and am compiling 4.5 at this time

>
>  # ./configure CC=gcc-4.5 TARGET_CC=gcc-4.5
>
 
>You might get more help if you provide more information about your system
>-- like version numbers for distro, compiler, and dependencies -- and make
>it clear that you are trying to build the bzr trunk or a supported branch.
Distro is an old generic build based off Caldera 2.2.3 if I remember
correctly. Kernel is 3.2.1, compiler is above (gcc 4.2.2) nolt sure
what you want for dependacies and as I stated above it's the release
version from ftp.gnu.org 1.99 which I assume is the current stable
release as it is what is running here on another FC16 box.

Does this help?

Also in another suggestion I did the following:

 >> Try increasing
 >> #define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x6e0
 >> in include/grub/offsets.h, but keep it divisible by 8 and don't
increase
 >> too much.
 > Vladimir,
 >
 
I increased to 0x7f0 as shown below:

#define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7f0

 



reply via email to

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