make failed with below errors after run configure with below parameters and make. Please advise me how to fix it.
$ ./configure --target=x86_64 --with-platform=efi --disable-werror
$ make
ERRORS::
sh gensyminfo.sh $m >> syminfo.lst.new || exit 1; done
mv syminfo.lst.new syminfo.lst
cat syminfo.lst | sort | mawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1)
grub_TPM_measure_buffer in linux is not defined
grub_TPM_measure_buffer in linux16 is not defined
grub_TPM_measure_buffer in luks is not defined
grub_TPM_unseal in luks is not defined
grub_TPM_measure_buffer in multiboot is not defined
grub_TPM_measure_file in multiboot is not defined
grub_TPM_measure_buffer in multiboot2 is not defined
grub_TPM_measure_file in multiboot2 is not defined
grub_TPM_measure_string in normal is not defined
Makefile:42814: recipe for target 'moddep.lst' failed
make[3]: [moddep.lst] Error 1
make[3]: Leaving directory '/.../TrustedGRUB2-master/grub-core'
Makefile:23620: recipe for target 'all' failed
make[2]: [all] Error 2
make[2]: Leaving directory '/.../TrustedGRUB2-master/grub-core'
Makefile:10903: recipe for target 'all-recursive' failed
make[1]: [all-recursive] Error 1
make[1]: Leaving directory '/.../TrustedGRUB2-master'
Makefile:3129: recipe for target 'all' failed
make: [all] Error 2
Build Environment:
OS - Ubuntu 18.04
GCC version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
EDITED:
Cause of this issue was "--with-platform=efi" because trustedGRUB2 doesn't support EFI so far
Hello,
make failed with below errors after run configure with below parameters and make. Please advise me how to fix it.
$ ./configure --target=x86_64 --with-platform=efi --disable-werror $ make
ERRORS:: sh gensyminfo.sh $m >> syminfo.lst.new || exit 1; done mv syminfo.lst.new syminfo.lst cat syminfo.lst | sort | mawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1) grub_TPM_measure_buffer in linux is not defined grub_TPM_measure_buffer in linux16 is not defined grub_TPM_measure_buffer in luks is not defined grub_TPM_unseal in luks is not defined grub_TPM_measure_buffer in multiboot is not defined grub_TPM_measure_file in multiboot is not defined grub_TPM_measure_buffer in multiboot2 is not defined grub_TPM_measure_file in multiboot2 is not defined grub_TPM_measure_string in normal is not defined Makefile:42814: recipe for target 'moddep.lst' failed make[3]: [moddep.lst] Error 1 make[3]: Leaving directory '/.../TrustedGRUB2-master/grub-core' Makefile:23620: recipe for target 'all' failed make[2]: [all] Error 2 make[2]: Leaving directory '/.../TrustedGRUB2-master/grub-core' Makefile:10903: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/.../TrustedGRUB2-master' Makefile:3129: recipe for target 'all' failed make: [all] Error 2
Build Environment: OS - Ubuntu 18.04 GCC version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
EDITED: Cause of this issue was "--with-platform=efi" because trustedGRUB2 doesn't support EFI so far