[PATCH] fix build on systems that do not implement statfs64

Andreas Schwab schwab at linux-m68k.org
Mon Mar 29 15:48:09 UTC 2010


Adrien Kunysz <adrien at kunysz.be> writes:

> On Mon, Mar 29, 2010 at 05:00:46PM +0200, Andreas Schwab wrote:
>> Adrien Kunysz <adrien-VfNvOeKkEPKzQB+pC5nmwQ at public.gmane.org> writes:
>> 
>> > Initially it was because I didn't have -D__USE_LARGEFILE64 in the
>> 
>> You must not define __USE_LARGEFILE64, this is an internal glibc macro.
>> 
>> > CFLAGS. But even after using it, it fails to build. However the problem
>> > seems to actually be with the AC_STAT64 macro:
>> 
>> This is about stat*fs*64, not stat64.
>
> I know but "fixing" the STAT64 macro fixes the statfs64 problem for me.

You didn't fix anything, because AC_STAT64 is working as designed.

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




More information about the Strace-devel mailing list