Advertisement
dyeske

Untitled

Sep 27th, 2017
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. % cd ~/contrib/tmp/ipxe/src && gmake clean && time gmake CC=/usr/local/libexec/ccache/world/gcc5 bin-x86_64-efi/ipxe.efi
  2. rm -f bin{,-*}/*.* bin{,-*}/.certificate.* bin{,-*}/.certificates.* bin{,-*}/.private_key.* bin{,-*}/errors bin{,-*}/NIC ./util/zbin ./util/elf2efi32 ./util/elf2efi64 ./util/efirom ./util/efifatbin ./util/iccfix ./util/einfo TAGS bin{,-*}/symtab
  3. [VERSION] bin-x86_64-efi/version.ipxe.efi.o
  4. [LD] bin-x86_64-efi/ipxe.efi.tmp
  5. [HOSTCC] util/elf2efi64
  6. util/elf2efi.c:68:0: error: "ELF_R_TYPE" redefined [-Werror]
  7. #define ELF_R_TYPE ELF64_R_TYPE
  8. ^
  9. In file included from /usr/include/x86/elf.h:131:0,
  10. from /usr/include/machine/elf.h:6,
  11. from /usr/include/elf.h:37,
  12. from util/elf2efi.c:34:
  13. /usr/include/sys/elf_generic.h:82:0: note: this is the location of the previous definition
  14. #define ELF_R_TYPE __ELFN(R_TYPE)
  15. ^
  16. util/elf2efi.c:69:0: error: "ELF_R_SYM" redefined [-Werror]
  17. #define ELF_R_SYM ELF64_R_SYM
  18. ^
  19. In file included from /usr/include/x86/elf.h:131:0,
  20. from /usr/include/machine/elf.h:6,
  21. from /usr/include/elf.h:37,
  22. from util/elf2efi.c:34:
  23. /usr/include/sys/elf_generic.h:81:0: note: this is the location of the previous definition
  24. #define ELF_R_SYM __ELFN(R_SYM)
  25. ^
  26. cc1: all warnings being treated as errors
  27. gmake: *** [Makefile.housekeeping:1389: util/elf2efi64] Error 1
  28. rm bin-x86_64-efi/version.ipxe.efi.o
  29. gmake CC=/usr/local/libexec/ccache/world/gcc5 bin-x86_64-efi/ipxe.efi 1.50s user 0.16s system 100% cpu 1.654 total
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement