Hi Folks,<br>I'm new on Coreboot and I'm trying to compile Grub2 as a payload for Coreboot. I'm following the steps provided under <a href="http://www.coreboot.org/Talk:GRUB2">http://www.coreboot.org/Talk:GRUB2</a> and i'm getting the following compilation error:<br>
<br><i>cc1: warnings being treated as errors<br>kern/i386/coreboot/init.c:45:9: error: unknown option after '#pragma GCC diagnostic' kind<br>make[3]: *** [kern/i386/coreboot/kernel_exec-init.o] Error 1<br>make[3]: Leaving directory `/home/nachiketh/coreboot/grub/grub-core'<br>
make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/home/nachiketh/coreboot/grub/grub-core'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/nachiketh/coreboot/grub'<br>make: *** [all] Error 2<br>
</i><br>Please let me know what I'm doing wrong or is there any step that has got missed out which is causing this problem.<br>Thanks in advance!<br><br>Regards,<br>Nachiketh<br>