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 <[email protected]> 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 2


Does anyone know how to fix this?

Reply via email to