Skip to content
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

Unable to build on 10.15.7 #31

Open
oberstel opened this issue Nov 13, 2020 · 2 comments
Open

Unable to build on 10.15.7 #31

oberstel opened this issue Nov 13, 2020 · 2 comments

Comments

@oberstel
Copy link

oberstel commented Nov 13, 2020

Following your instructions, I have no luck to build the needed binaries on macOS Catalina 10.15.7

Building ... /tmp/OcQuirks/UDK/OcQuirks/Platform/OcQuirks/OcQuirks.inf [X64]
make: Nothing to be done for `tbuild'.
"clang" -MMD -MF /tmp/OcQuirks/UDK/Build/OcQuirks/DEBUG_XCODE5/X64/OcQuirks/Platform/OcQuirks/OcQuirks/OUTPUT/OcQuirks.obj.deps -target x86_64-pc-win32-macho -c -g -gdwarf -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS  -D OC_TARGET_DEBUG=1 -o /tmp/OcQuirks/UDK/Build/OcQuirks/DEBUG_XCODE5/X64/OcQuirks/Platform/OcQuirks/OcQuirks/OUTPUT/./OcQuirks.obj -I/tmp/OcQuirks/UDK/OcQuirks/Platform/OcQuirks -I/tmp/OcQuirks/UDK/Build/OcQuirks/DEBUG_XCODE5/X64/OcQuirks/Platform/OcQuirks/OcQuirks/DEBUG -I/tmp/OcQuirks/UDK/MdeModulePkg -I/tmp/OcQuirks/UDK/MdeModulePkg/Include -I/tmp/OcQuirks/UDK/MdePkg -I/tmp/OcQuirks/UDK/MdePkg/Include -I/tmp/OcQuirks/UDK/MdePkg/Test/UnitTest/Include -I/tmp/OcQuirks/UDK/MdePkg/Include/X64 -I/tmp/OcQuirks/UDK/OpenCorePkg -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/AMI -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/Acidanthera -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/Apple -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/Generic -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/Intel -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/Microsoft -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/VMware -I/tmp/OcQuirks/UDK/OpenCorePkg/Include/Apple/X64 /tmp/OcQuirks/UDK/OcQuirks/Platform/OcQuirks/OcQuirks.c
/tmp/OcQuirks/UDK/OcQuirks/Platform/OcQuirks/OcQuirks.c:137:5: error: too few arguments to function call, expected 6, have 4
    );
    ^
/tmp/OcQuirks/UDK/OpenCorePkg/Include/Acidanthera/Library/OcStorageLib.h:117:1: note: 'OcStorageInitFromFs' declared here
EFI_STATUS
^
1 error generated.
make: *** [/tmp/OcQuirks/UDK/Build/OcQuirks/DEBUG_XCODE5/X64/OcQuirks/Platform/OcQuirks/OcQuirks/OUTPUT/OcQuirks.obj] Error 1

build.py...
 : error 7000: Failed to execute command
	make tbuild [/tmp/OcQuirks/UDK/Build/OcQuirks/DEBUG_XCODE5/X64/OcQuirks/Platform/OcQuirks/OcQuirks]

build.py...
 : error F002: Failed to build module
	/tmp/OcQuirks/UDK/OcQuirks/Platform/OcQuirks/OcQuirks.inf [X64, XCODE5, DEBUG]

- Failed -
@ReddestDream
Copy link
Owner

ReddestDream commented Nov 13, 2020

Compilation may be broken with the latest OpenCorePkg. I have not had time to work on this and/or check it since early Oct. Hoping to take a look over the weekend. Thanks!

@oberstel
Copy link
Author

After pulling OpenCorePkg 0.6.2 sources from GitHub, I was able to build the binaries.

Thanks ReddestDream for the hint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants