cURL / Mailing Lists / curl-library / Single Mail


Re: Compiling with Mingw32, am I missing something ??

From: Guenter Knauf <>
Date: Thu, 10 Apr 2008 23:09:11 +0200

> I am creating libcurl with Dev-CPP. I copied all files into the bin as
> stated and followed the steps in INSTALL.devcpp

> On running make, I get the following errors :-

> C:\apps\Dev-Cpp\bin>make -f Makefile.m32
> Creating ca-bundle.h
> gcc -I. -I../include -g -O2 -DBUILDING_LIBCURL -c file.c
> In file included from file.c:74:
> urldata.h:768: parse error before "ssize_t"
> urldata.h:768: warning: no semicolon at end of struct or union
> urldata.h:787: parse error before '}' token
> urldata.h:1501: field `req' has incomplete type
> urldata.h:1518: confused by earlier errors, bailing out
> make: *** [file.o] Error 1

> Any ideas, what could be the problem ?? How can this be solved ?
hmm, not really - please check what gcc and API versions you have;
type 'gcc -v' in a DOS box, and then go and open include/_mingw.h, scroll to the end and post here:
#define __MINGW32_VERSION ?.??

Received on 2008-04-10