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] #1064 libcurl CMake Windows

From: Z98 <z98_at_users.sf.net>
Date: Fri, 08 Nov 2013 20:32:55 +0000

Patch to fix linking problem when building libcurl on Windows with IPv6 support.

Attachment: windowsbuild.diff (528 Bytes; application/octet-stream)

---
** [bugs:#1064] libcurl CMake Windows **
**Status:** closed
**Labels:** compile or build problem 
**Created:** Wed Nov 16, 2011 06:15 PM UTC by Anonymous
**Last Updated:** Fri Jun 21, 2013 01:43 PM UTC
**Owner:** Daniel Stenberg
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.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-11-08

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET