[coreboot] Grub2 for Coreboot

Nachiketh G nachiketh at gmail.com
Sat Apr 28 21:07:49 CEST 2012

Hi Folks,
I'm new on Coreboot and I'm trying to compile Grub2 as a payload for
Coreboot. I'm following the steps provided under
http://www.coreboot.org/Talk:GRUB2 and i'm getting the following
compilation error:

*cc1: warnings being treated as errors
kern/i386/coreboot/init.c:45:9: error: unknown option after '#pragma GCC
diagnostic' kind
make[3]: *** [kern/i386/coreboot/kernel_exec-init.o] Error 1
make[3]: Leaving directory `/home/nachiketh/coreboot/grub/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nachiketh/coreboot/grub/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nachiketh/coreboot/grub'
make: *** [all] Error 2
Please let me know what I'm doing wrong or is there any step that has got
missed out which is causing this problem.
Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20120429/c1a93c75/attachment.html>

More information about the coreboot mailing list