It's time for 3.0.1

Nicholas Brealey nick at brealey.org
Tue Dec 9 13:35:00 GMT 2003


David Collier-Brown wrote:
> Nicholas Brealey wrote:
> 
>> What is strange with Samba is that it is using both the
>> 'large file compilation  environment  for  32-bit applications'
>> and the 'transitional compilation environment' at the same time:
> 
> 
>     Yes, and that takes me back to the 2.6 era, when   
>     we first fiddeled about witg these flags.
>     I think you're right: the 64-bit environment
>     only needs -D_LARGEFILE_SOURCE and the     appropriest HAVEs
>     for OFF_T and the liek, all of which are 64-bit
>     ints in 64-bit mode...
> 
> --dave (of failing memory) c-b

My reading of 'man lfcompile' and 'getconf LFS_CFLAGS' is that you need
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

Nick



More information about the samba-technical mailing list