I'm not sure how to fix it. It is pulled in by build-grub-pep2elf and build-grub-pe2elf. Those are build time programs and so use BUILD_CPPFLAGS; adding CPPFLAGS_GNULIB is probably not appropriate. It compiles just fine with error.h commented out. May be something like
#if !defined(GRUB_BUILD) || defined(HAVE_ERROR_H) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel