iPXE discussion forum

Full Version: Hi,mcb30, robinsmidsrod. the Ipxe.efi compilation error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
root@foxwd:~/20141023/ipxe/src# make ./bin-i386-efi/ipxe.efi


[BUILD] bin-x86_64-efi/x86_string.o
[BUILD] bin-x86_64-efi/x86_tcpip.o
[BUILD] bin-x86_64-efi/efix86_nap.o
[BUILD] bin-x86_64-efi/efidrvprefix.o
[BUILD] bin-x86_64-efi/efiprefix.o
[BUILD] bin-x86_64-efi/cpuid_cmd.o
[BUILD] bin-x86_64-efi/hvm.o
[BUILD] bin-x86_64-efi/gdbstub_test.o
[AR] bin-x86_64-efi/blib.a
ar: creating bin-x86_64-efi/blib.a
[HOSTCC] util/elf2efi64
util/elf2efi.c:32:17: 致命错误: bfd.h:没有那个文件或目录
编译中断。
make: *** [util/elf2efi64] 错误 1



My computer using only UEFI, card does not support PXE function. I want to use UEFI to load the iPxe.
Hard disk partition using GPT.
How to realize the.
I downloaded the latest version of iPxe, but the compiler has been wrong.
(2014-10-23 16:52)foxcool Wrote: [ -> ]root@foxwd:~/20141023/ipxe/src# make ./bin-i386-efi/ipxe.efi

Looks like you're trying to compile a 32 bit ipxe.efi.

Most UEFI systems are capable of running a 64 bit version of iPXE. If your CPU is a 64 bit processor, try this build target instead:

Code:
root@foxwd:~/20141023/ipxe/src# make ./bin-x86_64-efi/ipxe.efi
Install binutils-devel and that will get you bfd.h

yum install binutils-devel on RH
Reference URL's