microsoft / ebpf-for-windows

eBPF implementation that runs on top of Windows
MIT License
2.91k stars 227 forks source link

fatal error C1083 #503

Closed kouzhudong closed 3 years ago

kouzhudong commented 3 years ago

已启动生成… 1>------ 已启动生成: 项目: platform_user, 配置: Debug x64 ------ 2>------ 已启动生成: 项目: platform_kernel, 配置: Debug x64 ------ 3>------ 已启动生成: 项目: common_tests, 配置: Debug x64 ------ 4>------ 已启动生成: 项目: test_util, 配置: Debug x64 ------ 5>------ 已启动生成: 项目: netsh_static, 配置: Debug x64 ------ 6>------ 已启动生成: 项目: execution_context_user, 配置: Debug x64 ------ 7>------ 已启动生成: 项目: ubpf_user, 配置: Debug x64 ------ 8>------ 已启动生成: 项目: sample, 配置: Debug x64 ------ 9>------ 已启动生成: 项目: ubpf_kernel, 配置: Debug x64 ------ 10>------ 已启动生成: 项目: execution_context_kernel, 配置: Debug x64 ------ 3>common_tests.cpp 2>Building 'platform_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 2>64 bit Processing ..\ebpf_program_types.idl 2>ebpf_program_types.idl 2>D:\git\github\ebpf-for-windows\include\ebpf_program_types.h(17): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 1>64 bit Processing ..\ebpf_program_types.idl 1>ebpf_program_types.idl 1>D:\git\github\ebpf-for-windows\include\ebpf_program_types.h(17): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 1>midl : command line error MIDL1003: error returned by the C preprocessor (2) 2>midl : command line error MIDL1003: error returned by the C preprocessor (2) 7>ubpf_user.c 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 4>program_helper.cpp 1>已完成生成项目“platform_user.vcxproj”的操作 - 失败。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 10>Building 'execution_context_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>Performing Custom Build Tools 8>'clang' 不是内部或外部命令,也不是可运行的程序 8>或批处理文件。 8>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: “bindmonitor.c;bpf.c;bpf_call.c;test_sample_ebpf.c;droppacket.c;divide_by_zero.c;droppacket_unsafe.c;tail_call.c;tail_call_bad.c;map_in_map.c;tail_call_map.c;test_utility_helpers.c”的自定义生成已退出,代码为 9009。 8>已完成生成项目“sample.vcxproj”的操作 - 失败。 2>已完成生成项目“platform_kernel.vcxproj”的操作 - 失败。 11>------ 已启动生成: 项目: sample_ebpf_ext, 配置: Debug x64 ------ 5>elf.cpp 10>ebpf_core.c 7>D:\git\github\ebpf-for-windows\libs\ubpf\user\ubpf_user.c(21,10): fatal error C1083: 无法打开包括文件: “ubpf_jit_x86_64.c”: No such file or directory 7>已完成生成项目“ubpf_user.vcxproj”的操作 - 失败。 10>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 11>Building 'sample_ebpf_ext' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 10>ebpf_general_helpers.c 6>ebpf_core.c 9>Building 'ubpf_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 10>D:\git\github\ebpf-for-windows\include\ebpf_program_types.h(17,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 11>sample_ext.c 10>ebpf_link.c 6>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 6>ebpf_general_helpers.c 10>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 10>ebpf_maps.c 4>D:\git\github\ebpf-for-windows\include\bpf.h(218,10): fatal error C1083: 无法打开包括文件: “../external/libbpf/src/bpf.h”: No such file or directory 11>D:\git\github\ebpf-for-windows\include\ebpf_program_types.h(17,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 4>已完成生成项目“test_util.vcxproj”的操作 - 失败。 11>已完成生成项目“sample_ext.vcxproj”的操作 - 失败。 9>ubpf_kernel.c 10>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 10>ebpf_program.c 10>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 10>正在生成代码... 6>D:\git\github\ebpf-for-windows\include\ebpf_program_types.h(17,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 10>已完成生成项目“execution_context_kernel.vcxproj”的操作 - 失败。 6>ebpf_link.c 9>D:\git\github\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.c(30,1): warning C4005: “stderr”: 宏重定义 9>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\km\crt\stdio.h(192): message : 参见“stderr”的前一个定义 9>D:\git\github\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.c(35,10): fatal error C1083: 无法打开包括文件: “ubpf_vm.c”: No such file or directory 9>已完成生成项目“ubpf_kernel.vcxproj”的操作 - 失败。 12>------ 已启动生成: 项目: EbpfCore, 配置: Debug x64 ------ 6>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 5>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 5>maps.cpp 6>ebpf_maps.c 12>Building 'EbpfCore' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 6>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 12>Stamping x64\Debug\EbpfCore.inf 12>Stamping [Version] section with DriverVer=09/09/2021,9.46.46.536 6>ebpf_program.c 6>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 6>正在生成代码... 12>D:\git\github\ebpf-for-windows\ebpfcore\EbpfCore.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. 12>D:\git\github\ebpf-for-windows\ebpfcore\EbpfCore.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. 3>D:\git\github\ebpf-for-windows\include\bpf.h(218,10): fatal error C1083: 无法打开包括文件: “../external/libbpf/src/bpf.h”: No such file or directory 6>已完成生成项目“execution_context_user.vcxproj”的操作 - 失败。 13>------ 已启动生成: 项目: encode_program_info, 配置: Debug x64 ------ 3>已完成生成项目“common_tests.vcxproj”的操作 - 失败。 12>ebpf_drv.c 12>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 13>encode_program_info.cpp 12>已完成生成项目“EbpfCore.vcxproj”的操作 - 失败。 13>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 13>已完成生成项目“encode_program_info.vcxproj”的操作 - 失败。 14>------ 已启动生成: 项目: api, 配置: Debug x64 ------ 15>------ 已启动生成: 项目: service (libs\user\service), 配置: Debug x64 ------ 16>------ 已启动生成: 项目: api_common, 配置: Debug x64 ------ 17>------ 已启动生成: 项目: NetEbpfExt, 配置: Debug x64 ------ 17>Building 'NetEbpfExt' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 5>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 16>device_helper.cpp 17>Stamping x64\Debug\NetEbpfExt.inf 17>Stamping [Version] section with DriverVer=09/09/2021,9.46.47.180 5>programs.cpp 15>api_service.cpp 17>D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. 17>D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. 14>ebpf_api.cpp 17>net_ebpf_ext.c 17>D:\git\github\ebpf-for-windows\netebpfext\net_ebpf_ext.c(40,10): fatal error C1083: 无法打开包括文件: “ebpf_bind_program_data.h”: No such file or directory 17>已完成生成项目“netebpfext.vcxproj”的操作 - 失败。 15>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 15>verifier_service.cpp 5>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 5>正在生成代码... 5>已完成生成项目“ebpfnetsh.vcxproj”的操作 - 失败。 14>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 14>libbpf_link.cpp 14>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 14>libbpf_object.cpp 16>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 16>map_descriptors.cpp 14>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 14>libbpf_program.cpp 16>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 16>api_common.cpp 15>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 14>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 15>windows_platform_service.cpp 14>libbpf_map.cpp 15>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 15>正在生成代码... 15>已完成生成项目“service.vcxproj”的操作 - 失败。 14>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 14>Verifier.cpp 16>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 16>windows_helpers.cpp 16>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 16>windows_platform_common.cpp 14>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 14>windows_platform.cpp 16>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 16>正在生成代码... 16>已完成生成项目“api_common.vcxproj”的操作 - 失败。 18>------ 已启动生成: 项目: ebpfsvc, 配置: Debug x64 ------ 14>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 18>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1967,5): warning : The referenced project '..\external\ebpf-verifier\build\ebpfverifier.vcxproj' does not exist. 14>正在生成代码... 14>已完成生成项目“api.vcxproj”的操作 - 失败。 19>------ 已启动生成: 项目: EbpfApi, 配置: Debug x64 ------ 20>------ 已启动生成: 项目: unit_tests, 配置: Debug x64 ------ 21>------ 已启动生成: 项目: performance, 配置: Debug x64 ------ 19>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1967,5): warning : The referenced project '..\external\ebpf-verifier\build\ebpfverifier.vcxproj' does not exist. 21>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1967,5): warning : The referenced project '....\external\ebpf-verifier\build\ebpfverifier.vcxproj' does not exist. 19>platform.cpp 21>mock.cpp 19>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 19>rpc_client.cpp 21>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 21>test_helper.cpp 20>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1967,5): warning : The referenced project '....\external\ebpf-verifier\build\ebpfverifier.vcxproj' does not exist. 18>rpc_api.cpp 20>execution_context_unit_test.cpp 21>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 21>performance.cpp 19>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 19>正在生成代码... 19>已完成生成项目“ebpfapi.vcxproj”的操作 - 失败。 22>------ 已启动生成: 项目: port_quota, 配置: Debug x64 ------ 23>------ 已启动生成: 项目: ebpfnetsh, 配置: Debug x64 ------ 24>------ 已启动生成: 项目: api_test, 配置: Debug x64 ------ 25>------ 已启动生成: 项目: sample_ext_app, 配置: Debug x64 ------ 22>port_quota.cpp 24>api_test.cpp 25>sample_ext_app.cpp 23>dllmain.c 23>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 23>已完成生成项目“ebpfnetsh.vcxproj”的操作 - 失败。 20>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 20>platform_unit_test.cpp 18>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 18>platform.cpp 18>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 18>svcmain.cpp 22>D:\git\github\ebpf-for-windows\include\bpf.h(218,10): fatal error C1083: 无法打开包括文件: “../external/libbpf/src/bpf.h”: No such file or directory 22>已完成生成项目“port_quota.vcxproj”的操作 - 失败。 18>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 18>正在生成代码... 18>已完成生成项目“eBPFSvc.vcxproj”的操作 - 失败。 26>------ 已启动生成: 项目: ebpf_client, 配置: Debug x64 ------ 26>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1967,5): warning : The referenced project '....\external\ebpf-verifier\build\ebpfverifier.vcxproj' does not exist. 24>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 25>D:\git\github\ebpf-for-windows\include\bpf.h(218,10): fatal error C1083: 无法打开包括文件: “../external/libbpf/src/bpf.h”: No such file or directory 24>已完成生成项目“api_test.vcxproj”的操作 - 失败。 25>已完成生成项目“sample_ext_app.vcxproj”的操作 - 失败。 21>D:\git\github\ebpf-for-windows\tests\performance\performance.cpp(7,10): fatal error C1083: 无法打开包括文件: “ebpf.h”: No such file or directory 26>rpc_client.cpp 21>正在生成代码... 21>已完成生成项目“performance.vcxproj”的操作 - 失败。 20>D:\git\github\ebpf-for-windows\libs\platform\unit\platform_unit_test.cpp(14,10): fatal error C1083: 无法打开包括文件: “ebpf_bind_program_data.h”: No such file or directory 20>end_to_end.cpp 20>D:\git\github\ebpf-for-windows\include\bpf.h(218,10): fatal error C1083: 无法打开包括文件: “../external/libbpf/src/bpf.h”: No such file or directory 26>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 26>main.cpp 20>mock.cpp 20>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 20>netsh_test.cpp 26>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 26>platform.cpp 26>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 26>正在生成代码... 26>已完成生成项目“ebpf_client.vcxproj”的操作 - 失败。 20>D:\git\github\ebpf-for-windows\include\bpf.h(218,10): fatal error C1083: 无法打开包括文件: “../external/libbpf/src/bpf.h”: No such file or directory 20>test_helper.cpp 20>D:\git\github\ebpf-for-windows\include\ebpf_structs.h(10,10): fatal error C1083: 无法打开包括文件: “../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory 20>libbpf_test.cpp 20>D:\git\github\ebpf-for-windows\include\bpf.h(218,10): fatal error C1083: 无法打开包括文件: “../external/libbpf/src/bpf.h”: No such file or directory 20>正在生成代码... 20>已完成生成项目“test.vcxproj”的操作 - 失败。 ========== 生成: 成功 0 个,失败 26 个,最新 4 个,跳过 0 个 ==========

dthaler commented 3 years ago

@kouzhudong "../external/ebpf-verifier/src/ebpf_base.h”: No such file or directory" implies your clone probably wasn't done recursively as shown in https://github.com/microsoft/ebpf-for-windows/blob/master/docs/GettingStarted.md#how-to-clone-and-build-the-project

can you check?

kouzhudong commented 3 years ago

D:\git\github\ebpf-for-windows>cmake -S external\ebpf-verifier -B external\ebpf-verifier\build -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. Feeds used: C:\Users\Administrator.nuget\packages\ https://api.nuget.org/v3/index.json

已安装程序包“Boost.1.75.0”。 -- Configuring done -- Generating done -- Build files have been written to: D:/git/github/ebpf-for-windows/external/ebpf-verifier/build

kouzhudong commented 3 years ago

D:\git\github\ebpf-for-windows>msbuild /m /p:Configuration=Debug /p:Platform=x64 ebpf-for-windows.sln 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.0+0538acc04 版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2021/9/11 8:43:56。 1>节点 1 上的项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(默认目标)。 1>ValidateSolutionConfiguration: 正在生成解决方案配置“Debug|x64”。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\ebpfverifier.vcxproj.metaproj”( 2) (默认目标)。 2>项目“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\ebpfverifier.vcxproj.metaproj”(2)正在节点 2 上生成“D:\git\github\ebpf-for-windows\scripts\setup_build\se tup_build.vcxproj”(14) (默认目标)。 14>InitializeBuildStatus: 正在创建“x64\Debug\setup_build.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 PreBuildEvent: powershell -NonInteractive -ExecutionPolicy Unrestricted D:\git\github\ebpf-for-windows\scripts\generate-commitid.ps1 D:\git\github\ebpf-for-windows\x64\Debug \ :VCEnd 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\ebpfapi\ebpfapi.vcxproj.metaproj”(8) (默认目标) 。 8>项目“D:\git\github\ebpf-for-windows\ebpfapi\ebpfapi.vcxproj.metaproj”(8)正在节点 3 上生成“D:\git\github\ebpf-for-windows\rpc_interface\rpc_interface.vcxproj”(15) (默认目标)。 15>InitializeBuildStatus: 正在创建“x64\Debug\rpc_interface.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 Midl: 所有输出均为最新。 FinalizeBuildStatus: 正在删除文件“x64\Debug\rpc_interface.tlog\unsuccessfulbuild”。 正在对“x64\Debug\rpc_interface.tlog\rpc_interface.lastbuildstate”执行 Touch 任务。 15>已完成生成项目“D:\git\github\ebpf-for-windows\rpc_interface\rpc_interface.vcxproj”(默认目标)的操作。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj.metaproj”(12) (默 认目标)。 12>项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj.metaproj”(12)正在节点 4 上生成“D:\git\github\ebpf-for-windows\tools\encode_program_info\encodeprogram info.vcxproj”(16) (默认目标)。 16>项目“D:\git\github\ebpf-for-windows\tools\encode_program_info\encode_program_info.vcxproj”(16)正在节点 4 上生成“D:\git\github\ebpf-for-windows\libs\platform\user\platfor m_user.vcxproj”(17) (默认目标)。 17>InitializeBuildStatus: 正在创建“x64\Debug\platform_user.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 Midl: 所有输出均为最新。 ClCompile: 所有输出均为最新。 所有输出均为最新。 Lib: 所有输出均为最新。 platform_user.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\platform_user.lib FinalizeBuildStatus: 正在删除文件“x64\Debug\platform_user.tlog\unsuccessfulbuild”。 正在对“x64\Debug\platform_user.tlog\platform_user.lastbuildstate”执行 Touch 任务。 17>已完成生成项目“D:\git\github\ebpf-for-windows\libs\platform\user\platform_user.vcxproj”(默认目标)的操作。 14>CopyFileToFolders: 所有输出均为最新。 FinalizeBuildStatus: 正在删除文件“x64\Debug\setup_build.tlog\unsuccessfulbuild”。 正在对“x64\Debug\setup_build.tlog\setup_build.lastbuildstate”执行 Touch 任务。 14>已完成生成项目“D:\git\github\ebpf-for-windows\scripts\setup_build\setup_build.vcxproj”(默认目标)的操作。 16>项目“D:\git\github\ebpf-for-windows\tools\encode_program_info\encode_program_info.vcxproj”(16)正在节点 5 上生成“D:\git\github\ebpf-for-windows\libs\execution_context\use r\execution_context_user.vcxproj”(18) (默认目标)。 18>InitializeBuildStatus: 正在创建“x64\Debug\executio.18127b0d.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\tests\client\ebpf_client.vcxproj.metaproj”(13) (默认目标)。 13>项目“D:\git\github\ebpf-for-windows\tests\client\ebpf_client.vcxproj.metaproj”(13)正在节点 1 上生成“D:\git\github\ebpf-for-windows\ebpfsvc\eBPFSvc.vcxproj”(19) (默认目标)。 19>项目“D:\git\github\ebpf-for-windows\ebpfsvc\eBPFSvc.vcxproj”(19)正在节点 6 上生成“D:\git\github\ebpf-for-windows\libs\ubpf\user\ubpf_user.vcxproj”(23) (默认 目标)。 23>InitializeBuildStatus: 正在创建“x64\Debug\ubpf_user.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 19>项目“D:\git\github\ebpf-for-windows\ebpfsvc\eBPFSvc.vcxproj”(19)正在节点 1 上生成“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\ebpfverifier.vcxproj”(22) ( 默认目标)。 22>项目“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\ebpfverifier.vcxproj”(22)正在节点 2 上生成“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\Z ERO_CHECK.vcxproj”(25) (默认目标)。 25>InitializeBuildStatus: 正在创建“x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 CustomBuild: 所有输出均为最新。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\tests\sample\sample.vcxproj.metaproj”(11) (默认 目标)。 11>项目“D:\git\github\ebpf-for-windows\tests\sample\sample.vcxproj.metaproj”(11)正在节点 3 上生成“D:\git\github\ebpf-for-windows\tests\sample\sample.vcxproj”(24) (默认目标)。 24>InitializeBuildStatus: 正在创建“x64\Debug\sample.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 25>FinalizeBuildStatus: 正在删除文件“x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild”。 正在对“x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate”执行 Touch 任务。 25>已完成生成项目“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\ZERO_CHECK.vcxproj”(默认目标)的操作。 23>ClCompile: 所有输出均为最新。 24>CustomBuild: 所有输出均为最新。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\tools\dnsflood\dnsflood.vcxproj.metaproj”(10) ( 默认目标)。 10>项目“D:\git\github\ebpf-for-windows\tools\dnsflood\dnsflood.vcxproj.metaproj”(10)正在节点 4 上生成“D:\git\github\ebpf-for-windows\tools\dnsflood\dnsflood.vcxproj”(29) (默 认目标)。 29>InitializeBuildStatus: 正在创建“x64\Debug\dnsflood.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 18>ClCompile: 所有输出均为最新。 29>ClCompile: 所有输出均为最新。 23>Lib: 所有输出均为最新。 ubpf_user.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\ubpf_user.lib 29>Link: 所有输出均为最新。 18>Lib: 所有输出均为最新。 23>FinalizeBuildStatus: 正在删除文件“x64\Debug\ubpf_user.tlog\unsuccessfulbuild”。 正在对“x64\Debug\ubpf_user.tlog\ubpf_user.lastbuildstate”执行 Touch 任务。 23>已完成生成项目“D:\git\github\ebpf-for-windows\libs\ubpf\user\ubpf_user.vcxproj”(默认目标)的操作。 18>Lib: execution_context_user.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\execution_context_user.lib 29>Link: dnsflood.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\dnsflood.exe 24>FinalizeBuildStatus: 正在删除文件“x64\Debug\sample.tlog\unsuccessfulbuild”。 正在对“x64\Debug\sample.tlog\sample.lastbuildstate”执行 Touch 任务。 24>已完成生成项目“D:\git\github\ebpf-for-windows\tests\sample\sample.vcxproj”(默认目标)的操作。 29>FinalizeBuildStatus: 正在删除文件“x64\Debug\dnsflood.tlog\unsuccessfulbuild”。 正在对“x64\Debug\dnsflood.tlog\dnsflood.lastbuildstate”执行 Touch 任务。 29>已完成生成项目“D:\git\github\ebpf-for-windows\tools\dnsflood\dnsflood.vcxproj”(默认目标)的操作。 18>FinalizeBuildStatus: 正在删除文件“x64\Debug\executio.18127b0d.tlog\unsuccessfulbuild”。 正在对“x64\Debug\executio.18127b0d.tlog\execution_context_user.lastbuildstate”执行 Touch 任务。 18>已完成生成项目“D:\git\github\ebpf-for-windows\libs\execution_context\user\execution_context_user.vcxproj”(默认目标)的操作。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\tools\netsh\ebpfnetsh.vcxproj.metaproj”(9) (默认目标)。 9>项目“D:\git\github\ebpf-for-windows\tools\netsh\ebpfnetsh.vcxproj.metaproj”(9)正在节点 7 上生成“D:\git\github\ebpf-for-windows\tools\netsh\ebpfnetsh.vcxproj”(28) (默认目标)。 28>项目“D:\git\github\ebpf-for-windows\tools\netsh\ebpfnetsh.vcxproj”(28)正在节点 7 上生成“D:\git\github\ebpf-for-windows\libs\ebpfnetsh\ebpfnetsh.vcxproj”(30) (默认目标)。 30>InitializeBuildStatus: 正在创建“x64\Debug\netsh_static.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 16>InitializeBuildStatus: 正在创建“x64\Debug\encode_p.fa9bb88d.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 30>ClCompile: 所有输出均为最新。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.vcxproj.metaproj”(3) (默认目标)。 3>项目“D:\git\github\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.vcxproj.metaproj”(3)正在节点 1 上生成“D:\git\github\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.vcxpro j”(31) (默认目标)。 31>DriverBuildNotifications: Building 'ubpf_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. Using KMDF 1.15. 16>ClCompile: 所有输出均为最新。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\libs\execution_context\kernel\execution_context_kernel.vcxpr oj.metaproj”(4) (默认目标)。 4>项目“D:\git\github\ebpf-for-windows\libs\execution_context\kernel\execution_context_kernel.vcxproj.metaproj”(4)正在节点 8 上生成“D:\git\github\ebpf-for-windows\libs\exec ution_context\kernel\execution_context_kernel.vcxproj”(32) (默认目标)。 32>DriverBuildNotifications: Building 'execution_context_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. Using KMDF 1.15. 30>Lib: 所有输出均为最新。 31>InitializeBuildStatus: 正在创建“x64\Debug\ubpf_kernel.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 32>InitializeBuildStatus: 正在创建“x64\Debug\executio.26E7ED0B.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 16>Link: 所有输出均为最新。 30>Lib: ebpfnetsh.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\netsh_static.lib 16>Link: encode_program_info.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\encode_program_info.exe CustomBuildStep: 正在跳过目标“CustomBuildStep”,因为所有输出文件相对于输入文件而言都是最新的。 FinalizeBuildStatus: 正在删除文件“x64\Debug\encode_p.fa9bb88d.tlog\unsuccessfulbuild”。 正在对“x64\Debug\encode_p.fa9bb88d.tlog\encode_program_info.lastbuildstate”执行 Touch 任务。 16>已完成生成项目“D:\git\github\ebpf-for-windows\tools\encode_program_info\encode_program_info.vcxproj”(默认目标)的操作。 30>FinalizeBuildStatus: 正在删除文件“x64\Debug\netsh_static.tlog\unsuccessfulbuild”。 正在对“x64\Debug\netsh_static.tlog\netsh_static.lastbuildstate”执行 Touch 任务。 30>已完成生成项目“D:\git\github\ebpf-for-windows\libs\ebpfnetsh\ebpfnetsh.vcxproj”(默认目标)的操作。 19>项目“D:\git\github\ebpf-for-windows\ebpfsvc\eBPFSvc.vcxproj”(19)正在节点 5 上生成“D:\git\github\ebpf-for-windows\libs\service\service.vcxproj”(20) (默认目标)。 20>InitializeBuildStatus: 正在创建“x64\Debug\service.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 19>项目“D:\git\github\ebpf-for-windows\ebpfsvc\eBPFSvc.vcxproj”(19)正在节点 3 上生成“D:\git\github\ebpf-for-windows\libs\api_common\api_common.vcxproj”(21) (默 认目标)。 21>InitializeBuildStatus: 正在创建“x64\Debug\api_common.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 1>项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(1)正在节点 1 上生成“D:\git\github\ebpf-for-windows\libs\api\api.vcxproj.metaproj”(7) (默认目标)。 7>项目“D:\git\github\ebpf-for-windows\libs\api\api.vcxproj.metaproj”(7)正在节点 5 上生成“D:\git\github\ebpf-for-windows\libs\api\api.vcxproj”(27) (默认目标)。 27>InitializeBuildStatus: 正在对“x64\Debug\api.tlog\unsuccessfulbuild”执行 Touch 任务。 32>ClCompile: 所有输出均为最新。 21>ClCompile: 所有输出均为最新。 27>ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\CL.exe /c /I"D:\git\github\ebpf-for-windows\packages\ boost.1.75.0.0\build..\lib\native\include\" /I"D:\git\github\ebpf-for-windows\external\libbpf\src" /I"D:\git\github\ebpf-for-windows\libs\api_common" /I"D:\ git\github\ebpf-for-windows\libs\api" /I"D:\git\github\ebpf-for-windows\rpc_interface" /I"D:\git\github\ebpf-for-windows\libs\service" /I"D:\git\github\ebpf-f or-windows\libs\api_common" /I"D:\git\github\ebpf-for-windows\include" /I"D:\git\github\ebpf-for-windows\libs\platform" /I"D:\git\github\ebpf-for-windows\libs \platform\user" /I"D:\git\github\ebpf-for-windows\libs\execution_context" /I"D:\git\github\ebpf-for-windows\external\ubpf\vm" /I"D:\git\github\ebpf-for-window s\external\ubpf\vm\inc" /I"D:\git\github\ebpf-for-windows\external\ebpf-verifier\src" /I"D:\git\github\ebpf-for-windows\external\ebpf-verifier\external" /I"D: \git\github\ebpf-for-windows\external\ebpf-verifier\external\elfio" /I"D:\git\github\ebpf-for-windows\x64\Debug\" /Zi /JMC /nologo /W4 /WX /diagnostics:colum n /sdl /Od /D _DEBUG /D _WINDOWS /D _USRDLL /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MTd /GS /fp:precise /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /std :c++latest /Fo"x64\Debug\" /Fd"D:\git\github\ebpf-for-windows\x64\Debug\api.pdb" /external:W4 /Gd /TP /FC /errorReport:queue Verifier.cpp 32>Lib: 所有输出均为最新。 31>ClCompile: 所有输出均为最新。 20>ClCompile: 所有输出均为最新。 21>Lib: 所有输出均为最新。 31>Lib: 所有输出均为最新。 20>Lib: 所有输出均为最新。 31>Lib: ubpf_kernel.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\ubpf_kernel.lib 32>Lib: execution_context_kernel.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\execution_context_kernel.lib FinalizeBuildStatus: 正在删除文件“x64\Debug\executio.26E7ED0B.tlog\unsuccessfulbuild”。 正在对“x64\Debug\executio.26E7ED0B.tlog\execution_context_kernel.lastbuildstate”执行 Touch 任务。 32>已完成生成项目“D:\git\github\ebpf-for-windows\libs\execution_context\kernel\execution_context_kernel.vcxproj”(默认目标)的操作。 20>Lib: service.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\service.lib 21>Lib: api_common.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\api_common.lib 31>FinalizeBuildStatus: 正在删除文件“x64\Debug\ubpf_kernel.tlog\unsuccessfulbuild”。 21>FinalizeBuildStatus: 正在删除文件“x64\Debug\api_common.tlog\unsuccessfulbuild”。 31>FinalizeBuildStatus: 正在对“x64\Debug\ubpf_kernel.tlog\ubpf_kernel.lastbuildstate”执行 Touch 任务。 21>FinalizeBuildStatus: 正在对“x64\Debug\api_common.tlog\api_common.lastbuildstate”执行 Touch 任务。 31>已完成生成项目“D:\git\github\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.vcxproj”(默认目标)的操作。 21>已完成生成项目“D:\git\github\ebpf-for-windows\libs\api_common\api_common.vcxproj”(默认目标)的操作。 11>已完成生成项目“D:\git\github\ebpf-for-windows\tests\sample\sample.vcxproj.metaproj”(默认目标)的操作。 20>FinalizeBuildStatus: 正在删除文件“x64\Debug\service.tlog\unsuccessfulbuild”。 正在对“x64\Debug\service.tlog\service.lastbuildstate”执行 Touch 任务。 20>已完成生成项目“D:\git\github\ebpf-for-windows\libs\service\service.vcxproj”(默认目标)的操作。 22>InitializeBuildStatus: 正在创建“ebpfverifier.dir\Debug\ebpfverifier.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 27>ClCompile: Verifier.cpp 22>CustomBuild: 所有输出均为最新。 10>已完成生成项目“D:\git\github\ebpf-for-windows\tools\dnsflood\dnsflood.vcxproj.metaproj”(默认目标)的操作。 12>项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj.metaproj”(12)正在节点 8 上生成“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj ”(33) (默认目标) 。 33>项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(33)正在节点 2 上生成“D:\git\github\ebpf-for-windows\libs\platform\kernel\platform_kernel.vcxproj”(34) (默认目标)。 34>DriverBuildNotifications: Building 'platform_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. Using KMDF 1.15. InitializeBuildStatus: 正在创建“x64\Debug\platform_kernel.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 Midl: 所有输出均为最新。 ClCompile: 所有输出均为最新。 Lib: 所有输出均为最新。 platform_kernel.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\platform_kernel.lib FinalizeBuildStatus: 正在删除文件“x64\Debug\platform_kernel.tlog\unsuccessfulbuild”。 正在对“x64\Debug\platform_kernel.tlog\platform_kernel.lastbuildstate”执行 Touch 任务。 34>已完成生成项目“D:\git\github\ebpf-for-windows\libs\platform\kernel\platform_kernel.vcxproj”(默认目标)的操作。 33>DriverBuildNotifications: Building 'NetEbpfExt' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. Using KMDF 1.15. InitializeBuildStatus: 正在创建“x64\Debug\NetEbpfExt.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 StampInf: C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\stampinf.exe -d "" -a "amd64" -v "" -k "1.15" -x -f x64\Debug\NetEbpfExt.inf Copying "D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf" to "x64\Debug\NetEbpfExt.inf" for stamping 22>ClCompile: 所有输出均为最新。 Lib: 所有输出均为最新。 ebpfverifier.vcxproj -> D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\Debug\ebpfverifier.lib 4>已完成生成项目“D:\git\github\ebpf-for-windows\libs\execution_context\kernel\execution_context_kernel.vcxproj.metaproj”(默认目标)的操作。 3>已完成生成项目“D:\git\github\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.vcxproj.metaproj”(默认目标)的操作。 22>FinalizeBuildStatus: 正在删除文件“ebpfverifier.dir\Debug\ebpfverifier.tlog\unsuccessfulbuild”。 正在对“ebpfverifier.dir\Debug\ebpfverifier.tlog\ebpfverifier.lastbuildstate”执行 Touch 任务。 22>已完成生成项目“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\ebpfverifier.vcxproj”(默认目标)的操作。 2>已完成生成项目“D:\git\github\ebpf-for-windows\external\ebpf-verifier\build\ebpfverifier.vcxproj.metaproj”(默认目标)的操作。 19>InitializeBuildStatus: 正在创建“x64\Debug\ebpfsvc.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 PreBuildEvent: powershell -NonInteractive -ExecutionPolicy Unrestricted D:\git\github\ebpf-for-windows\scripts\generate-commitid.ps1 D:\git\github\ebpf-for-windows\x64\Debug \ :VCEnd 33>StampInf: Stamping x64\Debug\NetEbpfExt.inf Stamping [Version] section with DriverVer=09/11/2021,8.43.58.268 正在将文件从“D:\git\github\ebpf-for-windows\netebpfext\x64\Debug\NetEbpfExt.inf”复制到“D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt.inf”。 33>D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. [D:\git\github\ebpf-for-window s\netebpfext\netebpfext.vcxproj] 33>D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. [D:\git\github\ebpf-f or-windows\netebpfext\netebpfext.vcxproj] ClCompile: 所有输出均为最新。 ResourceCompile: 所有输出均为最新。 Link: 所有输出均为最新。 netebpfext.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt.sys 33>项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(33)正在节点 6 上生成“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(33:2) (TestSign 个目标 )。 33>TestSign: The driver will be test-signed. Driver signing options can be changed from the project properties. Sign Inputs: D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt.sys 所有输出均为最新。 33>已完成生成项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(TestSign 个目标)的操作。 33>ApiValidator: Validating 'Universal' driver using ApiValidator.exe 19>ClCompile: 所有输出均为最新。 33>ApiValidator: cmd.exe /D /C "C:\Users\Administrator\AppData\Local\Temp\tmpc0c21bcfd00b49faa35ee875ba410d90.cmd" "C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\ApiValidator.exe" -DriverPackagePath:D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt.sys -Sup portedApiXmlFiles:"C:\Program Files (x86)\Windows Kits\10\build\universalDDIs\x64\UniversalDDIs.xml" -ModuleWhiteListXmlFiles:"C:\Program Files (x86)\Windows Kits\10\build\universalDDIs\x64\ModuleWhiteList.xml" -ApiExtractorExePath:"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64" 19>ResourceCompile: 所有输出均为最新。 Link: 所有输出均为最新。 eBPFSvc.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\ebpfsvc.exe FinalizeBuildStatus: 正在删除文件“x64\Debug\ebpfsvc.tlog\unsuccessfulbuild”。 正在对“x64\Debug\ebpfsvc.tlog\ebpfsvc.lastbuildstate”执行 Touch 任务。 19>已完成生成项目“D:\git\github\ebpf-for-windows\ebpfsvc\eBPFSvc.vcxproj”(默认目标)的操作。 13>项目“D:\git\github\ebpf-for-windows\tests\client\ebpf_client.vcxproj.metaproj”(13)正在节点 7 上生成“D:\git\github\ebpf-for-windows\tests\client\ebpf_client.vcxproj”(35) (默认目标)。 35>项目“D:\git\github\ebpf-for-windows\tests\client\ebpf_client.vcxproj”(35)正在节点 1 上生成“D:\git\github\ebpf-for-windows\tests\libs\util\test_util.vcxproj”(36) (默认目标)。 36>InitializeBuildStatus: 正在创建“x64\Debug\test_util.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 ClCompile: 所有输出均为最新。 Lib: 所有输出均为最新。 test_util.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\test_util.lib FinalizeBuildStatus: 正在删除文件“x64\Debug\test_util.tlog\unsuccessfulbuild”。 正在对“x64\Debug\test_util.tlog\test_util.lastbuildstate”执行 Touch 任务。 36>已完成生成项目“D:\git\github\ebpf-for-windows\tests\libs\util\test_util.vcxproj”(默认目标)的操作。 33>ApiValidator: Driver is 'Universal'. DriverPackageTarget: Packaging up the following projects for the following configurations:

     ..\libs\platform\kernel\platform_kernel.vcxproj Configuration='Debug' Platform='x64'

     The following files will be packaged:

     File to package:      D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt.sys.
     Location in Package:  \NetEbpfExt.sys.
     Requested by project:

     File to package:      x64\Debug\NetEbpfExt.inf.
     Location in Package:  \NetEbpfExt.inf.
     Requested by project:

     正在将文件从“D:\git\github\ebpf-for-windows\netebpfext\x64\Debug\NetEbpfExt.inf”复制到“D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt\NetEbpfExt.inf” 。
   Inf2Cat:
     C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\inf2cat.exe /os:10_x64 /driver:D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt\
     .........................
     Signability test complete.

     Errors:
     None

     Warnings:
     None

     Catalog generation complete.
     D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt\netebpfext.cat
33>项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(33)正在节点 8 上生成“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(33:3) (TestSign 个目标
   )。
33>TestSign:
     The driver package will be test-signed. Driver signing options can be changed from the project properties.
     Sign Inputs: D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt\netebpfext.cat
     C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\signtool.exe sign /ph /sha1 "5C55532827483B5FD4B1EA521B6BCC0490F8A47B"
     Done Adding Additional Store
     Successfully signed: D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt\netebpfext.cat

     Certificate used for signing: issued to = WDKTestCert Administrator,132757921694461061 and thumbprint = 5C55532827483B5FD4B1EA521B6BCC0490F8A47B
     Exported Certificate: D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt.cer
33>已完成生成项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(TestSign 个目标)的操作。
33>FinalizeBuildStatus:
     正在删除文件“x64\Debug\NetEbpfExt.tlog\unsuccessfulbuild”。
     正在对“x64\Debug\NetEbpfExt.tlog\NetEbpfExt.lastbuildstate”执行 Touch 任务。
33>已完成生成项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(默认目标)的操作。
12>已完成生成项目“D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj.metaproj”(默认目标)的操作。
27>D:\git\github\ebpf-for-windows\external\ebpf-verifier\external\elfio\elfio\elf_types.hpp(1,1): error C2220: 以下警告被视为错误 [D:\git\github\ebpf-for-windows\libs\api\a
   pi.vcxproj]
27>D:\git\github\ebpf-for-windows\external\ebpf-verifier\external\elfio\elfio\elf_types.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢
   失 [D:\git\github\ebpf-for-windows\libs\api\api.vcxproj]
27>已完成生成项目“D:\git\github\ebpf-for-windows\libs\api\api.vcxproj”(默认目标)的操作 - 失败。
35>已完成生成项目“D:\git\github\ebpf-for-windows\tests\client\ebpf_client.vcxproj”(默认目标)的操作 - 失败。
 7>已完成生成项目“D:\git\github\ebpf-for-windows\libs\api\api.vcxproj.metaproj”(默认目标)的操作 - 失败。
28>已完成生成项目“D:\git\github\ebpf-for-windows\tools\netsh\ebpfnetsh.vcxproj”(默认目标)的操作 - 失败。
13>已完成生成项目“D:\git\github\ebpf-for-windows\tests\client\ebpf_client.vcxproj.metaproj”(默认目标)的操作 - 失败。
 9>已完成生成项目“D:\git\github\ebpf-for-windows\tools\netsh\ebpfnetsh.vcxproj.metaproj”(默认目标)的操作 - 失败。
 8>已完成生成项目“D:\git\github\ebpf-for-windows\ebpfapi\ebpfapi.vcxproj.metaproj”(默认目标)的操作 - 失败。
 1>已完成生成项目“D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(默认目标)的操作 - 失败。

生成失败。

   “D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(默认目标) (1) ->
   “D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj.metaproj”(默认目标) (12) ->
   “D:\git\github\ebpf-for-windows\netebpfext\netebpfext.vcxproj”(默认目标) (33) ->
   (InfVerif 目标) ->
     D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. [D:\git\github\ebpf-for-wind
   ows\netebpfext\netebpfext.vcxproj]
     D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. [D:\git\github\ebpf
   -for-windows\netebpfext\netebpfext.vcxproj]

   “D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(默认目标) (1) ->
   “D:\git\github\ebpf-for-windows\libs\api\api.vcxproj.metaproj”(默认目标) (7) ->
   “D:\git\github\ebpf-for-windows\libs\api\api.vcxproj”(默认目标) (27) ->
   (ClCompile 目标) ->
     D:\git\github\ebpf-for-windows\external\ebpf-verifier\external\elfio\elfio\elf_types.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数
   据丢失 [D:\git\github\ebpf-for-windows\libs\api\api.vcxproj]

   “D:\git\github\ebpf-for-windows\ebpf-for-windows.sln”(默认目标) (1) ->
   “D:\git\github\ebpf-for-windows\libs\api\api.vcxproj.metaproj”(默认目标) (7) ->
   “D:\git\github\ebpf-for-windows\libs\api\api.vcxproj”(默认目标) (27) ->
   (ClCompile 目标) ->
     D:\git\github\ebpf-for-windows\external\ebpf-verifier\external\elfio\elfio\elf_types.hpp(1,1): error C2220: 以下警告被视为错误 [D:\git\github\ebpf-for-windows\libs\api
   \api.vcxproj]

3 个警告
1 个错误

已用时间 00:00:06.02

D:\git\github\ebpf-for-windows>

kouzhudong commented 3 years ago

已启动生成… 1>------ 已启动生成: 项目: EbpfCore, 配置: Debug x64 ------ 2>------ 已启动生成: 项目: api, 配置: Debug x64 ------ 3>------ 已启动生成: 项目: NetEbpfExt, 配置: Debug x64 ------ 3>Building 'NetEbpfExt' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 1>Building 'EbpfCore' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 1>Stamping x64\Debug\EbpfCore.inf 1>Stamping [Version] section with DriverVer=09/11/2021,8.39.43.236 3>Stamping x64\Debug\NetEbpfExt.inf 3>Stamping [Version] section with DriverVer=09/11/2021,8.39.43.236 3>D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. 3>D:\git\github\ebpf-for-windows\netebpfext\NetEbpfExt.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. 3>Building 'platform_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 3>netebpfext.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt.sys 1>D:\git\github\ebpf-for-windows\ebpfcore\EbpfCore.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. 1>D:\git\github\ebpf-for-windows\ebpfcore\EbpfCore.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. 1>Building 'execution_context_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 1>Building 'ubpf_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 1>EbpfCore.vcxproj -> D:\git\github\ebpf-for-windows\x64\Debug\EbpfCore.sys 2>Verifier.cpp 3>Driver is 'Universal'. 1>Driver is 'Universal'. 3>......................... 3>Signability test complete. 3> 3>Errors: 3>None 1>......................... 1>Signability test complete. 1> 1>Errors: 1>None 1> 1>Warnings: 1>None 3> 3>Warnings: 3>None 3> 3>Catalog generation complete. 3>D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt\netebpfext.cat 1> 1>Catalog generation complete. 1>D:\git\github\ebpf-for-windows\x64\Debug\EbpfCore\ebpfcore.cat 3>Done Adding Additional Store 1>Done Adding Additional Store 3>Successfully signed: D:\git\github\ebpf-for-windows\x64\Debug\NetEbpfExt\netebpfext.cat 3> 1>Successfully signed: D:\git\github\ebpf-for-windows\x64\Debug\EbpfCore\ebpfcore.cat 1> 3>已完成生成项目“netebpfext.vcxproj”的操作。 1>已完成生成项目“EbpfCore.vcxproj”的操作。 2>D:\git\github\ebpf-for-windows\external\ebpf-verifier\external\elfio\elfio\elf_types.hpp(1,1): error C2220: 以下警告被视为错误 2>D:\git\github\ebpf-for-windows\external\ebpf-verifier\external\elfio\elfio\elf_types.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 2>已完成生成项目“api.vcxproj”的操作 - 失败。 4>------ 已启动生成: 项目: EbpfApi, 配置: Debug x64 ------ 5>------ 已启动生成: 项目: ebpf_client, 配置: Debug x64 ------ 6>------ 已启动生成: 项目: unit_tests, 配置: Debug x64 ------ 7>------ 已启动生成: 项目: performance, 配置: Debug x64 ------ 7>LINK : fatal error LNK1104: 无法打开文件“D:\git\github\ebpf-for-windows\x64\Debug\api.lib” 4>LINK : fatal error LNK1104: 无法打开文件“D:\git\github\ebpf-for-windows\x64\Debug\api.lib” 5>LINK : fatal error LNK1104: 无法打开文件“D:\git\github\ebpf-for-windows\x64\Debug\api.lib” 4>已完成生成项目“ebpfapi.vcxproj”的操作 - 失败。 7>已完成生成项目“performance.vcxproj”的操作 - 失败。 5>已完成生成项目“ebpf_client.vcxproj”的操作 - 失败。 8>------ 已启动生成: 项目: ebpfnetsh, 配置: Debug x64 ------ 9>------ 已启动生成: 项目: port_quota, 配置: Debug x64 ------ 10>------ 已启动生成: 项目: api_test, 配置: Debug x64 ------ 11>------ 已启动生成: 项目: sample_ext_app, 配置: Debug x64 ------ 12>------ 已启动生成: 项目: xdp_tests, 配置: Debug x64 ------ 6>LINK : fatal error LNK1181: 无法打开输入文件“D:\git\github\ebpf-for-windows\x64\Debug\api.lib” 6>已完成生成项目“test.vcxproj”的操作 - 失败。 9>LINK : fatal error LNK1104: 无法打开文件“D:\git\github\ebpf-for-windows\x64\Debug\EbpfApi.lib” 9>已完成生成项目“port_quota.vcxproj”的操作 - 失败。 8>LINK : fatal error LNK1181: 无法打开输入文件“D:\git\github\ebpf-for-windows\x64\Debug\EbpfApi.lib” 12>LINK : fatal error LNK1181: 无法打开输入文件“D:\git\github\ebpf-for-windows\x64\Debug\EbpfApi.lib” 10>LINK : fatal error LNK1181: 无法打开输入文件“D:\git\github\ebpf-for-windows\x64\Debug\EbpfApi.lib” 11>LINK : fatal error LNK1181: 无法打开输入文件“D:\git\github\ebpf-for-windows\x64\Debug\EbpfApi.lib” 8>已完成生成项目“ebpfnetsh.vcxproj”的操作 - 失败。 12>已完成生成项目“xdp_tests.vcxproj”的操作 - 失败。 10>已完成生成项目“api_test.vcxproj”的操作 - 失败。 11>已完成生成项目“sample_ext_app.vcxproj”的操作 - 失败。 ========== 生成: 成功 2 个,失败 10 个,最新 20 个,跳过 0 个 ==========

kouzhudong commented 3 years ago

已启动生成… 1>------ 已启动生成: 项目: setup_build, 配置: Debug x64 ------ 2>------ 已启动生成: 项目: platform_user, 配置: Debug x64 ------ 3>------ 已启动生成: 项目: rpc_interface, 配置: Debug x64 ------ 4>------ 已启动生成: 项目: test_util, 配置: Debug x64 ------ 5>------ 已启动生成: 项目: netsh_static, 配置: Debug x64 ------ 6>------ 已启动生成: 项目: platform_kernel, 配置: Debug x64 ------ 7>------ 已启动生成: 项目: common_tests, 配置: Debug x64 ------ 8>------ 已启动生成: 项目: port_leak, 配置: Debug x64 ------ 4>service_helper.cpp 2>64 bit Processing ..\ebpf_program_types.idl 2>ebpf_program_types.idl 5>elf.cpp 3>64 bit Processing .\rpc_interface.idl 6>Building 'platform_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 3>rpc_interface.idl 6>64 bit Processing ..\ebpf_program_types.idl 2>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\wtypes.idl 3>64 bit Processing D:\git\microsoft\ebpf-for-windows\libs\api\ebpf_execution_context.h 2>wtypes.idl 3>ebpf_execution_context.h 2>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\wtypesbase.idl 6>ebpf_program_types.idl 3>64 bit Processing D:\git\microsoft\ebpf-for-windows\include\ebpf_execution_type.h 6>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\wtypes.idl 6>wtypes.idl 2>wtypesbase.idl 3>ebpf_execution_type.h 2>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\basetsd.h 4>program_helper.cpp 6>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\wtypesbase.idl 3>64 bit Processing D:\git\microsoft\ebpf-for-windows\include\ebpf_result.h 1>Commit ID changed, regenerating D:\git\microsoft\ebpf-for-windows\x64\Debug\git_commit_id.h 2>basetsd.h 2>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\guiddef.h 3>ebpf_result.h 2>guiddef.h 3>64 bit Processing C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\stdint.h 3>stdint.h 2>64 bit Processing ..\ebpf_program_types.acf 6>wtypesbase.idl 7>common_tests.cpp 2>ebpf_program_types.acf 6>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\basetsd.h 3>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\wtypes.idl 5>maps.cpp 8>port_leak.cpp 3>wtypes.idl 3>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\wtypesbase.idl 6>basetsd.h 6>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\guiddef.h 3>wtypesbase.idl 3>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\basetsd.h 3>basetsd.h 3>64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\guiddef.h 6>guiddef.h 3>guiddef.h 6>64 bit Processing ..\ebpf_program_types.acf 6>ebpf_program_types.acf 3>64 bit Processing .\rpc_interface.acf 9>------ 已启动生成: 项目: execution_context_user, 配置: Debug x64 ------ 3>rpc_interface.acf 2>ebpf_epoch.c 10>------ 已启动生成: 项目: ebpfverifier, 配置: Debug x64 ------ 9>ebpf_core.c 6>ebpf_epoch.c 4>正在生成代码... 5>programs.cpp 9>ebpf_general_helpers.c 6>ebpf_hash_table.c 2>ebpf_hash_table.c 2>ebpf_object.c 6>ebpf_object.c 9>ebpf_link.c 6>ebpf_pinning_table.c 10>Building Custom Rule D:/git/microsoft/ebpf-for-windows/external/ebpf-verifier/CMakeLists.txt 2>ebpf_pinning_table.c 9>ebpf_maps.c 6>ebpf_program_types.c 2>ebpf_program_types.c 6>ebpf_serialize.c 9>ebpf_program.c 2>ebpf_serialize.c 6>ebpf_state.c 4>test_util.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\test_util.lib 11>------ 已启动生成: 项目: ubpf_user, 配置: Debug x64 ------ 11>ubpf_user.c 9>正在生成代码... 5>正在生成代码... 2>ebpf_state.c 6>ebpf_trampoline.c 2>ebpf_trampoline.c 11>D:\git\microsoft\ebpf-for-windows\external\ubpf\vm\ubpf_jit_x86_64.h(325,34): warning C4013: “map_register”未定义;假设外部返回 int 11>D:\git\microsoft\ebpf-for-windows\external\ubpf\vm\ubpf_vm.c(82,28): warning C4090: “函数”: 不同的“const”限定符 7>common_tests.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\common_tests.lib 6>ebpf_extension_kernel.c 2>ebpf_extension_user.c 6>ebpf_handle_kernel.c 10>asm_cfg.cpp 12>------ 已启动生成: 项目: sample, 配置: Debug x64 ------ 2>ebpf_handle_user.c 9>execution_context_user.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\execution_context_user.lib 13>------ 已启动生成: 项目: ubpf_kernel, 配置: Debug x64 ------ 2>正在生成代码... 11>ubpf_user.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\ubpf_user.lib 13>Building 'ubpf_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 6>ebpf_platform_kernel.c 5>ebpfnetsh.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\netsh_static.lib 12>Performing Custom Build Tools 6>正在生成代码... 13>ubpf_kernel.c 2>ebpf_platform_user.cpp 11>已完成生成项目“ubpf_user.vcxproj”的操作。 14>------ 已启动生成: 项目: execution_context_kernel, 配置: Debug x64 ------ 15>------ 已启动生成: 项目: dnsflood, 配置: Debug x64 ------ 13>D:\git\microsoft\ebpf-for-windows\libs\ubpf\kernel\ubpf_kernel.c(30,1): warning C4005: “stderr”: 宏重定义 13>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\km\crt\stdio.h(192): message : 参见“stderr”的前一个定义 13>D:\git\microsoft\ebpf-for-windows\external\ubpf\vm\ubpf_vm.c(78,26): warning C4152: 非标准扩展,表达式中的函数/数据指针转换 13>D:\git\microsoft\ebpf-for-windows\external\ubpf\vm\ubpf_vm.c(82,5): warning C4090: “函数”: 不同的“const”限定符 12>Performing Custom Build Tools 14>Building 'execution_context_kernel' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 15>dns_flood.cpp 12>Performing Custom Build Tools 13>ubpf_kernel.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\ubpf_kernel.lib 12>Performing Custom Build Tools 14>ebpf_core.c 8>port_leak.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\port_leak.exe 13>已完成生成项目“ubpf_kernel.vcxproj”的操作。 12>Performing Custom Build Tools 14>ebpf_general_helpers.c 14>ebpf_link.c 12>Performing Custom Build Tools 14>ebpf_maps.c 12>Performing Custom Build Tools 14>ebpf_program.c 14>正在生成代码... 12>Performing Custom Build Tools 12>Performing Custom Build Tools 2>platform_user.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\platform_user.lib 12>Performing Custom Build Tools 16>------ 已启动生成: 项目: encode_program_info, 配置: Debug x64 ------ 14>execution_context_kernel.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\execution_context_kernel.lib 12>Performing Custom Build Tools 12>Performing Custom Build Tools 12>Performing Custom Build Tools 6>platform_kernel.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\platform_kernel.lib 17>------ 已启动生成: 项目: EbpfCore, 配置: Debug x64 ------ 18>------ 已启动生成: 项目: sample_ebpf_ext, 配置: Debug x64 ------ 18>Building 'sample_ebpf_ext' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 17>Building 'EbpfCore' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 17>Stamping x64\Debug\EbpfCore.inf 17>Stamping [Version] section with DriverVer=09/11/2021,11.53.12.990 18>sample_ext_drv.c 17>D:\git\microsoft\ebpf-for-windows\ebpfcore\EbpfCore.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. 17>D:\git\microsoft\ebpf-for-windows\ebpfcore\EbpfCore.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. 18>sample_ext.c 17>ebpf_drv.c 18>正在生成代码... 18>sample_ext.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\sample_ebpf_ext.sys 15>dnsflood.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\dnsflood.exe 17>EbpfCore.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\EbpfCore.sys 18>Done Adding Additional Store 18>Successfully signed: D:\git\microsoft\ebpf-for-windows\x64\Debug\sample_ebpf_ext.sys 18> 16>encode_program_info.cpp 17>Done Adding Additional Store 17>Successfully signed: D:\git\microsoft\ebpf-for-windows\x64\Debug\EbpfCore.sys 17> 18>Driver is 'Universal'. 18>Inf2Cat task was skipped as there were no inf files to process 17>Driver is 'Universal'. 17>........................ 17>Signability test complete. 17> 17>Errors: 17>None 17> 17>Warnings: 17>None 17> 17>Catalog generation complete. 17>D:\git\microsoft\ebpf-for-windows\x64\Debug\EbpfCore\ebpfcore.cat 16>encode_program_info.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\encode_program_info.exe 16>Encoding Program Information 17>Done Adding Additional Store 17>Successfully signed: D:\git\microsoft\ebpf-for-windows\x64\Debug\EbpfCore\ebpfcore.cat 17> 19>------ 已启动生成: 项目: service (libs\user\service), 配置: Debug x64 ------ 17>已完成生成项目“EbpfCore.vcxproj”的操作。 20>------ 已启动生成: 项目: api, 配置: Debug x64 ------ 21>------ 已启动生成: 项目: api_common, 配置: Debug x64 ------ 22>------ 已启动生成: 项目: NetEbpfExt, 配置: Debug x64 ------ 22>Building 'NetEbpfExt' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform. 21>device_helper.cpp 22>Stamping x64\Debug\NetEbpfExt.inf 22>Stamping [Version] section with DriverVer=09/11/2021,11.53.25.745 22>D:\git\microsoft\ebpf-for-windows\netebpfext\NetEbpfExt.inf(56-56): warning 2083: Section [defaultuninstall] not referenced or used. 22>D:\git\microsoft\ebpf-for-windows\netebpfext\NetEbpfExt.inf(59-59): warning 2083: Section [defaultuninstall.services] not referenced or used. 22>net_ebpf_ext_drv.c 20>ebpf_api.cpp 19>api_service.cpp 22>net_ebpf_ext.c 22>ebpf_ext_attach_provider.c 22>正在生成代码... 19>verifier_service.cpp 22>netebpfext.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\NetEbpfExt.sys 20>libbpf_link.cpp 22>Done Adding Additional Store 22>Successfully signed: D:\git\microsoft\ebpf-for-windows\x64\Debug\NetEbpfExt.sys 22> 10>asm_files.cpp 21>map_descriptors.cpp 20>libbpf_object.cpp 22>Driver is 'Universal'. 20>libbpf_program.cpp 21>api_common.cpp 22>........................ 22>Signability test complete. 22> 22>Errors: 22>None 22> 22>Warnings: 22>None 22> 22>Catalog generation complete. 22>D:\git\microsoft\ebpf-for-windows\x64\Debug\NetEbpfExt\netebpfext.cat 22>Done Adding Additional Store 22>Successfully signed: D:\git\microsoft\ebpf-for-windows\x64\Debug\NetEbpfExt\netebpfext.cat 22> 22>已完成生成项目“netebpfext.vcxproj”的操作。 20>libbpf_map.cpp 10>D:\git\microsoft\ebpf-for-windows\external\ebpf-verifier\external\ELFIO\elfio/elf_types.hpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 20>Verifier.cpp 10>D:\git\microsoft\ebpf-for-windows\external\ebpf-verifier\src\asm_files.cpp(55,45): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 10>asm_marshal.cpp 21>windows_helpers.cpp 19>windows_platform_service.cpp 10>asm_ostream.cpp 20>windows_platform.cpp 21>windows_platform_common.cpp 19>正在生成代码... 20>正在生成代码... 21>正在生成代码... 10>asm_parse.cpp 21>api_common.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\api_common.lib 19>service.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\service.lib 20>api.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\api.lib 10>asm_unmarshal.cpp 10>assertions.cpp 10>config.cpp 10>array_domain.cpp 10>D:\git\microsoft\ebpf-for-windows\external\ebpf-verifier\external\radix_tree\radix_tree_it.hpp(12,35): warning C4996: 'std::iterator<std::forward_iterator_tag,std::pair<K,T>,ptrdiff_t,std::pair<K,T> ,std::pair<K,T> &>': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(5911,1): message : 参见“std::iterator”的声明 10>D:\git\microsoft\ebpf-for-windows\external\ebpf-verifier\src\crab\array_domain.cpp(60): message : 查看对正在编译的 类 模板 实例化“radix_tree_it<K,T,Compare>”的引用 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t, 10> Compare=std::less 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(473,31): warning C4996: 'std::iterator<std::forward_iterator_tag,std::pair<K,T>,ptrdiff_t,std::pair<K,T> ,std::pair<K,T> &>::iterator_category': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(664): message : 查看对正在编译的 类 模板 实例化“std::_Iterator_traits_base<_Ty>”的引用 10> with 10> [ 10> _Ty=radix_tree_it<crab::domains::offset_t,crab::domains::offset_map_t::cell_set_t,std::less> 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(389): message : 查看对正在编译的 类 模板 实例化“std::iterator_traits<radix_tree_it<K,T,Compare>>”的引用 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t, 10> Compare=std::less 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(395): message : 查看指向正在编译的变量模板“bool _Is_from_primary<std::iterator_traits<radix_tree_it<crab::domains::offset_t,std::set<crab::domains::cell_t,std::less,std::allocator >,std::less > > >”的引用 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(1193): message : 查看对正在编译的 别名 模板 实例化“std::iter_difference_t<radix_tree_it<K,T,Compare>>”的引用 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t, 10> Compare=std::less 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(1588): message : 查看对正在编译的 别名 模板 实例化“std::_Iter_diff_t<radix_tree_it<K,T,Compare>>”的引用 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t, 10> Compare=std::less 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(1588): message : 查看对正在编译的函数 模板 实例化“conditional_t<std::_Is_from_primary<std::iterator_traits<remove_cv<remove_reference<_Ty>::type>::type>>,std::incrementable_traits<remove_cv<remove_reference<_Ty>::type>::type>,std::iterator_traits<remove_cv<remove_reference<_Ty>::type>::type>>::difference_type std::distance(_InIt,_InIt)”的引用 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(474,31): warning C4996: 'std::iterator<std::forward_iterator_tag,std::pair<K,T>,ptrdiff_t,std::pair<K,T> ,std::pair<K,T> &>::difference_type': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(475,31): warning C4996: 'std::iterator<std::forward_iterator_tag,std::pair<K,T>,ptrdiff_t,std::pair<K,T> ,std::pair<K,T> &>::value_type': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(477,31): warning C4996: 'std::iterator<std::forward_iterator_tag,std::pair<K,T>,ptrdiff_t,std::pair<K,T> ,std::pair<K,T> &>::reference': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(371,29): warning C4996: 'std::iterator<std::forward_iterator_tag,std::pair<K,T>,ptrdiff_t,std::pair<K,T> ,std::pair<K,T> &>::difference_type': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning. 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t 10> ] 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\xutility(1193): message : 查看对正在编译的 类 模板 实例化“std::incrementable_traits<radix_tree_it<K,T,Compare>>”的引用 10> with 10> [ 10> K=crab::domains::offset_t, 10> T=crab::domains::offset_map_t::cell_set_t, 10> Compare=std::less 10> ] 10>bitset_domain.cpp 10>fwd_analyzer.cpp 10>interval.cpp 10>split_dbm.cpp 10>thresholds.cpp 10>var_factory.cpp 10>wto.cpp 10>debug.cpp 10>stats.cpp 10>crab_verifier.cpp 10>spec_prototypes.cpp 10>正在生成代码... 10>正在编译... 10>linux_platform.cpp 10>正在生成代码... 10>ebpfverifier.vcxproj -> D:\git\microsoft\ebpf-for-windows\external\ebpf-verifier\build\Debug\ebpfverifier.lib 10>已完成生成项目“ebpfverifier.vcxproj”的操作。 23>------ 已启动生成: 项目: ebpfsvc, 配置: Debug x64 ------ 24>------ 已启动生成: 项目: EbpfApi, 配置: Debug x64 ------ 25>------ 已启动生成: 项目: unit_tests, 配置: Debug x64 ------ 26>------ 已启动生成: 项目: performance, 配置: Debug x64 ------ 26>mock.cpp 24>dllmain.cpp 24>platform.cpp 23>rpc_api.cpp 25>execution_context_unit_test.cpp 24>rpc_client.cpp 26>test_helper.cpp 24>正在生成代码... 25>platform_unit_test.cpp 24> 正在创建库 D:\git\microsoft\ebpf-for-windows\x64\Debug\EbpfApi.lib 和对象 D:\git\microsoft\ebpf-for-windows\x64\Debug\EbpfApi.exp 26>performance.cpp 23>platform.cpp 23>rpc_util.cpp 25>capture_helper.cpp 24>ebpfapi.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\EbpfApi.dll 27>------ 已启动生成: 项目: ebpfnetsh, 配置: Debug x64 ------ 28>------ 已启动生成: 项目: port_quota, 配置: Debug x64 ------ 29>------ 已启动生成: 项目: api_test, 配置: Debug x64 ------ 30>------ 已启动生成: 项目: sample_ext_app, 配置: Debug x64 ------ 31>------ 已启动生成: 项目: xdp_tests, 配置: Debug x64 ------ 23>svcmain.cpp 27>dllmain.c 30>sample_ext_app.cpp 28>port_quota.cpp 31>xdp_tests.cpp 29>api_test.cpp 25>end_to_end.cpp 23>正在生成代码... 26>正在生成代码... 27> 正在创建库 D:\git\microsoft\ebpf-for-windows\x64\Debug\ebpfnetsh.lib 和对象 D:\git\microsoft\ebpf-for-windows\x64\Debug\ebpfnetsh.exp 25>mock.cpp 27>ebpfnetsh.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\ebpfnetsh.dll 28>port_quota.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\port_quota.exe 25>netsh_test.cpp 23>eBPFSvc.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\ebpfsvc.exe 25>test_helper.cpp 26>performance.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\ebpf_performance.exe 25>libbpf_test.cpp 31>xdp_tests.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\xdp_tests.exe 32>------ 已启动生成: 项目: ebpf_client, 配置: Debug x64 ------ 30>sample_ext_app.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\sample_ext_app.exe 29>api_test.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\api_test.exe 32>rpc_client.cpp 25>正在生成代码... 32>main.cpp 25>test.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\unit_tests.exe 32>platform.cpp 32>正在生成代码... 32>ebpf_client.vcxproj -> D:\git\microsoft\ebpf-for-windows\x64\Debug\ebpf_client.exe ========== 生成: 成功 32 个,失败 0 个,最新 0 个,跳过 0 个 ==========