Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compilation error
2012-03-20, 13:27
Post: #1
compilation error
Minor issue during compilation on a Fedora release 14 (Laughlin) box.

"make everything" fails with:

[HOSTCC] util/elf2efi32
util/elf2efi.c:29:17: fatal error: bfd.h: No such file or directory
compilation terminated.
make[2]: *** [util/elf2efi32] Error 1
make[1]: *** [bin-i386-efi/ipxe.efi] Error 2
make: *** [everything] Error 2


can't find the bfd.h file anywhere on the box. Am i missing a pre-req?

Btw, found this thread from 1999, http://lkml.indiana.edu/hypermail/linux/.../0024.html
but, yum shows this:
Package binutils-2.20.51.0.7-8.fc14.i686 already installed and latest version

Help appreciated.

JJ
Find all posts by this user
Quote this message in a reply
2012-03-24, 03:44
Post: #2
RE: compilation error
(2012-03-20 13:27)johnjore Wrote:  Minor issue during compilation on a Fedora release 14 (Laughlin) box.

"make everything" fails with:

[HOSTCC] util/elf2efi32
util/elf2efi.c:29:17: fatal error: bfd.h: No such file or directory
compilation terminated.
make[2]: *** [util/elf2efi32] Error 1
make[1]: *** [bin-i386-efi/ipxe.efi] Error 2
make: *** [everything] Error 2


can't find the bfd.h file anywhere on the box. Am i missing a pre-req?

Btw, found this thread from 1999, http://lkml.indiana.edu/hypermail/linux/.../0024.html
but, yum shows this:
Package binutils-2.20.51.0.7-8.fc14.i686 already installed and latest version

You need the binutils development files, almost certainly in the binutils-devel package.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
2012-03-24, 09:14
Post: #3
RE: compilation error
Thanks for that, it fixed the issue. Now I just need the x64 components:

[BUILD] bin-x86_64-efi/__udivdi3.o
libgcc/__udivdi3.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [bin-x86_64-efi/__udivdi3.o] Error 1
make[1]: *** [bin-x86_64-efi/ipxe.efi] Error 2
make: *** [everything] Error 2

JJ
Find all posts by this user
Quote this message in a reply
2012-03-24, 12:08
Post: #4
RE: compilation error
(2012-03-24 09:14)johnjore Wrote:  Thanks for that, it fixed the issue. Now I just need the x64 components:

[BUILD] bin-x86_64-efi/__udivdi3.o
libgcc/__udivdi3.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [bin-x86_64-efi/__udivdi3.o] Error 1
make[1]: *** [bin-x86_64-efi/ipxe.efi] Error 2
make: *** [everything] Error 2

It looks as though you're building on a 32-bit system that is not capable of building 64-bit binaries. If that's the case, you won't be able to build the 64-bit targets.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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