argusarchive.

Carter Bullard carter at qosient.com
Mon Nov 5 08:19:15 EST 2001


Hey Peter,
   We add LARGEFILE_SUPPORT tags automatically from
configure for Solaris 2.7 or 2.8.  It seems that
for Linux, the idea is that if we define _GNU_SOURCE,
we should get _LARGEFILE_SOURCE64 and _FILE_OFFSET_BITS
automatically.  I found this info @:

http://www.redhat.com/devnet/whitepapers/solaris_port/x1609.html

   We can selectively add _GNU_SOURCE for all Linuxes
in configure, or we can add the specific LARGEFILE support
as we do for Solaris today.

   Suggestions required!

Carter

Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 18K
New York, New York  10022

carter at qosient.com
Phone +1 212 588-9133
Fax   +1 212 588-9134
http://qosient.com


> -----Original Message-----
> From: owner-argus-info at lists.andrew.cmu.edu 
> [mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of 
> Peter Van Epp
> Sent: Sunday, November 04, 2001 1:07 PM
> To: argus
> Subject: Re: argusarchive.
> 
> 
> 	Now of course the $64 question: is there something that 
> configure could
> trip on to indicate large offsets are supported in the kernel 
> and automatically
> add this CFLAG during config? 
> 
> Peter Van Epp / Operations and Technical Support 
> Simon Fraser University, Burnaby, B.C. Canada
> 
> 
> > 
> > No need -- fixed.
> > 
> > Add to your CFLAGS for argus():   -D_GNU_SOURCE 
> -D_FILE_OFFSET_BITS=64
> > 
> > And if you're running glibc 2.2 or higher, and kernel 
> 2.4.10 or higher,
> > then it works fine with XFS.   Other applications were 
> doing fine, so I
> > figured it had to be something inside argus.  
> > 
> > -rw-r--r--    1 argus     argus     2147483647 Nov  2 21:45 
> argus_data2
> > -rw-r--r--    1 argus     argus     2308237532 Nov  3 09:54 
> argus_data3
> > 
> > Rock N Roll.
> > 
> > Scott
> > 
> > 
> > 
> 
> 
> 



More information about the argus mailing list