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


Reply via email to