Re: "File size limit exceeded" problem in Red Hat 8

From: C. Linus Hicks (lhicks_at_nc.rr.com)
Date: 10/27/04

  • Next message: Marco A. Ramos: "RE: IPTables and forward"
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    Date: 27 Oct 2004 15:28:37 -0400
    
    

    On Wed, 2004-10-27 at 15:11, C. Linus Hicks wrote:
    > On Wed, 2004-10-27 at 14:01, Jake Brown wrote:
    > > I looked into the features.h file, however it does not contain
    > > any of the definitions you mentioned, probably because gcc
    > > 2.6.3 does not support large file size. However the gcc coming
    > > with Red Hat 8 does have a large file support, but I can not
    > > use it as my simulator requires gcc2.6.3.
    > >
    > > Is there a way to work it around?
    >
    > I just posted an update to my answer to the mailing list. Try that
    > first. Add these to your CFLAGS:
    >
    > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
    >
    > The compiler version should be less important than the version of the
    > OS, and I know full well that RH 8 supports large files. So it isn't
    > clear to me why your features.h doesn't have those defines. The only
    > 32-bit RedHat system I have is 7.1 and that's where I tested this.

    Actually, I think it's going to be the version of glibc that is
    important here. I'm running 2.2.4-33 on my 7.1 system and it does have
    large file support. What version are you running?

    -- 
    C. Linus Hicks <lhicks@nc.rr.com>
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Marco A. Ramos: "RE: IPTables and forward"

    Relevant Pages

    • RE: copying a 12GB file
      ... the lfs in the middle gives samba Large File Support. ... anything bigger than 2Gig without it ... Subject: copying a 12GB file ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [PATCH] smbfs: Large File Support (3/3) (fwd)
      ... Subject: smbfs: Large File Support ... ehhmmmm doesn't this change the userspace ABI incompatibly ??? ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)