[Dovecot] dovecot 1.1rc1 deliver linker error without mbox

Bernhard Schmidt berni at birkenwald.de
Mon Mar 3 02:35:11 EET 2008


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



More information about the dovecot mailing list