[Dovecot] Unable to build dovecot 2.0.8 on Ubuntu Server 9.10
I'm trying to build dovecot version 2.0.8, but I always end-up with this error:
libtool: link: i486-linux-gnu-gcc -std=gnu99 -O3 -mtune=prescott
-march=prescott -fomit-frame-pointer -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -Wstrict-aliasing=2 -o .libs/anvil main.o
anvil-connection.o anvil-settings.o connect-limit.o penalty.o
-Wl,--export-dynamic ../../src/lib-dovecot/.libs/libdovecot.so -ldl
-lrt -Wl,-rpath -Wl,/applications/dovecot-mail/lib/dovecot
../../src/lib-dovecot/.libs/libdovecot.so: undefined reference to fallocate64' collect2: ld returned 1 exit status make[3]: *** [anvil] Error 1 make[3]: Leaving directory
/root/build/source/dovecot-2.0.8/src/anvil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/build/source/dovecot-2.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/build/source/dovecot-2.0.8'
make: *** [all] Error 2
Does anyone know how to fix this?
Based on the "i486" in your libtool line, could you be experiencing this problem:
http://ubuntuforums.org/showthread.php?t=1445395
Basically it looks like there's an issue with glibc 2.10 on 32-bit systems causing a problem when linking fallocate64. Not if you can/need to apt-get upgrade or dist-upgrade to fix.
-David Warden
On Sat, 8 Jan 2011 22:57:52 +0100, Robert Gabriel <robert@linux-source.org> wrote:
I'm trying to build dovecot version 2.0.8, but I always end-up with this error:
libtool: link: i486-linux-gnu-gcc -std=gnu99 -O3 -mtune=prescott -march=prescott -fomit-frame-pointer -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -o .libs/anvil main.o anvil-connection.o anvil-settings.o connect-limit.o penalty.o -Wl,--export-dynamic ../../src/lib-dovecot/.libs/libdovecot.so -ldl -lrt -Wl,-rpath -Wl,/applications/dovecot-mail/lib/dovecot ../../src/lib-dovecot/.libs/libdovecot.so: undefined reference to
fallocate64' collect2: ld returned 1 exit status make[3]: *** [anvil] Error 1 make[3]: Leaving directory
/root/build/source/dovecot-2.0.8/src/anvil' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/root/build/source/dovecot-2.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/build/source/dovecot-2.0.8' make: *** [all] Error 2Does anyone know how to fix this?
On Sun, Jan 9, 2011 at 05:55, David Warden <warden@geneseo.edu> wrote:
Based on the "i486" in your libtool line, could you be experiencing this problem:
http://ubuntuforums.org/showthread.php?t=1445395
Basically it looks like there's an issue with glibc 2.10 on 32-bit systems causing a problem when linking fallocate64. Not if you can/need to apt-get upgrade or dist-upgrade to fix.
I can't upgrade the server, if I could so easily I would have done long time ago. Also upgrading is not a fix, version 2.0.6 works on Ubuntu 9.10.
-David Warden
On Sat, 8 Jan 2011 22:57:52 +0100, Robert Gabriel <robert@linux-source.org> wrote:
I'm trying to build dovecot version 2.0.8, but I always end-up with this error:
libtool: link: i486-linux-gnu-gcc -std=gnu99 -O3 -mtune=prescott -march=prescott -fomit-frame-pointer -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -o .libs/anvil main.o anvil-connection.o anvil-settings.o connect-limit.o penalty.o -Wl,--export-dynamic ../../src/lib-dovecot/.libs/libdovecot.so -ldl -lrt -Wl,-rpath -Wl,/applications/dovecot-mail/lib/dovecot ../../src/lib-dovecot/.libs/libdovecot.so: undefined reference to
fallocate64' collect2: ld returned 1 exit status make[3]: *** [anvil] Error 1 make[3]: Leaving directory
/root/build/source/dovecot-2.0.8/src/anvil' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/root/build/source/dovecot-2.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/build/source/dovecot-2.0.8' make: *** [all] Error 2Does anyone know how to fix this?
On 9.1.2011, at 12.29, Robert Gabriel wrote:
On Sun, Jan 9, 2011 at 05:55, David Warden <warden@geneseo.edu> wrote:
Based on the "i486" in your libtool line, could you be experiencing this problem:
http://ubuntuforums.org/showthread.php?t=1445395
Basically it looks like there's an issue with glibc 2.10 on 32-bit systems causing a problem when linking fallocate64. Not if you can/need to apt-get upgrade or dist-upgrade to fix.
I can't upgrade the server, if I could so easily I would have done long time ago. Also upgrading is not a fix, version 2.0.6 works on Ubuntu 9.10.
After configure remove this line from config.h:
#define HAVE_FALLOCATE 1
On Sun, Jan 9, 2011 at 11:31, Timo Sirainen <tss@iki.fi> wrote:
On 9.1.2011, at 12.29, Robert Gabriel wrote:
On Sun, Jan 9, 2011 at 05:55, David Warden <warden@geneseo.edu> wrote:
Based on the "i486" in your libtool line, could you be experiencing this problem:
http://ubuntuforums.org/showthread.php?t=1445395
Basically it looks like there's an issue with glibc 2.10 on 32-bit systems causing a problem when linking fallocate64. Not if you can/need to apt-get upgrade or dist-upgrade to fix.
I can't upgrade the server, if I could so easily I would have done long time ago. Also upgrading is not a fix, version 2.0.6 works on Ubuntu 9.10.
After configure remove this line from config.h:
#define HAVE_FALLOCATE 1
This works, just build dovecot 2.0.8.
participants (3)
-
David Warden
-
Robert Gabriel
-
Timo Sirainen