creating inn with largefiles

Pål Baltzersen pal.baltzersen at ost.eltele.no
Sun Apr 9 19:20:06 UTC 2000


Largefile does not work on Solaris2.6. You must upgrade to Solaris7
(works great on our server) or use lots of buffers <=2GB.

Pål

-------------------------------------------------------------
Addr:	Pål Baltzersen, ElTele Øst AS, Fredrik Selmers vei 2,
	P.O. Box 6299 Etterstad, N-0603 Oslo, Norway
Phone:	+47 23 18 10 00		Direct:	+47 23 18 11 74
Fax:	+47 23 18 10 01		Mobile:	+47 93 08 11 74
Mail:	pb at ost.eltele.no	pal.baltzersen at ost.eltele.no


>>> Katsuhiro Kondou <kondou at nec.co.jp> 16:56:32 09.04.00 >>>
Specifying --with-largefiles for Solaris2.6, LFS_CFLAGS
is set to "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64".
This is the result of "getconf LFS_CFLAGS".  But I've
got to many of;

/usr/include/sys/statvfs.h:93: warning: `struct statvfs64' declared inside parameter list
/usr/include/sys/statvfs.h:93: warning: its scope is only this definition or declaration,
/usr/include/sys/statvfs.h:93: warning: which is probably not what you want.
/usr/include/sys/statvfs.h:94: warning: `struct statvfs64' declared inside parameter list

and

caf.c: In function `CAFClean':
caf.c:1447: storage size of `fsinfo' isn't known
*** Error code 1
make: Fatal error: Command failed for target `caf.o'

Changing LFS_CFLAGS to "-D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64" goes everything ok.  I'm not
sure this is right way to fix, but I'd like to know
whether or not.
-- 
Katsuhiro Kondou






More information about the inn-workers mailing list