New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: "ARRAY_SIZE" redefined [-Werror] #10
Comments
Not getting that error on my machine, using latest edk2 (from git):
You may want to refrain from adding any option that I am not adding on my scripts |
@pbatard Copy / pasting those commands, I still get the error. Could this be an issue with my GCC version? What version are you using?
|
|
I'm @ |
@pbatard I cannot find that edk2 commit on GitHub, either the main repo or your fork. |
My bad, was working on an edk2 branch related to pbatard/RaspberryPiPkg where I had applied some (completely unrelated) EDK2 patches. But I'm still not replicating your issue when using edk2 @
|
@pbatard What other variables are there? Any other tools that I might need to get a different version of? |
Also, any chance your work trees aren't clean? |
I made sure to issue |
Besides, for what is worth, I would encourage you to use the gnu-efi version rather than the EDK2 version of the drivers, as we found that some platforms seemed not to like the EDK2 binaries (pbatard/rufus#1213), whereas they were fine with the gnu-efi ones. |
Fair enough. But still, there's some variable we're not accounting for here. |
Yes, I know. But I'm afraid I don't have the time to investigate this further on my side. |
Closing. |
Trying to follow the instructions at https://github.com/pbatard/efifs#bonus-commands-to-compile-efifs-using-edk2-on-a-vanilla-debian-gnulinux-91
I booted up a vagrant box with Debian 9.6 and ran this script:
And I got this error:
This differs from the suggested commands only in that I am not building for arm/aarch64, and I checked out the latest releases of EfiFs and EDK II rather than master. However, switching to master yields the same result. I tried patching the grub header, but that just led to more of the same style of errors, so I gave up. I figure there must be something else wrong, or else no one would have been able to build this.
The text was updated successfully, but these errors were encountered: