[PATCH] enable LFS support by default

Dmitry V. Levin ldv at altlinux.org
Wed Mar 25 00:23:36 UTC 2009


On Thu, Mar 05, 2009 at 10:02:53PM -0500, Mike Frysinger wrote:
>  configure.ac |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index ffbfeb4..e0b341a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -173,6 +173,7 @@ AC_PROG_CPP
>  AC_PROG_GCC_TRADITIONAL
>  AC_PROG_INSTALL
>  AC_C_CONST
> +AC_SYS_LARGEFILE
>  AC_HEADER_STDC
>  AC_HEADER_STDBOOL
>  AC_HEADER_DIRENT

No, this oneliner doesn't work for strace, it just breaks build on x86:

file.c: In function 'printoldstat':
file.c:1249: warning: implicit declaration of function 'realprintstat'
io.c: In function 'sys_sendfile':
io.c:323: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'off_t'
io.c: At top level:
io.c:352: error: redefinition of 'sys_pread'
io.c:281: error: previous definition of 'sys_pread' was here
io.c:374: error: redefinition of 'sys_pwrite'
io.c:299: error: previous definition of 'sys_pwrite' was here
make[1]: *** [io.o] Error 1


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20090325/7d35ae55/attachment.bin>


More information about the Strace-devel mailing list