Error compiling with --with-storages=
Hello,
Usually I compile Dovecot with option --with-storages=maildir
Starting with 2.2.30 and up to 2.2.36 RC this option cause the compilation to fail with this error:
.libs/quota-imapc.o: In function imapc_quota_refresh': quota-imapc.c:(.text+0x82d): undefined reference to
imapc_client_get_capabilities'
quota-imapc.c:(.text+0x87d): undefined reference to
imapc_simple_context_init' quota-imapc.c:(.text+0x887): undefined reference to
imapc_simple_callback'
quota-imapc.c:(.text+0x89d): undefined reference to imapc_client_cmd' quota-imapc.c:(.text+0x8ba): undefined reference to
imapc_command_sendf'
quota-imapc.c:(.text+0x8c2): undefined reference to imapc_simple_run' quota-imapc.c:(.text+0xa2a): undefined reference to
imapc_storage_client_register_untagged'
quota-imapc.c:(.text+0xa4d): undefined reference to
imapc_storage_client_register_untagged' quota-imapc.c:(.text+0xa8e): undefined reference to
imapc_simple_context_init'
quota-imapc.c:(.text+0xa98): undefined reference to imapc_simple_callback' quota-imapc.c:(.text+0xaae): undefined reference to
imapc_client_cmd'
quota-imapc.c:(.text+0xacb): undefined reference to imapc_command_sendf' quota-imapc.c:(.text+0xad3): undefined reference to
imapc_simple_run'
collect2: ld returned 1 exit status
Compiling without this option or with --with-storages=maildir,imapc works
Thanks, Andrea
--
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; We're computer professionals. We cause accidents.
Ing. Andrea Gabellini Email: andrea.gabellini@telecomitalia.sm Skype: andreagabellini Tel: (+378) 0549 886111 Fax: (+378) 0549 886188
Telecom Italia San Marino S.p.A. Via XXVIII Luglio, 212 - Piano -2 47893 Borgo Maggiore Republic of San Marino
Am 10.05.2018 um 16:02 schrieb Andrea Gabellini:
Hello,
Usually I compile Dovecot with option --with-storages=maildir
Starting with 2.2.30 and up to 2.2.36 RC this option cause the compilation to fail with this error:
.libs/quota-imapc.o: In function
imapc_quota_refresh': quota-imapc.c:(.text+0x82d): undefined reference to
imapc_client_get_capabilities' quota-imapc.c:(.text+0x87d): undefined reference toimapc_simple_context_init' quota-imapc.c:(.text+0x887): undefined reference to
imapc_simple_callback' quota-imapc.c:(.text+0x89d): undefined reference toimapc_client_cmd' quota-imapc.c:(.text+0x8ba): undefined reference to
imapc_command_sendf' quota-imapc.c:(.text+0x8c2): undefined reference toimapc_simple_run' quota-imapc.c:(.text+0xa2a): undefined reference to
imapc_storage_client_register_untagged' quota-imapc.c:(.text+0xa4d): undefined reference toimapc_storage_client_register_untagged' quota-imapc.c:(.text+0xa8e): undefined reference to
imapc_simple_context_init' quota-imapc.c:(.text+0xa98): undefined reference toimapc_simple_callback' quota-imapc.c:(.text+0xaae): undefined reference to
imapc_client_cmd' quota-imapc.c:(.text+0xacb): undefined reference toimapc_command_sendf' quota-imapc.c:(.text+0xad3): undefined reference to
imapc_simple_run' collect2: ld returned 1 exit statusCompiling without this option or with --with-storages=maildir,imapc works
This option has been removed. Unfortunately it is still referenced in the Wiki.
https://www.dovecot.org/pipermail/dovecot/2017-May/108159.html
-- Alex JOST
Il 10/05/2018 16:20, Alex JOST ha scritto:
Am 10.05.2018 um 16:02 schrieb Andrea Gabellini:
This option has been removed. Unfortunately it is still referenced in the Wiki.
https://www.dovecot.org/pipermail/dovecot/2017-May/108159.html
Hello,
thank you for point me to the old post.
It is also referenced in the ./configure --help output.
If 2.2.36 will be the last 2.2 release probably it is better to remove or ignore the option.
Thanks, Andrea
--
Remember--even if you're on the right track, you'll get run over if you just sit there!
Ing. Andrea Gabellini Email: andrea.gabellini@telecomitalia.sm Skype: andreagabellini Tel: (+378) 0549 886111 Fax: (+378) 0549 886188
Telecom Italia San Marino S.p.A. Via XXVIII Luglio, 212 - Piano -2 47893 Borgo Maggiore Republic of San Marino
participants (2)
-
Alex JOST
-
Andrea Gabellini