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: Daniel Stenberg <bagder_at_users.sf.net>
Date: Fri, 08 Nov 2013 23:09:07 +0000

pretty please do not submit things in bugs that have been closed and dead for years. I've merged this now but PLEASE take patches to the mailing list and if is a bug, submit a new bug report!

---
** [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 Nov 08, 2013 08:32 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-09

These mail archives are generated by hypermail.

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

File upload with ASP.NET