Re: [Dovecot] v1.1.beta14 released (Compile Error)
On Jan 20, 2008, at 12:15 PM, dovecot-request@dovecot.org wrote:
Message: 5 Date: Sun, 20 Jan 2008 15:48:09 +0200 From: Timo Sirainen tss@iki.fi Subject: [Dovecot] v1.1.beta14 released To: dovecot@dovecot.org Message-ID: 1200836889.12450.99.camel@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@dovecot.org http://dovecot.org/cgi-bin/mailman/listinfo/dovecot
End of dovecot Digest, Vol 57, Issue 60
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
From the logs:
Dovecot v1.1.beta14 starting up
That did it. Thanks!
Jerry
p.s. I used the 'removing HAVE_POSIX_FALLOCATE from config.h' version.
On Jan 20, 2008, at 1:01 PM, 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
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
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
- Applying the referenced patch did not result in a clean compile
- 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
participants (5)
-
Adam McDougall
-
Bruce Bodger
-
Jerry Yeager
-
Timo Sirainen
-
Tomi Hakala