Menu

#4 File Size Exceeded on > 2.0G Files

open
nobody
None
5
2002-11-15
2002-11-15
Anonymous
No

taper-7.0pre-1, or should I say Linux, would not create archives larger than 2.0G. The program would fail with "file size exceeded signals". I tried this with xfs, reiserfs and 2.4.19. gcc 2.96. I fixed the problem after I found the following page.

http://www.suse.de/~aj/linux_lfs.html

I changed your compile options to include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

and tested including and removing your option of -D__USE_FILE_OFFSET64
and it worked both ways.

Discussion


Log in to post a comment.