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

2010-03-30 Thread Andreas Schwab
Adrien Kunysz writes: > the build system cannot find statfs64 That's what needs to be addressed, not doctoring the symptoms. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

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

2010-03-30 Thread Adrien Kunysz
On Mon, Mar 29, 2010 at 05:48:09PM +0200, Andreas Schwab wrote: > Adrien Kunysz writes: > > On Mon, Mar 29, 2010 at 05:00:46PM +0200, Andreas Schwab wrote: > >> Adrien Kunysz writes: > >> > >> > Initially it was because I didn't have -D__USE_LARGEFILE64 in the > >> > >> You must not define __US

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

2010-03-29 Thread Andreas Schwab
Adrien Kunysz writes: > On Mon, Mar 29, 2010 at 05:00:46PM +0200, Andreas Schwab wrote: >> Adrien Kunysz 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 aft

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

2010-03-29 Thread Adrien Kunysz
On Mon, Mar 29, 2010 at 05:00:46PM +0200, Andreas Schwab wrote: > Adrien Kunysz 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. H

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

2010-03-29 Thread Dmitry V. Levin
On Mon, Mar 29, 2010 at 01:11:19PM +0100, Adrien Kunysz wrote: > On Mon, Mar 29, 2010 at 04:55:23AM +0400, Dmitry V. Levin wrote: > > On Sun, Mar 28, 2010 at 06:01:47PM +0100, Adrien Kunysz wrote: > > > Commit 9906e6da8be98d27bffa2baeeccd40cf1a1b11c1 "Fix handling of Linux > > > systems without str

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

2010-03-29 Thread Andreas Schwab
Adrien Kunysz 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 a

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

2010-03-29 Thread Adrien Kunysz
On Mon, Mar 29, 2010 at 04:55:23AM +0400, Dmitry V. Levin wrote: > On Sun, Mar 28, 2010 at 06:01:47PM +0100, Adrien Kunysz wrote: > > Commit 9906e6da8be98d27bffa2baeeccd40cf1a1b11c1 "Fix handling of Linux > > systems without struct statfs64" breaks the build on my system (on which > > the autoconf

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

2010-03-28 Thread Dmitry V. Levin
Hi, On Sun, Mar 28, 2010 at 06:01:47PM +0100, Adrien Kunysz wrote: > Commit 9906e6da8be98d27bffa2baeeccd40cf1a1b11c1 "Fix handling of Linux > systems without struct statfs64" breaks the build on my system (on which > the autoconf macros cannot find statfs64 but I believe that is another > problem)

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

2010-03-28 Thread Adrien Kunysz
Commit 9906e6da8be98d27bffa2baeeccd40cf1a1b11c1 "Fix handling of Linux systems without struct statfs64" breaks the build on my system (on which the autoconf macros cannot find statfs64 but I believe that is another problem). gcc -Wall -g -O2 -o strace strace.o syscall.o count.o util.o desc.o fil