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

Re: problem compiling GRUB



hi,

you're probably using the latest version of binutils(2.9.1.15-1). There is
a GAS bug in this(.code 16 directive i think),so your system keeps on
rebooting if you compile grub on your system.gordon matzigkeit is supposed
to have filed a bug report on the GAS bug to the GAS maintainers. i've had
the same problem too and i downgraded to binutils-2.8.1 and it works fine.

hope this helps

Vasisht Reddy


On Fri, 12 Mar 1999, Naomaru Itoi wrote:

> Hi, 
> 
> Maybe not the right question to ask in OSKit ML ... I am sorry if it
> bothers you.  Is there a better ML to ask?
> 
> I compiled GRUB-0.5 on Linux-2.2.3 in Intel Pentium.  Other than four
> warnings attached below, it compiled fine.  However, when I copied
> stage1 and stage2 to a floppy and boots from it, GRUB does not start
> up and the PC keeps rebooting.  Precompiled version of GRUB-0.5 works
> fine, but I would like to build it from source.  Is Linux not a right
> OS to compile GRUB on?  I also tried compiling it on OpenBSD-2.4, but
> configure script did not work.  Which OS should I use?
> 
> Thanks.
> 
> --
> Concentration .. Naomaru Itoi
> 
> 
> >From compilation log:
> 
> gcc -pipe -fno-builtin -nostdinc -O2 -DEXT_C\(x\)="x" -DFSYS_FFS -DNO_DECOMPRESS
> ION -DNO_FANCY_STUFF -DNO_BLOCK_FILES -DCONFIG_FILE_ASM=".string \"/boot/grub/st
> age2\"" -I../shared_src -c ../shared_src/stage1_5.c
> ../shared_src/stage1_5.c: In function `cmain':
> ../shared_src/stage1_5.c:41: warning: `noreturn' function does return
> 
> ld -N -Ttext 2000 -o ffs_stage1_5.exec asm.o char_io.o common.o disk_io.o stage1
> _5.o fsys_ffs.o
> ld: warning: cannot find entry symbol _start; defaulting to 00002000
> 
> ld -N -Ttext 8000 -o stage2.exec asm.o common.o char_io.o boot.o cmdline.o gunzi
> p.o disk_io.o stage2.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o
> ld: warning: cannot find entry symbol _start; defaulting to 00008000
> 
> ld -N -Ttext 8000 -o stage2.exec asm.o common.o char_io.o boot.o cmdline.o gunzi
> p.o disk_io.o stage2.o fsys_ffs.o fsys_ext2fs.o fsys_fat.o
> ld: warning: cannot find entry symbol _start; defaulting to 00008000

******************************************************************************
              Life's unfair - but root password helps!
******************************************************************************



=================================
To subscribe or unsubscribe, send mail with "subscribe" or "unsubscribe"
to oskit-users-request@flux.cs.utah.edu.  The oskit-announce list is low
volume - if you want to subscribe, mail oskit-announce-request@flux.cs.utah.edu


References: