UefiToolsPkg
UefiToolsPkg copied to clipboard
Build fail
I have an Ubuntu machine on which I have setup an edk2 environment following the instructions on the tianocore GitHub page. I have confirmed that I can build the MdeModulePkg and that the resulting HelloWorld.efi
works in my efi shell.
I cloned this repo into my edk2 base directory and made the following changes to Conf/target.txt
:
ACTIVE_PLATFORM = UefiToolsPkg/UefiToolsPkg.dsc
TARGET_ARCH = X64
TOOL_CHAIN_TAG = GCC5
MAX_CONCURRENT_THREAD_NUMBER = 9
Issuing the build
command gives the following:
Build start time: 14:50:38, Dec.13 2022
WORKSPACE = /home/russell/src/edk2
EDK_TOOLS_PATH = /home/russell/src/edk2/BaseTools
CONF_PATH = /home/russell/src/edk2/Conf
PYTHON_COMMAND = /usr/bin/python3
build.py...
/home/russell/src/edk2/UefiToolsPkg/UefiToolsPkg.dsc(44): error 000E: File/directory not found in workspace
/home/russell/src/edk2/UefiToolsPkg/StdLib/StdLib.inc
/home/russell/src/edk2/StdLib/StdLib.inc
- Failed -
Build end time: 14:50:38, Dec.13 2022
Build total time: 00:00:00
Build is correct the file /home/russell/src/edk2/UefiToolsPkg/StdLib/StdLib.inc
doesn't exist. I've had a look through UefiToolsPkg.dsc
and see references to over riding StdLib but I see anything blatantly wrong. However I am a complete novice at building efi packages with edk2.
Having grep in an efi shell means I can script the update procedure for certain LSI based RAID/HBA cards. Any help would be really appreciated.
Regards, Russell
I have an Ubuntu machine on which I have setup an edk2 environment following the instructions on the tianocore GitHub page. I have confirmed that I can build the MdeModulePkg and that the resulting
HelloWorld.efi
works in my efi shell.I cloned this repo into my edk2 base directory and made the following changes to
Conf/target.txt
:ACTIVE_PLATFORM = UefiToolsPkg/UefiToolsPkg.dsc TARGET_ARCH = X64 TOOL_CHAIN_TAG = GCC5 MAX_CONCURRENT_THREAD_NUMBER = 9
Issuing the
build
command gives the following:Build start time: 14:50:38, Dec.13 2022 WORKSPACE = /home/russell/src/edk2 EDK_TOOLS_PATH = /home/russell/src/edk2/BaseTools CONF_PATH = /home/russell/src/edk2/Conf PYTHON_COMMAND = /usr/bin/python3 build.py... /home/russell/src/edk2/UefiToolsPkg/UefiToolsPkg.dsc(44): error 000E: File/directory not found in workspace /home/russell/src/edk2/UefiToolsPkg/StdLib/StdLib.inc /home/russell/src/edk2/StdLib/StdLib.inc - Failed - Build end time: 14:50:38, Dec.13 2022 Build total time: 00:00:00
Build is correct the file
/home/russell/src/edk2/UefiToolsPkg/StdLib/StdLib.inc
doesn't exist. I've had a look throughUefiToolsPkg.dsc
and see references to over riding StdLib but I see anything blatantly wrong. However I am a complete novice at building efi packages with edk2.Having grep in an efi shell means I can script the update procedure for certain LSI based RAID/HBA cards. Any help would be really appreciated.
Regards, Russell
after copy one StdLib from other, report error as below error 4000: Instance of library class [LibC] is not found in [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf] [X64] consumed by module [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf]
additional,i can build pass with UefiToolsPkg2023.dsc, but only come out ShellPlatVars.efi , i main want grep.efi,it not come out, then me manually add UefiToolsPkg/Applications/grep/grep.inf Components into UefiToolsPkg2023.dsc, can not build successfully,report error as below: /home/vUDK2017/UefiToolsPkg/UefiToolsPkg2023.dsc(...): error 4000: Instance of library class [LibC] is not found in [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf] [X64] consumed by module [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf]