Advertisement
Guest User

Untitled

a guest
Apr 28th, 2022
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. commands/efi/setup_var.c: In function ‘grub_cmd_setup_var’:
  2. commands/efi/setup_var.c:269:110: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_efi_status_t {aka unsigned int}’ [-Werror=format=]
  3. _ERR_INVALID_COMMAND, "can't get variable using efi (error: 0x%016lx)", status);
  4. ~~~~~^
  5. %016x
  6. commands/efi/setup_var.c:296:58: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_uint64_t {aka long long unsigned int}’ [-Werror=format=]
  7. grub_printf("offset 0x%02x is: 0x%02lx\n", offset, pack_data(tmp_data, offset, var_size));
  8. ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9. %02llx
  10. commands/efi/setup_var.c:305:58: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_uint64_t {aka long long unsigned int}’ [-Werror=format=]
  11. grub_printf("offset 0x%02x is: 0x%02lx\n", offset, pack_data(tmp_data, offset, var_size));
  12. ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13. %02llx
  14. commands/efi/setup_var.c:328:110: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_efi_status_t {aka unsigned int}’ [-Werror=format=]
  15. _ERR_INVALID_COMMAND, "can't set variable using efi (error: 0x%016lx)", status);
  16. ~~~~~^
  17. %016x
  18. commands/efi/setup_var.c:341:65: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_uint64_t {aka long long unsigned int}’ [-Werror=format=]
  19. grub_printf("setting offset 0x%02x to 0x%02lx\n", offset, larger_set_value);
  20. ~~~~^
  21. %02llx
  22. commands/efi/setup_var.c:351:114: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_efi_status_t {aka unsigned int}’ [-Werror=format=]
  23. _ERR_INVALID_COMMAND, "can't set variable using efi (error: 0x%016lx)", status);
  24. ~~~~~^
  25. %016x
  26. commands/efi/setup_var.c:365:65: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_uint64_t {aka long long unsigned int}’ [-Werror=format=]
  27. grub_printf("setting offset 0x%02x to 0x%02lx\n", offset, larger_set_value);
  28. ~~~~^
  29. %02llx
  30. commands/efi/setup_var.c:375:114: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘grub_efi_status_t {aka unsigned int}’ [-Werror=format=]
  31. _ERR_INVALID_COMMAND, "can't set variable using efi (error: 0x%016lx)", status);
  32. ~~~~~^
  33. %016x
  34. cc1: all warnings being treated as errors
  35. Makefile:41199: recipe for target 'commands/efi/setup_var_module-setup_var.o' failed
  36. make[3]: *** [commands/efi/setup_var_module-setup_var.o] Error 1
  37. make[3]: Leaving directory '/home/ubuntu/grub/grub-core'
  38. Makefile:27083: recipe for target 'all' failed
  39. make[2]: *** [all] Error 2
  40. make[2]: Leaving directory '/home/ubuntu/grub/grub-core'
  41. Makefile:11667: recipe for target 'all-recursive' failed
  42. make[1]: *** [all-recursive] Error 1
  43. make[1]: Leaving directory '/home/ubuntu/grub'
  44. Makefile:3525: recipe for target 'all' failed
  45. make: *** [all] Error 2
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement