curl-library
Issues building curl 7.59 on windows
Date: Fri, 23 Mar 2018 16:34:29 -0500
Hi,
I am trying to build curl 7.59 on windows with static c-ares version 1.13.
It gives me the below link errors which I am unable to resolve:
nmake INFO version.obj : error LNK2019: unresolved
external symbol __imp__ares_version referenced in function
_curl_version
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_library_init referenced in function
_Curl_resolver_global_init
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_library_cleanup referenced in function
_Curl_resolver_global_cleanup
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_init referenced in function
_Curl_resolver_init
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_destroy referenced in function
_Curl_resolver_cleanup
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_dup referenced in function
_Curl_resolver_duphandle
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_timeout referenced in function
_Curl_resolver_getsock
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_getsock referenced in function
_Curl_resolver_getsock
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_process_fd referenced in function
_waitperform
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_strerror referenced in function
_Curl_resolver_is_resolved
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_cancel referenced in function
_Curl_resolver_wait_resolv
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_gethostbyname referenced in function
_Curl_resolver_getaddrinfo
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_set_servers_csv referenced in function
_Curl_set_dns_servers
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_set_local_dev referenced in function
_Curl_set_dns_interface
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_set_local_ip4 referenced in function
_Curl_set_dns_local_ip4
nmake INFO asyn-ares.obj : error LNK2019: unresolved
external symbol __imp__ares_set_local_ip6 referenced in function
_Curl_set_dns_local_ip6
I am copying my dependencies into a directory 'dependencies' under
include/lib and using WITH_DEVEL to point to that directory
I know it is unable to find some symbols when linking but not able to
understand how to make it find them. I am using fairly new version of
c-ares 1.13, so these symbols
should be available. It a matter of the build not finding it. I am
building win32 platform, fyi
Please help me resolve this
Thanks!
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-03-23