[Dovecot] Dovecot 2.2.0 compile error

Peter Wagner rauchwolke at gmx.net
Tue Apr 16 20:34:02 EEST 2013


On Tue, 16 Apr 2013 18:07:51 +0300
Timo Sirainen <tss at iki.fi> wrote:

> On 16.4.2013, at 17.55, rauchwolke at gmx.net wrote:
> 
> > i tried to compile dovecot 2.2.0 and i end up with this error:
> > 
> > make[6]: Entering directory `/mnt/data/Develop/Openwrt/trunk_git/build_dir/target-mips_r2_uClibc-0.9.33.2/dovecot-2.2.0/src/util'
> > /bin/sh ../../libtool --tag=CC   --mode=link mips-openwrt-linux-uclibc-gcc  -std=gnu99 -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/mnt/data/Develop/Openwrt/trunk_git/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include     -no-undefined -Wl,--as-needed -L/mnt/data/Develop/Openwrt/trunk_git/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/mnt/data/Develop/Openwrt/trunk_git/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/mnt/data/Develop/Openwrt/trunk_git/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/data/Develop/Openwrt/trunk_git/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib  -o gdbhelper gdbhelper.o
> 
> So it's failing only at gdbhelper. Why there and not earlier?..

I don't know.

> 
> > ../../src/lib-dovecot/.libs/libdovecot.so:(.got+0x0): multiple definition of `_GLOBAL_OFFSET_TABLE_'
> 
> Does it have it multiple times?

No only once. i attached the last 1000 lines of the output.

> 
> nm src/lib-dovecot/.libs/libdovecot.so | grep _GLOBAL_OFFSET_TABLE_

nm src/lib-dovecot/.libs/libdovecot.so | grep _GLOBAL_OFFSET_TABLE_
000b4d00 A _GLOBAL_OFFSET_TABLE_

> 
> > Version 2.1.16 compiled fine. How can i fix this linker error?
> 
> No idea.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.txz
Type: application/x-xz-compressed-tar
Size: 13520 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130416/152bf23b/attachment-0001.bin>


More information about the dovecot mailing list