large file support > 2 gig

Michael H. Warfield mhw at wittsend.com
Tue Jun 12 14:16:16 GMT 2001


On Tue, Jun 12, 2001 at 09:42:40AM -0400, Chad wrote:
> Michael,
> Thanks for your interest in helping out...

> > Samba on what?  Linux?  *BSD?  Solaris?  HP/UX?  AIX?

> Linux redhat 7.1 with kernel 2.4.4-ac3

> > What version Samba?

> Samba version 2.2.0-alpha3, compiled from the src.rpm with the following
> options in the Makefile.  The CFLAGS did not have -D_FILE_OFFSET_BITS=64
> after I ran configure, but someone on this list suggested I needed to add
> this for large file support.

> CFLAGS=-D_FILE_OFFSET_BITS=64 -O
> CPPFLAGS=-D_LARGEFILE64_SOURCE -D_GNU_SOURCE

	Ok...  And what was the effect after this.

> > It's probably NOT a Samba problem, or if it is it's a problem
> > with Samba recognizing the large file support on the platform you are on.

> Here is some debug 10 in case that helps.  I have the entire log file in
> case I excluded the important part here.

	Was this prior to or after the flags listed above were added,
Samba recompiled, reinstalled, and restarted?

	[...]

> Regards, Chad

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  (The Mad Wizard)      |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!





More information about the samba-technical mailing list