help-grub
[Top][All Lists]
Advanced

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

Cannot compile grub 1.99 from tar.gz source


From: George R . Kasica
Subject: Cannot compile grub 1.99 from tar.gz source
Date: Fri, 30 Dec 2011 01:16:36 -0600

In need of some assistance here with building grub 1.99

./configure 

completes without errors 


but with make I get 

gcc -DHAVE_CONFIG_H -I. -I..  -Wall -W -I../include -I../include
-DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC
-DGRUB_FILE=\"kern/i386/pc/startup.S\" -I. -I. -I.. -I.. -I../include
-I../include     -g -m32 -DASM_FILE=1     -MT
kern/i386/pc/kernel_exec-startup.o -MD -MP -MF
kern/i386/pc/.deps-core/kernel_exec-startup.Tpo -c -o
kern/i386/pc/kernel_exec-startup.o `test -f 'kern/i386/pc/startup.S'
|| echo './'`kern/i386/pc/startup.S
reed_solomon.c: Assembler messages:
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
make[3]: Leaving directory `/mnt/scsi-1/Linux/grub-1.99/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/scsi-1/Linux/grub-1.99/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/scsi-1/Linux/grub-1.99'
make: *** [all] Error 2


Not sure how to solve tisone as I've tried patches relating to the
issue and they fail to apply 

]# patch -p0 < gentoo-bug357445.patch patching file
`include/grub/offsets.h'
Hunk #1 FAILED at 38.
1 out of 1 hunk FAILED -- saving rejects to include/grub/offsets.h.rej
address@hidden grub-1.99]# vi gentoo-bug357445.patch 
 
--- include/grub/offsets.h.orig 2011-01-04 12:49:57.000000000 +0100
+++ include/grub/offsets.h      2011-04-03 14:32:04.000000000 +0200
@@ -38,9 +38,9 @@
 #define GRUB_KERNEL_I386_PC_REED_SOLOMON_REDUNDANCY    0x1c
 
 /* The size of the first region which won't be compressed.  */
-#define GRUB_KERNEL_I386_PC_RAW_SIZE           0xca4
+#define GRUB_KERNEL_I386_PC_RAW_SIZE           0xcaa
 
-#define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x70c
+#define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x714
 
 /* The offset of GRUB_PREFIX.  */
 #define GRUB_KERNEL_I386_PC_PREFIX GRUB_KERNEL_I386_PC_RAW_SIZE
 
~ 
Thanks in advance,
George
-- 
===[George R. Kasica]===        +1 262 677 0766
President                       +1 206 374 6482 FAX 
Netwrx Consulting Inc.          Jackson, WI USA 
http://www.netwrx1.com
address@hidden
ICQ #12862186



reply via email to

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