cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Windows Visual Studio 2015 Build error

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 2 Nov 2016 14:19:35 -0400

On 11/2/2016 1:26 PM, John Coffey wrote:
> Its been some time since the build failed, I just downloaded the
> latest 7.51.0 and went through my usual build steps by opening a
> VV2014 x64 Native Tools command prompt and then traversing to the
> winbuild directory and perform the following:
>
> nmake /f Makefile.vc mode=dll VC=14 MACHINE=x64 GEN_PDB=yes DEBUG=yes
>
> The build proceeds and fails at link time with:
>
> debug-dll-ipv6-sspi-winssl-obj-curl\curl.res
> libcurl_debug.lib(libcurl_debug.dll) : error LNK2005: curl_strnequal
> already defined in strcase.obj
> libcurl_debug.lib(libcurl_debug.dll) : error LNK2005: curl_strequal
> already defined in strcase.obj
> Creating library
> ..\builds\libcurl-vc14-x64-debug-dll-ipv6-sspi-winssl\bin\curl.lib and
> object ..\builds\libcurl-vc14-x64-debug-dll-ipv6-sspi-winssl\bin\curl.exp
> ..\builds\libcurl-vc14-x64-debug-dll-ipv6-sspi-winssl\bin\curl.exe :
> fatal error LNK1169: one or more multiply defined symbols found
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 14.0
> \VC\BIN\amd64\link.exe"' : return code '0x491' Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 14.0
> \VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop.

Fixed this morning https://github.com/curl/curl/commit/d7e5f18

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-02