creating inn with largefiles

Katsuhiro Kondou kondou at nec.co.jp
Sun Apr 9 14:56:32 UTC 2000


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