[Fwd: [Patch] Configure broken for Solaris 2.6 (PR#12014)]
David Collier-Brown
davecb at Canada.Sun.COM
Fri Dec 18 14:23:25 GMT 1998
Jeremy Allison wrote:
> ok then - _LARGEFILE_SOURCE looks to be the define we
> should be using. Samba is coded this way.
> If you just set this flag on a Solaris 2.6/2.7 system
> and no others does Samba configure correctly ?
On 2.6 (32-bit) no: but the failure is an artifact of the
typedef longlong_t long; problem I found yesterday.
On 2.7 (64-bit!) with just -D_LARGEFILE_SOURCE configure
runs to completion (as it did before), and is
compiling as I write.
The Sun documentation is adamant about setting
_FILE_OFFSET_BITS to 64 before including any headers:
from looking at the LFS documentation at
http://www.sas.com/standards/large.file/index.html
it doesn't appear to be standard...
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | http://java.science.yorku.ca/~davecb
Work: (905) 477-0437 Home: (416) 223-8968 Email: davecb at canada.sun.com
More information about the samba-technical
mailing list