Bonjour Vaughan, On 02/07/2019 09:45 AM, Vaughan Butler wrote:
For those attempting to install GRUB from the tarball, (I suspect very few), there are a couple of compilation errors.I managed to fix these using info found on the web for: /In file included from grub-core/disk/ldm.c:26:// //./include/grub/gpt_partition.h:79:1: error: alignment 1 of ‘struct grub_gpt_partentry’ is less than 8 [-Werror=packed-not-aligned]// // } GRUB_PACKED;/ https://github.com/Marcel-Lambacher/TrustedGRUB2/pull/1/commits/f7c7ddd4dcb2ead8c02efa1b761097ef8e117c19 / //grub_script.yy.c: In function 'yy_fatal_error':/ https://build.opensuse.org/package/view_file/Base:System/grub2/grub2-fix-build-with-flex-2.6.4.patch?expand=0 HTH Vaughan
I do not confirm, there is warning, but no error (what am I missing here?).
Compiled grub is used to boot (so it is functionnal).
on my side:
gcc-8.2.0
grub-2.0.2
My compilation procedure is not "LFS pure" (but close enough)
./autogen.sh
BUILD_FREETYPE=no \
./configure \
--prefix=%{_prefix} \
--exec-prefix=%{_exec_prefix} \
--sysconfdir=%{_sysconfdir} \
--sbindir=%{_sbindir} \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--infodir=%{_infodir} \
--docdir=%{_defaultdocdir}/%{name}-%version \
--disable-efiemu \
--disable-werror \
--disable-grub-mkfont \
--
seen "Linux from scratch" and looking for ISO files
www.osukiss.org
smime.p7s
Description: S/MIME Cryptographic Signature
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
