* [edk2-test] Can't build edk2-test on x64 linux
@ 2021-01-28 19:10 Adriano Kultzak
2021-01-28 19:35 ` [edk2-devel] " Laszlo Ersek
0 siblings, 1 reply; 2+ messages in thread
From: Adriano Kultzak @ 2021-01-28 19:10 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]
Hello.
I've been trying to build UEFI-SCT following these instructions https://github.com/tianocore/edk2-test/blob/master/uefi-sct/HowToBuild/How%20to%20build%20SCT%20in%20UDK2017.txt on linux Debian 10, using the latest edk2 available, also tried to build over vudk2017 https://github.com/tianocore/edk2/releases/tag/vUDK2017 , but it stops in this kind of error:
___________________________________________________________________________________________________________________________
/home/repos/TestToolls/SctWorkspace2/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest.c: In function ‘Ip4ENTSTestMain’:
/home/repos/TestToolls/SctWorkspace2/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest.c:119:23: warning: assignment to ‘EFI_IMAGE_UNLOAD’ from incompatible pointer type ‘EFI_STATUS (*)(void *)’ {aka ‘long long unsigned int (*)(void *)’} [-Wincompatible-pointer-types]
LoadedImage->Unload = Ip4ENTSTestUnload;
^
make: *** [GNUmakefile:337: /home/repos/TestToolls/SctWorkspace2/Build/UefiSct/DEBUG_GCC5/X64/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest/OUTPUT/Ip4ENTSTest.obj] Error 1
Could not build the UEFI SCT package
___________________________________________________________________________________________________________________________
Is there any currently known impediment to build UEFI-SCT in the linux environment or some other important details I'm missing? I appreciate any help.
[-- Attachment #2: Type: text/html, Size: 2913 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [edk2-devel] [edk2-test] Can't build edk2-test on x64 linux
2021-01-28 19:10 [edk2-test] Can't build edk2-test on x64 linux Adriano Kultzak
@ 2021-01-28 19:35 ` Laszlo Ersek
0 siblings, 0 replies; 2+ messages in thread
From: Laszlo Ersek @ 2021-01-28 19:35 UTC (permalink / raw)
To: devel, adriano_fk
On 01/28/21 20:10, Adriano Kultzak wrote:
> Hello.
>
> I've been trying to build UEFI-SCT following these instructions https://github.com/tianocore/edk2-test/blob/master/uefi-sct/HowToBuild/How%20to%20build%20SCT%20in%20UDK2017.txt on linux Debian 10, using the latest edk2 available, also tried to build over vudk2017 https://github.com/tianocore/edk2/releases/tag/vUDK2017 , but it stops in this kind of error:
> ___________________________________________________________________________________________________________________________
> /home/repos/TestToolls/SctWorkspace2/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest.c: In function ‘Ip4ENTSTestMain’:
> /home/repos/TestToolls/SctWorkspace2/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest.c:119:23: warning: assignment to ‘EFI_IMAGE_UNLOAD’ from incompatible pointer type ‘EFI_STATUS (*)(void *)’ {aka ‘long long unsigned int (*)(void *)’} [-Wincompatible-pointer-types]
> LoadedImage->Unload = Ip4ENTSTestUnload;
> ^
> make: *** [GNUmakefile:337: /home/repos/TestToolls/SctWorkspace2/Build/UefiSct/DEBUG_GCC5/X64/SctPkg/TestCase/RIVL/Protocol/InternetProtocol4/Ip4/Ip4ENTSTest/OUTPUT/Ip4ENTSTest.obj] Error 1
> Could not build the UEFI SCT package
> ___________________________________________________________________________________________________________________________
>
> Is there any currently known impediment to build UEFI-SCT in the linux environment or some other important details I'm missing? I appreciate any help.
Agreed -- the SCT build method is both untested with GCC and
significantly out of date esp. with regard to the multiple workspace
feature (PACKAGES_PATH, to be specific). I tried building SCT myself a
few weeks ago; it was very under-documented, and what I managed to
understand anyway indicated it had no support for PACKAGES_PATH.
Some of the edk2 platforms too are clearly never built with GCC.
Thanks
Laszlo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-28 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-28 19:10 [edk2-test] Can't build edk2-test on x64 linux Adriano Kultzak
2021-01-28 19:35 ` [edk2-devel] " Laszlo Ersek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox