Subject: Re: how to compiling 1.3.1 on windows?

Re: how to compiling 1.3.1 on windows?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2006-06-26

On Mon, 26 Jun 2006, Samets Anton wrote:

> Where I can find docs to correct compile windows c-ares libs?

I'm not aware of any such docs.

> 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

Oops, it just wasn't included in the release archive...

> Where I can find config-win32.h if it not present in package?

Get it from the CVS repo or here:
http://cool.haxx.se/cvs.cgi/curl/ares/config-win32.h?rev=HEAD&content-type=text/vnd.viewcvs-markup

> 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'

...

If this is with the config-win32.h file I point to, then there's definitely a
problem to fix in there.

> Can you fix this problem

It seems very few of us who use and build c-ares regularly use Windows, so we
depend on the people do use Windows to find and fix these kinds of problems.

> or get useful manual to compile c-ares under windows?

Again, the ones who actually use windows would be the ones to write such a
manual and so far none has volounteered to do so.

-- 
   c-ares -- my preferred DNS asynch resolver library
Received on Mon Jun 26 11:00:39 2006