Bernhard Schmidt
2008-Mar-03 00:35 UTC
[Dovecot] dovecot 1.1rc1 deliver linker error without mbox
Hi, compiling dovecot-1.1rc1 with the option --with-storages=maildir,raw raises the following error: cc -std=gnu99 -g -Wall -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -o deliver auth-client.o deliver.o duplicate.o mail-send.o smtp-client.o ../lib/mountpoint.o -Wl,--export-dynamic ../lib-storage/register/libstorage-register.a ./lib-storage/list/libstorage_list.a ./../src/lib-storage/index/maildir/libstorage_maildir.a ./../src/lib-storage/index/raw/libstorage_raw.a ./../src/lib-storage/index/libstorage_index.a ./../src/lib-storage/libstorage.a ../../src/lib-index/libindex.a ./lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a ./lib-charset/libcharset.a ../lib/liblib.a -ldl deliver.o: In function `create_raw_stream': /home/berni/software/dovecot/dovecot-1.1.rc1/src/deliver/deliver.c:559: undefined reference to `mbox_from_parse' collect2: ld returned 1 exit status make[4]: *** [deliver] Error 1 make[4]: Leaving directory `/home/berni/software/dovecot/dovecot-1.1.rc1/src/deliver' With mbox included it compiles fine. This was not the case until at least beta13. Regards, Bernhard
Timo Sirainen
2008-Mar-03 00:56 UTC
[Dovecot] dovecot 1.1rc1 deliver linker error without mbox
On Mar 3, 2008, at 2:35 AM, Bernhard Schmidt wrote:> /home/berni/software/dovecot/dovecot-1.1.rc1/src/deliver/deliver.c: > 559: > undefined reference to `mbox_from_parse'Fixed: http://hg.dovecot.org/dovecot-1.1/rev/06f59be7f508 -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080303/1d8f62b5/attachment-0002.bin>