apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: Compiling with __USE_LARGEFILE64 on linux (RH8).
Date Mon, 15 May 2006 12:55:57 GMT
On Mon, May 15, 2006 at 08:45:39AM -0400, Scott Greig wrote:
> My bad, I've been using -D_LARGEFILE64_SOURCE just typed it wrong in the
> email.
> I also need -D_FILE_OFFSET_BITS=64.  Both flags are used to build my
> main application.
>
> I tried running configure on a RH8 machine.
> 
> configure CFLAGS="-D_FILE_OFFSET_BITS=64" --enable-lfs
> 
> I get the following message:
> ...
> Check for compiler flags...
> Checking whether to enable -D_LARGEFILE64_SOURCE... no
> 
> If I remove the CFLAGS setting it works fine.

Right, so build APR like that, as I said.  How does your app fail?  Why 
are you messing around with all these flags?

Don't use -D_FILE_OFFSET_BITS=64.

joe

Mime
View raw message