本文介绍了[WFP] Windows过滤平台示例无法使用Visual Studio 2015 U3构建x64 \Release \WFPSamplerCalloutDriver.sys的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建完整解决方案时遇到了麻烦。所有其他配置都运行良好。


有人解决了吗?这是已知问题吗?什么是构建解决方案?

I run into the troubles when building complete solution. All other configurations works well.
Does someone solved it? Is that known problem? What is solution to build?

以下是构建的输出:

1> ------重建全部开始:项目:WFPSampler( Syslib \ WFPSampler),配置:发布x64 ------

1>  使用工具集'WindowsKernelModeDriver10.0'和'桌面'目标平台构建'WFPSampler'。

1>   HelperFunctions_ClassifyData.cpp

1>   HelperFunctions_DeferredProcedureCalls.cpp

1>   HelperFunctions_FlowContext.cpp

1>   HelperFunctions_FwpObjects.cpp

1>   HelperFunctions_Headers.cpp

1>   HelperFunctions_InjectionData.cpp

1>   HelperFunctions_NDIS.cpp

1>   HelperFunctions_NetBuffer.cpp

1>   HelperFunctions_PendData.cpp

1>   HelperFunctions_RedirectData.cpp

1>   HelperFunctions_WorkItems.cpp

1>  生成代码...

1>   WFPSampler.vcxproj - > D:\Projects \ Windows-driver-samples \ Windows-driver-samples-master\\\
etwork\trans\WFPSampler \syslib\ x64 \Release\WFPSampler.lib

2> ------重建全部开始:项目:WFPSamplerCalloutDriver,配置:发布x64 ------
$
2>  使用工具集'WindowsKernelModeDriver10.0'和'桌面'目标平台构建'WFPSamplerCalloutDriver'。

2>   Stamping .\x64\Release\\WFPSamplerCalloutDriver.inf [Version] section with DriverVer = 07/07 / 2017,14.8.24.504

2>   ClassifyFunctions_AdvancedPacketInjectionCallouts.cpp

2>   ClassifyFunctions_BasicActionCallouts.cpp

2>   ClassifyFunctions_BasicPacketExaminationCallouts.cpp

2>   ClassifyFunctions_BasicPacketInjectionCallouts.cpp

2>   ClassifyFunctions_BasicPacketModificationCallouts.cpp

2>   ClassifyFunctions_BasicStreamInjectionCallouts.cpp

2>   ClassifyFunctions_FastPacketInjectionCallouts.cpp

2>   ClassifyFunctions_FastStreamInjectionCallouts.cpp

2>   ClassifyFunctions_FlowAssociationCallouts.cpp

2>   ClassifyFunctions_PendAuthorizationCallouts.cpp

2>   ClassifyFunctions_PendEndpointClosureCallouts.cpp

2>   ClassifyFunctions_ProxyCallouts.cpp

2>   CompletionFunctions_AdvancedPacketInjectionCallouts.cpp

2>   CompletionFunctions_BasicPacketInjectionCallouts.cpp

2>   CompletionFunctions_BasicPacketModificationCallouts.cpp

2>   CompletionFunctions_BasicStreamInjectionCallouts.cpp

2>   CompletionFunctions_FastPacketInjectionCallouts.cpp

2>   CompletionFunctions_FastStreamInjectionCallouts.cpp

2>   CompletionFunctions_PendAuthorizationCallouts.cpp

2>   CompletionFunctions_ProxyCallouts.cpp

2>  生成代码...

2>  编译...

2>   Framework_WFPSamplerCalloutDriver.cpp

2>   Framework_Events.cpp

2>   Framework_PowerStates.cpp

2>   HelperFunctions_ExposedCallouts.cpp

2>   NotifyFunctions_AdvancedCallouts.cpp

2>   NotifyFunctions_BasicCallouts.cpp

2>   NotifyFunctions_FastCallouts.cpp

2>   NotifyFunctions_FlowDelete.cpp

2>   NotifyFunctions_PendCallouts.cpp

2>   NotifyFunctions_ProxyCallouts.cpp

2>   SubscriptionFunctions_BFEState.cpp

2>  生成代码...

2>   UUID.lib(fwpapi.obj):用/ GL编译的MSIL .netmodule或模块;重新启动与/ LTCG的链接;将/ LTCG添加到链接命令行以提高链接器性能

2> CompletionFunctions_BasicPacketModificationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> CompletionFunctions_BasicStreamInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> CompletionFunctions_PendAuthorizationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> CompletionFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> ClassifyFunctions_PendAuthorizationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> ClassifyFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> CompletionFunctions_AdvancedPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> CompletionFunctions_BasicPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> ClassifyFunctions_AdvancedPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketModificationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> ClassifyFunctions_BasicStreamInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy @@ YAXPEAPEAUCLASSIFY_DATA _ @@@ Z)

2> CompletionFunctions_BasicPacketModificationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> CompletionFunctions_BasicStreamInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> CompletionFunctions_PendAuthorizationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> CompletionFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> ClassifyFunctions_PendAuthorizationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> ClassifyFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> CompletionFunctions_AdvancedPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> CompletionFunctions_BasicPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> ClassifyFunctions_AdvancedPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketModificationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> ClassifyFunctions_BasicStreamInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy @@ YAXPEAPEAUINJECTION_DATA _ @@@ Z)

2> ClassifyFunctions_PendAuthorizationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy @@ YAXPEAPEAUDPC_DATA _ @@@ Z)

2> ClassifyFunctions_PendEndpointClosureCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy @@ YAXPEAPEAUDPC_DATA _ @@@ Z)

2> ClassifyFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy @@ YAXPEAPEAUDPC_DATA _ @@@ Z)

2> ClassifyFunctions_AdvancedPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy @@ YAXPEAPEAUDPC_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy @@ YAXPEAPEAUDPC_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketModificationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy @@ YAXPEAPEAUDPC_DATA _ @@@ Z)

2> ClassifyFunctions_BasicStreamInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy @@ YAXPEAPEAUDPC_DATA _ @@@ Z)

2> NotifyFunctions_BasicCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> NotifyFunctions_FastCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> NotifyFunctions_PendCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> NotifyFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_PendAuthorizationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_PendEndpointClosureCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> NotifyFunctions_AdvancedCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_AdvancedPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_BasicPacketModificationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_BasicStreamInjectionCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy @@ YAXPEAPEAUWORKITEM_DATA _ @@@ Z)

2> ClassifyFunctions_PendAuthorizationCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprPendDataDestroy(struct PEND_DATA_ * *)" (?KrnlHlprPendDataDestroy @@ YAXPEAPEAUPEND_DATA _ @@@ Z)

2> ClassifyFunctions_PendEndpointClosureCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprPendDataDestroy(struct PEND_DATA_ * *)" (?KrnlHlprPendDataDestroy @@ YAXPEAPEAUPEND_DATA _ @@@ Z)

2> NotifyFunctions_FlowDelete.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprPendDataDestroy(struct PEND_DATA_ * *)" (?KrnlHlprPendDataDestroy @@ YAXPEAPEAUPEND_DATA _ @@@ Z)

2> ClassifyFunctions_ProxyCallouts.obj:错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprRedirectDataDestroy(struct REDIRECT_DATA_ * *)" (?KrnlHlprRedirectDataDestroy @@ YAXPEAPEAUREDIRECT_DATA _ @@@ Z)

2> NotifyFunctions_FlowDelete.obj:错误LNK2001:未解析的外部符号" long __cdecl KrnlHlprFlowContextDestroy(struct FLOW_CONTEXT_ * *)" (?KrnlHlprFlowContextDestroy @@ YAJPEAPEAUFLOW_CONTEXT _ @@@ Z)

2> WFPSampler.lib(HelperFunctions_ClassifyData.obj):错误LNK2001:未解析的外部符号" void __cdecl KrnlHlprFwpsIncomingMetadataValuesDestroyLocalCopy(struct FWPS_INCOMING_METADATA_VALUES0_ * *)" (?KrnlHlprFwpsIncomingMetadataValuesDestroyLocalCopy @@ YAXPEAPEAUFWPS_INCOMING_METADATA_VALUES0 _ @@@ Z)

2 - ; WFPSampler.lib(HelperFunctions_ClassifyData.obj):错误LNK 2001:解析外部符号"无效__cdecl KrnlHlprFwpsStreamCalloutIOPacketDestroyLocalCopy(结构FWPS_STREAM_CALLOUT_IO_PACKET0_ * *)" (?KrnlHlprFwpsStreamCalloutIOPacketDestroyLocalCopy @@ YAXPEAPEAUFWPS_STREAM_CALLOUT_IO_PACKET0 _ @@@ Z)

2> x64 \Release\WFPSamplerCalloutDriver.sys:致命错误LNK1120:9个未解析的外部因素

==== ======重建全部:1成功,1失败,0跳过==========

1>------ Rebuild All started: Project: WFPSampler (Syslib\WFPSampler), Configuration: Release x64 ------
1>  Building 'WFPSampler' with toolset 'WindowsKernelModeDriver10.0' and the 'Desktop' target platform.
1>  HelperFunctions_ClassifyData.cpp
1>  HelperFunctions_DeferredProcedureCalls.cpp
1>  HelperFunctions_FlowContext.cpp
1>  HelperFunctions_FwpObjects.cpp
1>  HelperFunctions_Headers.cpp
1>  HelperFunctions_InjectionData.cpp
1>  HelperFunctions_NDIS.cpp
1>  HelperFunctions_NetBuffer.cpp
1>  HelperFunctions_PendData.cpp
1>  HelperFunctions_RedirectData.cpp
1>  HelperFunctions_WorkItems.cpp
1>  Generating Code...
1>  WFPSampler.vcxproj -> D:\Projects\Windows-driver-samples\Windows-driver-samples-master\network\trans\WFPSampler\syslib\x64\Release\WFPSampler.lib
2>------ Rebuild All started: Project: WFPSamplerCalloutDriver, Configuration: Release x64 ------
2>  Building 'WFPSamplerCalloutDriver' with toolset 'WindowsKernelModeDriver10.0' and the 'Desktop' target platform.
2>  Stamping .\x64\Release\\WFPSamplerCalloutDriver.inf [Version] section with DriverVer=07/07/2017,14.8.24.504
2>  ClassifyFunctions_AdvancedPacketInjectionCallouts.cpp
2>  ClassifyFunctions_BasicActionCallouts.cpp
2>  ClassifyFunctions_BasicPacketExaminationCallouts.cpp
2>  ClassifyFunctions_BasicPacketInjectionCallouts.cpp
2>  ClassifyFunctions_BasicPacketModificationCallouts.cpp
2>  ClassifyFunctions_BasicStreamInjectionCallouts.cpp
2>  ClassifyFunctions_FastPacketInjectionCallouts.cpp
2>  ClassifyFunctions_FastStreamInjectionCallouts.cpp
2>  ClassifyFunctions_FlowAssociationCallouts.cpp
2>  ClassifyFunctions_PendAuthorizationCallouts.cpp
2>  ClassifyFunctions_PendEndpointClosureCallouts.cpp
2>  ClassifyFunctions_ProxyCallouts.cpp
2>  CompletionFunctions_AdvancedPacketInjectionCallouts.cpp
2>  CompletionFunctions_BasicPacketInjectionCallouts.cpp
2>  CompletionFunctions_BasicPacketModificationCallouts.cpp
2>  CompletionFunctions_BasicStreamInjectionCallouts.cpp
2>  CompletionFunctions_FastPacketInjectionCallouts.cpp
2>  CompletionFunctions_FastStreamInjectionCallouts.cpp
2>  CompletionFunctions_PendAuthorizationCallouts.cpp
2>  CompletionFunctions_ProxyCallouts.cpp
2>  Generating Code...
2>  Compiling...
2>  Framework_WFPSamplerCalloutDriver.cpp
2>  Framework_Events.cpp
2>  Framework_PowerStates.cpp
2>  HelperFunctions_ExposedCallouts.cpp
2>  NotifyFunctions_AdvancedCallouts.cpp
2>  NotifyFunctions_BasicCallouts.cpp
2>  NotifyFunctions_FastCallouts.cpp
2>  NotifyFunctions_FlowDelete.cpp
2>  NotifyFunctions_PendCallouts.cpp
2>  NotifyFunctions_ProxyCallouts.cpp
2>  SubscriptionFunctions_BFEState.cpp
2>  Generating Code...
2>  UUID.lib(fwpapi.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
2>CompletionFunctions_BasicPacketModificationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>CompletionFunctions_BasicStreamInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>CompletionFunctions_PendAuthorizationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>CompletionFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>ClassifyFunctions_PendAuthorizationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>ClassifyFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>CompletionFunctions_AdvancedPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>CompletionFunctions_BasicPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>ClassifyFunctions_AdvancedPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketModificationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>ClassifyFunctions_BasicStreamInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprClassifyDataDestroyLocalCopy(struct CLASSIFY_DATA_ * *)" (?KrnlHlprClassifyDataDestroyLocalCopy@@YAXPEAPEAUCLASSIFY_DATA_@@@Z)
2>CompletionFunctions_BasicPacketModificationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>CompletionFunctions_BasicStreamInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>CompletionFunctions_PendAuthorizationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>CompletionFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>ClassifyFunctions_PendAuthorizationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>ClassifyFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>CompletionFunctions_AdvancedPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>CompletionFunctions_BasicPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>ClassifyFunctions_AdvancedPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketModificationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>ClassifyFunctions_BasicStreamInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprInjectionDataDestroy(struct INJECTION_DATA_ * *)" (?KrnlHlprInjectionDataDestroy@@YAXPEAPEAUINJECTION_DATA_@@@Z)
2>ClassifyFunctions_PendAuthorizationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy@@YAXPEAPEAUDPC_DATA_@@@Z)
2>ClassifyFunctions_PendEndpointClosureCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy@@YAXPEAPEAUDPC_DATA_@@@Z)
2>ClassifyFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy@@YAXPEAPEAUDPC_DATA_@@@Z)
2>ClassifyFunctions_AdvancedPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy@@YAXPEAPEAUDPC_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy@@YAXPEAPEAUDPC_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketModificationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy@@YAXPEAPEAUDPC_DATA_@@@Z)
2>ClassifyFunctions_BasicStreamInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprDPCDataDestroy(struct DPC_DATA_ * *)" (?KrnlHlprDPCDataDestroy@@YAXPEAPEAUDPC_DATA_@@@Z)
2>NotifyFunctions_BasicCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>NotifyFunctions_FastCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>NotifyFunctions_PendCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>NotifyFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_PendAuthorizationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_PendEndpointClosureCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>NotifyFunctions_AdvancedCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_AdvancedPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_BasicPacketModificationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_BasicStreamInjectionCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprWorkItemDataDestroy(struct WORKITEM_DATA_ * *)" (?KrnlHlprWorkItemDataDestroy@@YAXPEAPEAUWORKITEM_DATA_@@@Z)
2>ClassifyFunctions_PendAuthorizationCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprPendDataDestroy(struct PEND_DATA_ * *)" (?KrnlHlprPendDataDestroy@@YAXPEAPEAUPEND_DATA_@@@Z)
2>ClassifyFunctions_PendEndpointClosureCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprPendDataDestroy(struct PEND_DATA_ * *)" (?KrnlHlprPendDataDestroy@@YAXPEAPEAUPEND_DATA_@@@Z)
2>NotifyFunctions_FlowDelete.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprPendDataDestroy(struct PEND_DATA_ * *)" (?KrnlHlprPendDataDestroy@@YAXPEAPEAUPEND_DATA_@@@Z)
2>ClassifyFunctions_ProxyCallouts.obj : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprRedirectDataDestroy(struct REDIRECT_DATA_ * *)" (?KrnlHlprRedirectDataDestroy@@YAXPEAPEAUREDIRECT_DATA_@@@Z)
2>NotifyFunctions_FlowDelete.obj : error LNK2001: unresolved external symbol "long __cdecl KrnlHlprFlowContextDestroy(struct FLOW_CONTEXT_ * *)" (?KrnlHlprFlowContextDestroy@@YAJPEAPEAUFLOW_CONTEXT_@@@Z)
2>WFPSampler.lib(HelperFunctions_ClassifyData.obj) : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprFwpsIncomingMetadataValuesDestroyLocalCopy(struct FWPS_INCOMING_METADATA_VALUES0_ * *)" (?KrnlHlprFwpsIncomingMetadataValuesDestroyLocalCopy@@YAXPEAPEAUFWPS_INCOMING_METADATA_VALUES0_@@@Z)
2>WFPSampler.lib(HelperFunctions_ClassifyData.obj) : error LNK2001: unresolved external symbol "void __cdecl KrnlHlprFwpsStreamCalloutIOPacketDestroyLocalCopy(struct FWPS_STREAM_CALLOUT_IO_PACKET0_ * *)" (?KrnlHlprFwpsStreamCalloutIOPacketDestroyLocalCopy@@YAXPEAPEAUFWPS_STREAM_CALLOUT_IO_PACKET0_@@@Z)
2>x64\Release\WFPSamplerCalloutDriver.sys : fatal error LNK1120: 9 unresolved externals
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

推荐答案


这篇关于[WFP] Windows过滤平台示例无法使用Visual Studio 2015 U3构建x64 \Release \WFPSamplerCalloutDriver.sys的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 00:59