Bugs item #3438912, was opened at 2011-11-16 10:15
Message generated for change (Comment added) made by bagder
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.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Date: 2011-11-16 10:21
Message:
I don't mean to be rude, but "you think" so? Can't you just try it out,
make it work and then present us with the necessary patch?
I personally have no windows machines to develop on so I'd rather avoid
doing blind changes someone just thinks might be right.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3438912&group_id=976
Received on 2011-11-16