From: Beeblebrox <zaphod@berentweb.com>
To: grub-devel <grub-devel@gnu.org>
Subject: grub-core compile error on FreeBSD
Date: Tue, 14 Oct 2014 14:14:43 +0300 [thread overview]
Message-ID: <20141014141443.10bac3ac@rsbsd.rsb> (raw)
Git repo is at latest head. compile fails due to "missing field 'components' initializer":
gmake[2]: Entering directory '/asp/git/grub/grub-core'
gmake all-am
gmake[3]: Entering directory '/asp/git/grub/grub-core'
cc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem /usr/lib/include -DGRUB_FILE=\"loader/i386/pc/linux.c\" -I. -I. -I.. -I.. -I../include -I../include -I../grub-core/lib/libgcrypt-grub/src/ -Os -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare
-Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations
-Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2 -march=i386 -m32 -freg-struct-return -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -fno-stack-protector -Werror -ffreestanding -MT loader/i386/pc/linux16_module-linux.o -MD -MP -MF loader/i386/pc/.deps-core/linux16_module-linux.Tpo -c -o loader/i386/pc/linux16_module-linux.o `test -f 'loader/i386/pc/linux.c' || echo './'`loader/i386/pc/linux.c
loader/i386/pc/linux.c:391:54: error: missing field 'components' initializer
[-Werror,-Wmissing-field-initializers]
struct grub_linux_initrd_context initrd_ctx = { 0, };
^
1 error generated.
Makefile:33097: recipe for target 'loader/i386/pc/linux16_module-linux.o' failed
gmake[3]: *** [loader/i386/pc/linux16_module-linux.o] Error 1
gmake[3]: Leaving directory '/asp/git/grub/grub-core'
Makefile:22888: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/asp/git/grub/grub-core'
Makefile:11537: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/asp/git/grub'
Makefile:3933: recipe for target 'all' failed
gmake: *** [all] Error 2
next reply other threads:[~2014-10-14 11:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 11:14 Beeblebrox [this message]
2014-10-14 13:30 ` grub-core compile error on FreeBSD Andrei Borzenkov
2014-10-14 15:59 ` Beeblebrox
2014-10-14 16:31 ` Andrei Borzenkov
2014-10-14 18:26 ` Beeblebrox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141014141443.10bac3ac@rsbsd.rsb \
--to=zaphod@berentweb.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).