grub-devel
[Top][All Lists]
Advanced

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

Compile error - grub2 EXP branch i386-efi


From: KESHAV P.R.
Subject: Compile error - grub2 EXP branch i386-efi
Date: Sun, 22 Aug 2010 12:43:31 +0530

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



reply via email to

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