large file support > 2 gig with rh 7.1

Justin D Davis justindd at
Wed Jun 6 21:57:13 GMT 2001

The makefile generated by configure does not include all of the flags you 
need.  You must manually add in CFLAGS = -D_FILE_OFFSET_BITS=64 (add to the 
current CFLAGS line of the makefile) and that will give you large file 

At 12:12 PM 6/6/2001 -0400, you wrote:
>I installed Samba version 2.2.0-alpha3 from source, and as far as I can tell
>it was compiled with large file support.  My Makefile has the following
>[root at concert source]# grep LARGE Makefile
>I am running redhat 7.1.  Using the samba 2.2.0 installed from rpm before I
>could not even see the 2.8 gig file in the shared drive, now I can see the
>file using the samba compiled from source.  However, I can't copy the file.
>Permissions are ok.
>I guess I could turn on some debugging and dig in, but if someone has a
>suggestion that would be good too.
>Thanks, Chad

More information about the samba-technical mailing list