[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH] Fix LNK2005


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Mon, 23 Sep 2019 15:39:01 +0100
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=owen.smith@xxxxxxxxxx; spf=Pass smtp.mailfrom=owen.smith@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Mon, 23 Sep 2019 14:39:37 +0000
  • Ironport-sdr: 1bt7qVbDlFh+BGxkkX1IhxkIynwADRzCY5gSimN244aJBmbYe6zKZY7NxuTJx1B0na+sxd/eit kJFah26VTdGO+45cMmLpNGSZL3s2BD3/y8gDmkjKEmFYgcBFwO0ORx1TB7eOxHy556K3MI4nQu An02ZcfwNCPTpwJBp/uPi8dTRpcxJGznJqk2MXRBprg4hIeYX0lQxXdIU9LLeI0BMP8Soj73O0 5fv9QU1DEIWYhLlg91jRmgkk7ohDAhO4vpG87tjxdGYpUEn0Q8XRkePD1Nel/6b8APFnRUu0BT QcY=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

VS2019 project fails to link with LNK2005 for functions defined in
libcntpr.lib. Remove the unneccessary linker input.

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 vs2019/xendisk/xendisk.vcxproj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vs2019/xendisk/xendisk.vcxproj b/vs2019/xendisk/xendisk.vcxproj
index c49a119..ce4b6d3 100644
--- a/vs2019/xendisk/xendisk.vcxproj
+++ b/vs2019/xendisk/xendisk.vcxproj
@@ -34,7 +34,7 @@
     </ResourceCompile>
     <Link>
       <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
-      
<AdditionalDependencies>$(DDK_LIB_PATH)/libcntpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
       
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
     </Link>
   </ItemDefinitionGroup>
-- 
2.16.2.windows.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.