On 30/05/2017 19:16, Timo Sirainen wrote:
There is a build problem in the configure/make/libtool process when using "./configure ... --with-storages=maildir ...".
libtool: link: cc -G -h lib10_quota_plugin.so -o .libs/lib10_quota_plugin.so .libs/quota.o .libs/quota-count.o .libs/quota-fs.o .libs/quota-dict.o .libs/quota-dirsize.o .libs/quota-imapc.o .libs/quota-maildir.o .libs/quota-plugin.o .libs/quota-storage.o .libs/quota-util.o .libs/rquota_xdr.o -lrt -lnsl -lsocket -lsendfile -lc libtool: link: ( cd ".libs" && rm -f "lib10_quota_plugin.la" && ln -s "../lib10_quota_plugin.la" "lib10_quota_plugin.la" ) libtool: link: cc -o .libs/quota-status quota-status.o .libs/quota.o .libs/quota-count.o .libs/quota-fs.o .libs/quota-dict.o .libs/quota-dirsize.o .libs/quota-imapc.o .libs/quota-maildir.o .libs/quota-plugin.o .libs/quota-storage.o .libs/quota-util.o .libs/rquota_xdr.o ../../../src/lib-storage/.libs/libdovecot-storage.so /scratch/build/dovecot/32/src/lib-dovecot/.libs/libdovecot.so ../../../src/lib-imap-storage/.libs/libimap-storage.a ../../../src/lib-dovecot/.libs/libdovecot.so -liconv -lrt -lnsl -lsocket -lsendfile Undefined first referenced symbol in file imapc_simple_run .libs/quota-imapc.o imapc_simple_context_init .libs/quota-imapc.o imapc_command_sendf .libs/quota-imapc.o imapc_client_get_capabilities .libs/quota-imapc.o imapc_storage_client_register_untagged .libs/quota-imapc.o imapc_simple_callback .libs/quota-imapc.o imapc_client_cmd .libs/quota-imapc.o ld: fatal: symbol referencing errors. No output written to .libs/quota-status
This can be avoided if "--with-storages=maildir,imapc" is used to build. I could not find a proper solution in the time I had.