cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: configure warning

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 8 Nov 2006 22:38:54 +0100 (CET)

On Wed, 8 Nov 2006, Mark Wattier wrote:

> Hoping to dredge up another clue, I re-ran configure --without-zlib, after
> making sure my modified curl.h was still there ( doing the include
> <sys/time.h> ), and this is the first error of this type to show up in the
> config.log:
> In file included from conftest.c:66:
> include/curl/curl.h:101: error: parse error before "curl_off_t"
> include/curl/curl.h:101: warning: data definition has no type or storage
> class
> In file included from include/curl/curl.h:1597,

It seems curl/curl.h fails to include the proper header to get the 'off_t'
typedef on your system. In "The Single UNIX Specification" it is said to be in
sys/types.h, and that's what these headers presume.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-08