On Jan 20, 2008, at 12:15 PM, dovecot-request at dovecot.org wrote:> > Message: 5 > Date: Sun, 20 Jan 2008 15:48:09 +0200 > From: Timo Sirainen <tss at iki.fi> > Subject: [Dovecot] v1.1.beta14 released > To: dovecot at dovecot.org > Message-ID: <1200836889.12450.99.camel at hurina> > Content-Type: text/plain; charset="us-ascii" > > http://dovecot.org/releases/1.1/beta/dovecot-1.1.beta14.tar.gz > http://dovecot.org/releases/1.1/beta/dovecot-1.1.beta14.tar.gz.sig > >(stuff cut out) The new beta does not compile under OS X 10.5.1 It configures as usual, but then running the 'make' command gets to the point: mkdir .libs gcc -std=gnu99 (followed by the normal list of things it is going to build ) ending with ../lib/liblib.a /usr/local/lib/libiconv.dylib Undefined symbols: "_posix_fallocate", referenced from: _file_set_size in liblib.a(file-set-size.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [imap] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ??? Jerry> > ------------------------------ > > _______________________________________________ > dovecot mailing list > dovecot at dovecot.org > http://dovecot.org/cgi-bin/mailman/listinfo/dovecot > > End of dovecot Digest, Vol 57, Issue 60 > ***************************************-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2447 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20080120/269305a2/attachment-0002.bin>
On 20.1.2008, at 19.40, Jerry Yeager wrote:> Undefined symbols: > "_posix_fallocate", referenced from: > _file_set_size in liblib.a(file-set-size.o)Fixed: http://hg.dovecot.org/dovecot/rev/6c868e7fe7b2 You can also fix it by removing HAVE_POSIX_FALLOCATE from config.h -------------- 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/20080120/4248d3e5/attachment-0002.bin>
Timo Sirainen wrote:> On 20.1.2008, at 19.40, Jerry Yeager wrote: > >> Undefined symbols: >> "_posix_fallocate", referenced from: >> _file_set_size in liblib.a(file-set-size.o) > > Fixed: http://hg.dovecot.org/dovecot/rev/6c868e7fe7b2 > > You can also fix it by removing HAVE_POSIX_FALLOCATE from config.hSame problem and fix applies to Solaris 10. Tomi
Tomi Hakala wrote:> Timo Sirainen wrote: >> On 20.1.2008, at 19.40, Jerry Yeager wrote: >> >>> Undefined symbols: >>> "_posix_fallocate", referenced from: >>> _file_set_size in liblib.a(file-set-size.o) >> >> Fixed: http://hg.dovecot.org/dovecot/rev/6c868e7fe7b2 >> >> You can also fix it by removing HAVE_POSIX_FALLOCATE from config.h > > Same problem and fix applies to Solaris 10. > > Tomi >The patch did not work for me on FreeBSD 6.3, I had to edit config.h.in because my build procedure apparently overwrote config.h after I patched it.
On Jan 20, 2008, at 6:34 PM, Adam McDougall wrote:> Tomi Hakala wrote: >> Timo Sirainen wrote: >>> On 20.1.2008, at 19.40, Jerry Yeager wrote: >>> >>>> Undefined symbols: >>>> "_posix_fallocate", referenced from: >>>> _file_set_size in liblib.a(file-set-size.o) >>> >>> Fixed: http://hg.dovecot.org/dovecot/rev/6c868e7fe7b2 >>> >>> You can also fix it by removing HAVE_POSIX_FALLOCATE from config.h >> >> Same problem and fix applies to Solaris 10. >> >> Tomi >> > The patch did not work for me on FreeBSD 6.3, I had to edit > config.h.in because > my build procedure apparently overwrote config.h after I patched it.Running OS X 10.4.11 here. Also found that 1. Applying the referenced patch did not result in a clean compile 2. Had to manually comment lines referring to HAVE_POSIX_FALLOCATE in BOTH config.h AND config.h.in in order to get a clean compile. B. Bodger New York