Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dpe0N-0005hs-9O for mharc-grub-devel@gnu.org; Wed, 06 Sep 2017 13:20:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpe0K-0005gI-Ld for grub-devel@gnu.org; Wed, 06 Sep 2017 13:20:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpe0G-0007sA-LZ for grub-devel@gnu.org; Wed, 06 Sep 2017 13:20:44 -0400 Received: from mga14.intel.com ([192.55.52.115]:20643) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpe0G-0007rR-Cy for grub-devel@gnu.org; Wed, 06 Sep 2017 13:20:40 -0400 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2017 10:20:38 -0700 Message-Id: X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,354,1500966000"; d="scan'208";a="148860481" Received: from jbkonno-tarlowe.jf.intel.com ([10.54.75.23]) by fmsmga006.fm.intel.com with ESMTP; 06 Sep 2017 10:20:38 -0700 Date: Wed, 6 Sep 2017 10:20:31 -0700 From: Joe Konno To: grub-devel@gnu.org Subject: loader/multiboot.c: unable to compile due to undefined symbols Organization: Intel Corporation MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/hAgJwbcauAg4l0tfxlr0D3N"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.115 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 17:20:45 -0000 --Sig_/hAgJwbcauAg4l0tfxlr0D3N Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey gang, =46rom latest grub sources (HEAD): 1b18d6b0d348 Add a file missing in multiboot2 commit. After configuring like this: ./configure --enable-boot-time --enable-cache-stats --target=3Dx86_64 -= -with-platform=3Defi I am unable to compile grub from source due to the following undefined symb= ol errors. (I'm coming in to the grub-devel community cold, so if you'd like me to drop this into the bug tracker, let me know how best to do so.) """ loader/multiboot.c: In function =E2=80=98efi_boot=E2=80=99: loader/multiboot.c:142:47: error: =E2=80=98MULTIBOOT2_EFI_INITIAL_STATE=E2= =80=99 undeclared (first use in this function); did you mean =E2=80=98MULTI= BOOT_EFI_INITIAL_STATE=E2=80=99? struct grub_relocator_efi_state state_efi =3D MULTIBOOT2_EFI_INITIAL_STA= TE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ MULTIBOOT_EFI_INITIAL_STATE loader/multiboot.c:142:47: note: each undeclared identifier is reported onl= y once for each function it appears in loader/multiboot.c:146:44: error: =E2=80=98grub_multiboot_payload_eip=E2=80= =99 undeclared (first use in this function); did you mean =E2=80=98grub_mul= tiboot2_payload_eip=E2=80=99? state_efi.MULTIBOOT_EFI_ENTRY_REGISTER =3D grub_multiboot_payload_eip; ^~~~~~~~~~~~~~~~~~~~~~~~~~ grub_multiboot2_payload_eip make[3]: *** [Makefile:35921: loader/multiboot2_module-multiboot.o] Error 1 """ For build environment, Fedora 26 for x86_64 (using Fedora 26's gcc, captured when querying glibc): $ /lib64/libc.so.6=20 GNU C Library (GNU libc) stable release version 2.25, by Roland McGrath et = al. Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 7.1.1 20170622 (Red Hat 7.1.1-3). Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B libc ABIs: UNIQUE IFUNC Cheers, hope that helps --Sig_/hAgJwbcauAg4l0tfxlr0D3N Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkQ//qyfF7ERwiWhKjYhH1S9KqmYFAlmwLl8ACgkQjYhH1S9K qmawyQ/+NDaaWoPSalypPp3F5YbTrm3trQKiR5EU3fiIzKwN/ZA8T648N2YbNp4l 18x0uL6Uhn++RZZLcUkKyAN01MeLZqwHhw+/ljBzxHGBR/5u4bXmlj7drr5NwuRy zKy/rxip94jsqXbmjg4p/XrVr2v9xxqWMFsP0XwdiajoS6CIaVS8/ygflFB+Flul knSAb1ZqYTX5Uj+B5L+Wi+o9OEaA9bU081s/W/atBh6dfHQfZj2rxiXkoGCKxSJi Pk0m8RsRMFe4d43UWdeZuPVCkMID7hlZnglflJ6OrF2KnfOyE9VIKohVyOacTpDr 50TYR/WkAx47dTRgoLya6/dgFyKvInhxRETsCOFBZS3/W60/R0temIux6n332ybd 5zN6xuHoImABGGEZNdUYNx8KtCyBLTXCa449iyp2OaV4wWvlComks6H3zOSOhzHf u5DBSOQ8+v1VFWHLfBAubmP4Nn1TmgOy9Mc5xy7dFY7kjX1Vwbn8RmSXT9iM9UGX GMfz/PXSpWjak/p0Sxm1Q1YRHLxL70GxWOMzVdFifIbObY8nH8L+1VbIZvPW36qM 7IJw3EP3pjl7US5ANu3oEa794lzQ3/JmV/43+O96IIkQDz2EobSN7L/E8E0N3qP3 HotWLnOWKLw80rsAgTafeZmn89uEezmdeq9AtZmj+plrhSE0FvA= =woJf -----END PGP SIGNATURE----- --Sig_/hAgJwbcauAg4l0tfxlr0D3N--