Subject: how to compiling 1.3.1 on windows?

how to compiling 1.3.1 on windows?

From: Samets Anton <bock_at_bynets.org>
Date: 2006-06-26

Hello all.

Where I can find docs to correct compile windows c-ares libs? With
1.2.1 and 1.3.0 - it work fine, just open project and perss compile, but in
1.3.1:
Compiling...
windows_port.c
d:\Unreal\c-ares-1.3.1\setup.h(37) : fatal error C1083: Cannot open include file: 'config-win32.h': No such file or directory
Where I can find config-win32.h if it not present in package? If I try
bring it from curl directory, I get:
Compiling...
windows_port.c
d:\Unreal\c-ares-1.3.1\setup.h(144) : warning C4005: 'AF_INET6' : macro redefinition
        d:\VisualStudio.NET\Vc7\PlatformSDK\Include\WinSock2.h(542) : see previous definition of 'AF_INET6'
d:\Unreal\c-ares-1.3.1\ares_ipv6.h(26) : error C2011: 'in6_addr' : 'struct' type redefinition
        d:\VisualStudio.NET\Vc7\PlatformSDK\Include\WS2tcpip.h(121) : see declaration of 'in6_addr'
d:\Unreal\c-ares-1.3.1\ares_ipv6.h(33) : error C2011: 'sockaddr_in6' : 'struct' type redefinition
        d:\VisualStudio.NET\Vc7\PlatformSDK\Include\WS2tcpip.h(164) : see declaration of 'sockaddr_in6'
d:\Unreal\c-ares-1.3.1\ares_ipv6.h(44) : error C2011: 'addrinfo' : 'struct' type redefinition
        d:\VisualStudio.NET\Vc7\PlatformSDK\Include\WS2tcpip.h(438) : see declaration of 'addrinfo'

Can you fix this problem or get useful manual to compile c-ares under
windows?
Correct for me if I am not right.

-- 
Samets Anton                        mailto:bock@bynets.org
Received on Mon Jun 26 10:52:41 2006