[PD] Large File Support on Linux

IOhannes m zmoelnig zmoelnig at iem.at
Mon Mar 18 13:10:03 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-03-18 11:18, Charles Goyard wrote:
> Hi,
> 
> thanks for taking that up.
> 
> On my machine (archlinux, Linux 3.7.10-1-ARCH i686 GNU/Linux,
> glibc 2.17), changing the LARGEFILE define to __linux__ (or
> __gnu_linux__ yields:


nonono.
you MUST have "_LARGEFILE64_SOURCE" defined before including unistd.h,
else you won't have LFS support.
there are configure checks that test whether doing defining
_LARGEFILE64_SOURCE makes sense on your system.

having said that, i just noticed that these checks seem to have gone
from configure(.ac) during the 0.43 rewrite of the buildsystem. so
most likely this is the source of the bug.


fgasdrm
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlFHBBYACgkQkX2Xpv6ydvSerACaAgihDxsR9kHRcW7CwXNxMDCE
f60AnA4PIofPX8M0ClZiu7Rf/RRGz6tK
=RFmt
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list