Re: -D_FILE_OFFSET_BITS=64 where to put it in a make project ?



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

"Colossus" <colossus73@xxxxxxxxx> writes:

> Roger, I put the macro in the configure.ac then I run autoconf
> configure and make but I get a Value too large error when using stat on
> files > 2GB. Infact when I issue make in the output I don't see the
> -D_FILE_OFFSET_BITS=64 . Could you help please ?

Check the autoconf manual: AC_CONFIG_HEADER is likely being used, in
which case you need to #include that header.

If you actually check the macro definition (autoconf/specific.m4), you
can see exactly what is going on.


- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFDtAajVcFcaSW/uEgRAqopAKDlEJa8wufDuY7pr5F+Onvs2mozfgCcDpM0
xeG/WZqKMHXoTpq4TvW9Eeo=
=kVq2
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: -D_FILE_OFFSET_BITS=64 where to put it in a make project ?
    ... Roger, I put the macro in the configure.ac then I run autoconf ... configure and make but I get a Value too large error when using stat on ...
    (comp.os.linux.development.apps)
  • Opens directory
    ... I would like a macro that opens the directory D:\VEST\spBackup so that I can ... Roger ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • GNU Autoconf 2.64 released
    ... The GNU Autoconf team is pleased to announce the stable release of ... produce shell scripts to automatically configure software source code ... These scripts can adapt the packages to many kinds of UNIX-like ... ** The autoheader tool now understands m4 macro arguments passed to ...
    (gnu.announce)
  • Re: Missing documentation for HAVE_FOOBAR definitions
    ... <snip HAVE_FOO def'n list> ... this macro checked whether `setvbuf' takes ... appears in the autoconf documentation, ... looking for to see #define or #undef directives? ...
    (comp.os.linux.development.apps)
  • Re: Macro that deletes certain rows and not others
    ... Rowan, thanks for the update and sorry for any confusion. ... Roger ... Unfortunately because I am a relatively basic macro ...
    (microsoft.public.excel.programming)