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

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



On Mon, 23 Sep 2019 at 15:40, Owen Smith <owen.smith@xxxxxxxxxx> wrote:
>
> 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>

Acked-by: Paul Durrant <paul@xxxxxxx>

> ---
>  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

_______________________________________________
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®.