cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3438912 ] libcurl CMake Windows

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 16 Nov 2011 10:15:07 -0800

Bugs item #3438912, was opened at 2011-11-16 10:15
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3438912&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: DRayX ()
Assigned to: Daniel Stenberg (bagder)
Summary: libcurl CMake Windows

Initial Comment:
When building libcurl 7.23.0 on Windows with Visual Studio 10 (SP1) with CMake generated solution files and ENABLE_IPV6 on, I get the following linking error:
hostip6.obj : error LNK2019: unresolved external symbol Curl_getaddrinfo_ex referenced in function Curl_getaddrinfo
By manually enabling HAVE_GETADDRINFO in curl_config.h, I can work around the linker error, but this should be detected by the cmake scripts. I think the proper fix would be to remove the set(HAVE_GETADDRINFO 0) line from the WindowsCache.cmake and update the HAVE_GETADDRINFO test in CurlTests.c to #include <ws2tcpip.h> on Windows. Thanks.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3438912&group_id=976
Received on 2011-11-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET