Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hi,mcb30, robinsmidsrod. the Ipxe.efi compilation error
2014-10-23, 16:52
Post: #1
Hi,mcb30, robinsmidsrod. the Ipxe.efi compilation error
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.
Find all posts by this user
Quote this message in a reply
2014-10-28, 07:31
Post: #2
RE: Hi,mcb30, robinsmidsrod. the Ipxe.efi compilation error
(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
Find all posts by this user
Quote this message in a reply
2014-10-30, 19:56
Post: #3
RE: Hi,mcb30, robinsmidsrod. the Ipxe.efi compilation error
Install binutils-devel and that will get you bfd.h

yum install binutils-devel on RH
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)