The smvbuild.log shows the linker error. It’s frustrating because it doesn’t seem to say anything beyond ‘link failed.’
Task “Link”
C:\Program Files (x86)\Windows Kits\10\TOOLS\SDV\smv\bin\link.exe /ERRORREPORT:QUEUE /OUT:“S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\x64\ebUniversalProForEthernet.sys” /VERSION:“10.0” /INCREMENTAL:NO /NOLOGO /WX /SECTION:“INIT,d” “C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x64\BufferOverflowK.lib” “C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x64\ntoskrnl.lib” “C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x64\hal.lib” “C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x64\wmilib.lib” ndis.lib /NODEFAULTLIB /MANIFEST:NO /DEBUG /PDB:“S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\x64\ebUniversalProForEthernet.pdb” /SUBSYSTEM:NATIVE,“6.01” /Driver /OPT:REF /OPT:ICF /ENTRY:“GsDriverEntry” /RELEASE /IMPLIB:“S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\x64\ebUniversalProForEthernet.lib” /MERGE:“_TEXT=.text;_PAGE=PAGE” /MACHINE:X64 /PROFILE /guard:cf /kernel /IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221,4108,4088,4218,4218,4235 /osversion:10.0 /pdbcompress /debugtype:pdata x64\Release\WFT6_Filter.res
x64\Release\DIS_Hardware.obj
x64\Release\DIS_PlugIn.obj
x64\Release\DPCAP_Filter.obj
x64\Release\GDR_API.obj
x64\Release\GDR_Missing.obj
x64\Release\GDR_Request.obj
x64\Release\GDR_Resend.obj
x64\Release\GDR_ResourceManager.obj
x64\Release\GTR_API.obj
x64\Release\GTR_Buffer.obj
x64\Release\GTR_Resend.obj
x64\Release\LOG_Circular.obj
x64\Release\NET_KMNRXPacket.obj
x64\Release\NET_KMNUtil.obj
x64\Release\NET_RXPacketManager.obj
x64\Release\OS_GENMemoryPool.obj
x64\Release\OS_KMNEvent.obj
x64\Release\OS_KMNInit.obj
x64\Release\OS_KMNLock.obj
x64\Release\OS_KMNMemoryMap.obj
x64\Release\OS_KMNRWLock.obj
x64\Release\OS_KMNSemaphore.obj
x64\Release\OS_KMNThread.obj
x64\Release\OS_KMNTimer.obj
x64\Release\OS_KMShareMemory.obj
x64\Release\OS_WINOptimizedMemcpy.obj
x64\Release\sprintf_mod.obj
x64\Release\PCAP_Filter.obj
x64\Release\PIG.obj
x64\Release\PIT.obj
x64\Release\WFT6_CpuUsage.obj
x64\Release\WFT6_Device.obj
x64\Release\WFT6_Filter.obj
x64\Release\WFT6_Global.obj
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(673,5): error MSB6006: “link.exe” exited with code 1. [S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj]
Done executing task “Link” – FAILED.
Done building target “Link” in project “ebUniversalProForEthernet.vcxproj” – FAILED.
Done Building Project “S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj” (rebuild target(s)) – FAILED.
Build FAILED.
“S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj” (rebuild target) (1) ->
(PrepareForBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory. [S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj]
“S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj” (rebuild target) (1) ->
(InfVerif target) ->
S:\sw\swcommon\Libraries\EbTransportLayerLib\WFT6\ebUniversalProForEthernet.inf(43-43): warning 1205: Section [ebUniversalProForEthernet.copyfiles.sys] referenced from DelFiles and CopyFiles directive. [S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj]
“S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj” (rebuild target) (1) ->
(ClCompile target) ->
s:\sw\swcommon\libraries\ebtransportlayerlib\os\os_kmnrwlock.c(18): warning C4100: ‘aLock’: unreferenced formal parameter [S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj]
“S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj” (rebuild target) (1) ->
(Link target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(673,5): error MSB6006: “link.exe” exited with code 1. [S:\sw\win-x86_64\Drivers\eBUSUniversalProForEthernet\ebUniversalProForEthernet\ebUniversalProForEthernet.vcxproj]
3 Warning(s)
1 Error(s)