Aloha. The current CVS snapshot and 1.0-test14 will not build on Solaris 8 because it does not provide a sendfile() funtion. It just has sendfilev(). Solaris 9 has sendfile(), though. Using the old sendfile-util.c from 1.0-test1 and setting HAVE_SOLARIS_SENDFILEV instead of HAVE_LINUX_SENDFILE in config.h works. Greetings, Andy.
* On 2004.06.01, in <5.2.1.1.0.20040601115849.02e8ae28 at fredda.webgods.de>, * "Andreas Jaekel" <jaekel at webgods.de> wrote:> Aloha. > > The current CVS snapshot and 1.0-test14 will not build on Solaris 8 > because it does not provide a sendfile() funtion. It just has sendfilev().It's available via patch -- perhaps 111297-01. http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=111297&rev=01 I have not tried building 1.0-test14 with it, though. -- -D. dgc at uchicago.edu NSIT::ENSS No money, no book. No book, no study. No study, no pass. No pass, no graduate. No graduate, no job. No job, no money. T h e U n i v e r s i t y o f C h i c a g o
On 1.6.2004, at 13:13, Andreas Jaekel wrote:> The current CVS snapshot and 1.0-test14 will not build on Solaris 8 > because it does not provide a sendfile() funtion. It just has > sendfilev(). > Solaris 9 has sendfile(), though.Doesn't the configure detect that you don't have it? It shouldn't define HAVE_SOLARIS_SENDFILE if it isn't there (if sendfile library doesn't have sendfile() function). -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040601/c759ec7a/attachment-0001.bin>
At 14:35 01/06/2004 +0300, you wrote:>On 1.6.2004, at 13:13, Andreas Jaekel wrote: > >>The current CVS snapshot and 1.0-test14 will not build on Solaris 8 >>because it does not provide a sendfile() funtion. It just has sendfilev(). >>Solaris 9 has sendfile(), though. > >Doesn't the configure detect that you don't have it? It shouldn't define >HAVE_SOLARIS_SENDFILE if it isn't there (if sendfile library doesn't have >sendfile() function).No, it doesn't. The test for the linux sendfile() function uses ac_compile, no ac_link. So all you get is an "implicit declaration" warning in configure.log, but since the final check is for test -z a.out configure will always happily detect linux sendfile. Greetings, Andy