apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: off64_t
Date Fri, 02 Apr 2004 08:00:21 GMT
On Thu, Apr 01, 2004 at 05:43:18PM -0500, Marc M. Adkins wrote:
> I just updated from the HEAD on a Mandrake Linux 9.1 box.  Ran buildconf and 
> configure and compiled, which went OK.  When I recompile my own code, 
> however, I get an error:
> 	apr.h:262: parse error before "apr_off_t"
> 	apr.h:262: warning: data definition has no type or storage class

The error is probably because -D_LARGEFILE64_SOURCE was not defined when
apr.h was included. You *must* build your code using the output of
`apr-config --cppflags --cflags`, etc.



View raw message