Open yyh-yyh-yyh opened 5 months ago
环境有点问题,重新环境后 root@TQM-YONGHUI-YU:/src/uu# root@TQM-YONGHUI-YU:/src/uu# build UefiToolsPkg2023.dsc Build environment: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39 Build start time: 11:07:41, Jun.29 2024
build.py... : error 1005: Not supported target [uefitoolspkg2023.dsc]. Please select one of: all genc genmake modules libraries fds clean cleanall cleanlib run
root@TQM-YONGHUI-YU:/src/uu# build UefiToolsPkg.dsc Build environment: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39 Build start time: 11:09:01, Jun.29 2024
build.py... : error 1005: Not supported target [uefitoolspkg.dsc]. Please select one of: all genc genmake modules libraries fds clean cleanall cleanlib run
root@TQM-YONGHUI-YU:/src/uu#
root@TQM-YONGHUI-YU:/src/vUDK2017# build -p UefiToolsPkg/UefiToolsPkg2023.dsc Build environment: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39 Build start time: 11:39:23, Jun.29 2024
WORKSPACE = /src/vUDK2017 EDK_TOOLS_PATH = /src/vUDK2017/BaseTools CONF_PATH = /src/vUDK2017/Conf PYTHON_COMMAND = python3
build.py... /src/vUDK2017/UefiToolsPkg/UefiToolsPkg2023.dsc(38): error 000E: File/directory not found in workspace /src/vUDK2017/UefiToolsPkg/StdLib/StdLib.inc /src/vUDK2017/StdLib/StdLib.inc
root@TQM-YONGHUI-YU:/src/vUDK2017# build -p UefiToolsPkg/UefiToolsPkg.dsc Build environment: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39 Build start time: 11:39:38, Jun.29 2024
WORKSPACE = /src/vUDK2017 EDK_TOOLS_PATH = /src/vUDK2017/BaseTools CONF_PATH = /src/vUDK2017/Conf PYTHON_COMMAND = python3
build.py... /src/vUDK2017/UefiToolsPkg/UefiToolsPkg.dsc(44): error 000E: File/directory not found in workspace /src/vUDK2017/UefiToolsPkg/StdLib/StdLib.inc /src/vUDK2017/StdLib/StdLib.inc
root@TQM-YONGHUI-YU:/src/vUDK2017# build UefiToolsPkg/UefiToolsPkg2023.dsc Build environment: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39 Build start time: 11:39:52, Jun.29 2024
build.py... : error 1005: Not supported target [uefitoolspkg/uefitoolspkg2023.dsc]. Please select one of: all genc genmake modules libraries fds clean cleanall cleanlib run
root@TQM-YONGHUI-YU:/src/vUDK2017#
win11 WSL环境,通过下面的步骤终于build成功了
1.注释掉所有.c文件中的__RCSID("$NetBSD: conv.c,v 1.17 2003/08/07 09:05:10 agc Exp $"); 2.注释掉所有.c文件中的copyright 3.注释掉memcpy(edk2-libc)
root@TQM-YONGHUI-YU:/src/vUDK2017# build -p ../uu/UefiToolsPkg2023.dsc -a X64 Build environment: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39 Build start time: 10:06:54, Jun.29 2024
WORKSPACE = /src/edk2 EDK_TOOLS_PATH = /src/edk2/BaseTools CONF_PATH = /src/edk2/Conf PYTHON_COMMAND = python3
build.py... /src/uu/UefiToolsPkg2023.dsc(38): error 000E: File/directory not found in workspace /src/uu/StdLib/StdLib.inc /src/edk2/StdLib/StdLib.inc
root@TQM-YONGHUI-YU:/src/vUDK2017#