grub-devel
[Top][All Lists]
Advanced

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

build issue with 631a820: missing initialiser [-Werror=missing-field-ini


From: The Gluglug
Subject: build issue with 631a820: missing initialiser [-Werror=missing-field-initializers]
Date: Tue, 14 Oct 2014 03:45:29 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here is how I try to build GRUB (to be used as a coreboot payload):

git clone git://git.savannah.gnu.org/grub.git
cd grub
./autogen.sh
./configure --with-platform=coreboot
make

Usually this works, but recently I get this error:

loader/i386/pc/linux.c: In function ‘grub_cmd_initrd’:
loader/i386/pc/linux.c:391:10: error: missing initialiser
[-Werror=missing-field-initializers]
loader/i386/pc/linux.c:391:10: error: (near initialisation for
‘initrd_ctx.components’) [-Werror=missing-field-initializers]
cc1: all warnings being treated as errors
make[3]: *** [loader/i386/pc/linux16_module-linux.o] Error 1
make[3]: Leaving directory `/home/user/libreboot/grub/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/libreboot/grub/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/libreboot/grub'
make: *** [all] Error 2

I tracked it down to commit 631a82003851ca68bfaf87e12be5c94e14cd2a91.
Short of reverting the commit, what is the best way to go about
solving this issue?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJUPI5IAAoJEP9Ft0z50c+Ug64IAMeQEmnQcj82JEBllTh1rAs7
2YT39SxdzUmQK2LG5Lq6yv7Soh3hgVhObHhokGrs8lEgzV4jVELkPnzIrLFG/Mqk
akOXQSUlM8ra7ZNwTW5ThlDETqQjkj98T2yL2sDXClBCm/u9FFzN6eybcM0jUIfd
pa8rW53B4snG5DOmcmjvo5VQX1Gr7WPYUGPiSuqfqlqePhsiUkea6jzMmkTwhukW
oqeyFmNrZ3VIzobhy/4wKmD104/IzLeyaaMBlWOLl4qc9/HSLJhR5i62BaqC2GAS
jEjDfO0uvrE7C24St902lBezCPxyB11lhZEU18uy/KA1BY08C2Ie0qmHPmvaGls=
=mk/h
-----END PGP SIGNATURE-----



reply via email to

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