The following error occurs while compiling grub2 exp branch with (in Archlinux x86_64 with GCC 4.5.1)
./configure --with-platform=efi --target=i386 --enable-mm-debug --enable-grub-fstest --enable-grub-mkfont --enable-nls --disable-efiemu --host=i686-unknown-linux-gnu The --host I used for specifying the correct GCC version (I have 2 gcc x86_64-unknown-linux-gnu - only x86_64 targets, and i686-unknown-linux-gnu - only i686 targets) Actual error : gcc -melf_i386 -nostdlib -static-libgcc -m32 -Wl,--build-id=none -Wl,-r,-d -o pre-xnu.o xnu_mod-loader_xnu_resume.o xnu_mod-loader_i386_xnu.o xnu_mod-loader_macho32.o xnu_mod-loader_macho64.o xnu_mod-loader_macho.o xnu_mod-loader_xnu.o nm -g --defined-only -P -p pre-xnu.o | sed 's/^\([^ ]*\).*/\1 xnu/' > def-xnu.lst make: *** No rule to make target `include/grub/machine/loader.h', needed by `kernel_syms.lst'. Stop. Aborting... However x86_64-efi compile completes successfully( no error) ./configure --with-platform=efi --target=x86_64 --enable-mm-debug --enable-grub-fstest --enable-grub-mkfont --enable-nls --disable-efiemu Regards. Keshav _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel