help-grub
[Top][All Lists]
Advanced

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

Building grub on x86_64 for aarch64 error


From: Loys Ollivier
Subject: Building grub on x86_64 for aarch64 error
Date: Fri, 22 Dec 2017 17:32:44 +0100

Hello everyone,

>From grub's git repository and tag 2.02, I am trying to build grub on my
laptop x86_64. Target is an arm64 architecture.

I simply run:
./autogen.sh
./configure --host=x86_64-linux-gnu --target=aarch64-linux-gnu
--build=x86_64-linux-gnu --with-platform=efi
--prefix=/tmp/grub64-efi_installed
make

But this fails with the following error:
"
loader/efi/fdt.c: In function ‘grub_fdt_load’:
loader/efi/fdt.c:46:15: error: implicit declaration of function
‘grub_efi_get_firmware_fdt’ [-Werror=implicit-function-declaration]
     raw_fdt = grub_efi_get_firmware_fdt();
"

GCC version is gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609

Anyone encountered this issue ? Any help would be appreciated thanks :)

--
Loys OLLIVIER


reply via email to

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