[Dovecot] dovecot 1.2 link error
Hello list,
I need/want to build imaptest -- and I can only build it against at least dovecot 1.2 .
dovecot 1.2 actually builds just fine but at the end I get the following linker error:
/bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -pipe
-std=gnu99 -Wall -ftree-dce -ftree-dse -ftree-loop-optimize
-ftree-loop-linear -I/usr/lib/gcc/i386-redhat-linux/4.1.1/include -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-Wl,-z -Wl,compreloc -Wl,-z -Wl,norelro -o imap -export-dynamic
cmd-append.o cmd-capability.o cmd-cancelupdate.o cmd-check.o cmd-close.o
cmd-copy.o cmd-create.o cmd-delete.o cmd-enable.o cmd-examine.o
cmd-expunge.o cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logout.o
cmd-lsub.o cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o
cmd-select.o cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o
cmd-thread.o cmd-uid.o cmd-unselect.o cmd-unsubscribe.o cmd-x-cancel.o
client.o commands.o commands-util.o imap-expunge.o imap-fetch.o
imap-fetch-body.o imap-search.o imap-sort.o imap-status.o imap-sync.o
mail-storage-callbacks.o main.o
../../src/lib-storage/register/libstorage-register.a
../../src/lib-storage/list/libstorage_list.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-storage/libstorage.a ../../src/lib-index/libindex.a
../../src/lib-imap/libimap.a ../../src/lib-mail/libmail.a
../../src/lib-auth/libauth.a ../../src/lib-charset/libcharset.a
../../src/lib/liblib.a ../lib-dict/libdict.a ../lib/mountpoint.o
-export-dynamic -ldl
mkdir .libs
gcc -std=gnu99 -O2 -pipe -std=gnu99 -Wall -ftree-dce -ftree-dse
-ftree-loop-optimize -ftree-loop-linear
-I/usr/lib/gcc/i386-redhat-linux/4.1.1/include -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-Wl,-z -Wl,compreloc -Wl,-z -Wl,norelro -o imap cmd-append.o
cmd-capability.o cmd-cancelupdate.o cmd-check.o cmd-close.o cmd-copy.o
cmd-create.o cmd-delete.o cmd-enable.o cmd-examine.o cmd-expunge.o
cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o
cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o
cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o
cmd-unselect.o cmd-unsubscribe.o cmd-x-cancel.o client.o commands.o
commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
imap-search.o imap-sort.o imap-status.o imap-sync.o
mail-storage-callbacks.o main.o ../lib/mountpoint.o -Wl,--export-dynamic
../../src/lib-storage/register/libstorage-register.a
../../src/lib-storage/list/libstorage_list.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-storage/libstorage.a ../../src/lib-index/libindex.a
../../src/lib-imap/libimap.a ../../src/lib-mail/libmail.a
../../src/lib-auth/libauth.a ../../src/lib-charset/libcharset.a
../../src/lib/liblib.a ../lib-dict/libdict.a -ldl
../../src/lib-storage/register/libstorage-register.a(mailbox-list-register.o):
In function mailbox_list_register_all': mailbox-list-register.c:(.text+0x2d): undefined reference to
shared_mailbox_list'
collect2: ld returned 1 exit status
make[3]: *** [imap] Error 1
make[3]: Leaving directory
/root/compile/imaptest/current/dovecot-1.2.alpha3/src/imap' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/root/compile/imaptest/current/dovecot-1.2.alpha3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/compile/imaptest/current/dovecot-1.2.alpha3'
make: *** [all] Error 2
does anyone have an idea as to how to get rid of it?
thanks in advance ;)
-- Freundliche Grüße / Kind regards
Axel Schmalowsky Platform Engineer
domainfactory GmbH Oskar-Messter-Str. 33 85737 Ismaning Germany
Telefon: +49 (0)89 / 55266-356 Telefax: +49 (0)89 / 55266-222
E-Mail: aschmalowsky@df.eu Internet: www.df.eu
Registergericht: Amtsgericht München HRB 150294, Geschäftsführer Tobias Marburg, Jochen Tuchbreiter
On Wed, 12 Nov 2008 16:04:03 +0100 Timo Sirainen tss@iki.fi wrote:
On Wed, 2008-11-12 at 14:44 +0100, Axel Schmalowsky wrote:
In function
mailbox_list_register_all': mailbox-list-register.c:(.text+0x2d): undefined reference to
shared_mailbox_list'Did you specify --with-storages configure option?
yes, i did ... --with-storages=maildir
I just figured out that this error does not occur when I specify --with-storages=shared
-- Freundliche Grüße / Kind regards
Axel Schmalowsky Platform Engineer
domainfactory GmbH Oskar-Messter-Str. 33 85737 Ismaning Germany
Telefon: +49 (0)89 / 55266-356 Telefax: +49 (0)89 / 55266-222
E-Mail: aschmalowsky@df.eu Internet: www.df.eu
Registergericht: Amtsgericht München HRB 150294, Geschäftsführer Tobias Marburg, Jochen Tuchbreiter
participants (2)
-
Axel Schmalowsky
-
Timo Sirainen