cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: probs. building libcurl w/gssapi on win32

From: David Rosenstrauch <darose_at_darose.net>
Date: Thu, 01 May 2008 13:51:47 -0400

David Rosenstrauch wrote:
> Trying to build libcurl with HAVE_GSSAPI support on windows (using MS VC
> 2003), but having probs. Can anyone advise?
>
> For the Kerberos/GSS library, I'm using MIT's Kerberos For Windows
> (v3.2.2) - SDK version. I've defined HAVE_GSSAPI and HAVE_GSSMIT, and
> I've specified the SDK's inc/krb5 directory as an include directory for
> the project. But I keep getting numerous "macro redefinition" build
> errors. e.g.:
>
> C:\dave\kfw-3-2-2-final\inc\krb5\win-mac.h(162): warning C4005:
> 'HAVE_SYS_TYPES_H' : macro redefinition
> c:\dave\curl-7.15.4\lib\config-win32.h(80) : see previous
> definition of 'HAVE_SYS_TYPES_H'
>
> etc.
>
> Anyone have any idea what the prob is and how to fix or workaround it?
>
> Tnx,
>
> DR

Hmmm ... made it a little further. I just commented out some of the
duplicate defines in config-win32.h, and most of the probs went away.

Got 1 last error now, though, which doesn't look quite as simple to solve:

c:\dave\curl-7.15.4\lib\http_negotiate.c(74): error C2065: 'EMSGSIZE' :
undeclared identifier

I'm obviously not including some header where that error code is
defined, but I'm not sure which one. There's nothing in curl or kfw
that defines that.

Anybody? Beuller?

Tnx,

DR
Received on 2008-05-01