dovecot 2.2.31: linking error
-std=gnu99 -mmacosx-version-min=10.12 [...] Undefined symbols for architecture x86_64: "_imapc_client_cmd", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_client_get_capabilities", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_command_sendf", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_callback", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_context_init", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_run", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_storage_client_register_untagged", referenced from: _imapc_quota_refresh in quota-imapc.o ld: symbol(s) not found for architecture x86_64 clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
On 29.06.2017 13:32, Rupert Gallagher wrote:
-std=gnu99 -mmacosx-version-min=10.12 [...] Undefined symbols for architecture x86_64: "_imapc_client_cmd", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_client_get_capabilities", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_command_sendf", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_callback", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_context_init", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_run", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_storage_client_register_untagged", referenced from: _imapc_quota_refresh in quota-imapc.o ld: symbol(s) not found for architecture x86_64 clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
Did you run autoreconf -vi before configure and make?
Aki
No, I did not. I used the mainstream tar release, not the git bundle. autoreconf -vi returns error, for lack of m4 file. Sent from ProtonMail Mobile
On Thu, Jun 29, 2017 at 12:51 PM, Aki Tuomi aki.tuomi@dovecot.fi wrote:
On 29.06.2017 13:32, Rupert Gallagher wrote: > -std=gnu99 > -mmacosx-version-min=10.12 > [...] > Undefined symbols for architecture x86_64: > "_imapc_client_cmd", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_client_get_capabilities", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_command_sendf", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_callback", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_context_init", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_run", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_storage_client_register_untagged", referenced from: > _imapc_quota_refresh in quota-imapc.o > ld: symbol(s) not found for architecture x86_64 > clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) Did you run autoreconf -vi before configure and make? Aki
Yes, the m4 files do exist. And yet... ... autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I . -I m4 aclocal: error: couldn't open directory 'm4': No such file or directory autoreconf: aclocal failed with exit status: 1
-------- Original Message -------- Subject: Re: dovecot 2.2.31: linking error Local Time: June 29, 2017 5:51 PM UTC Time: June 29, 2017 3:51 PM From: ruga@protonmail.com To: dovecot@dovecot.org No, I did not. I used the mainstream tar release, not the git bundle. autoreconf -vi returns error, for lack of m4 file. Sent from ProtonMail Mobile
On Thu, Jun 29, 2017 at 12:51 PM, Aki Tuomi aki.tuomi@dovecot.fi wrote:
On 29.06.2017 13:32, Rupert Gallagher wrote: > -std=gnu99 > -mmacosx-version-min=10.12 > [...] > Undefined symbols for architecture x86_64: > "_imapc_client_cmd", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_client_get_capabilities", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_command_sendf", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_callback", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_context_init", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_run", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_storage_client_register_untagged", referenced from: > _imapc_quota_refresh in quota-imapc.o > ld: symbol(s) not found for architecture x86_64 > clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) Did you run autoreconf -vi before configure and make? Aki
On 29 Jun 2017, at 13.32, Rupert Gallagher ruga@protonmail.com wrote:
-std=gnu99 -mmacosx-version-min=10.12 [...] Undefined symbols for architecture x86_64: "_imapc_client_cmd", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_client_get_capabilities", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_command_sendf", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_callback", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_context_init", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_simple_run", referenced from: _imapc_quota_refresh in quota-imapc.o "_imapc_storage_client_register_untagged", referenced from: _imapc_quota_refresh in quota-imapc.o ld: symbol(s) not found for architecture x86_64 clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
If you're using configure --with-storage=... remove that.
I tried compiling without "--with-storage=maildir" and it terminated without error. I need to enforce maildir, however. Sent from ProtonMail Mobile
On Fri, Jun 30, 2017 at 4:26 PM, Timo Sirainen tss@iki.fi wrote:
On 29 Jun 2017, at 13.32, Rupert Gallagher wrote: > > -std=gnu99 > -mmacosx-version-min=10.12 > [...] > Undefined symbols for architecture x86_64: > "_imapc_client_cmd", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_client_get_capabilities", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_command_sendf", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_callback", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_context_init", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_simple_run", referenced from: > _imapc_quota_refresh in quota-imapc.o > "_imapc_storage_client_register_untagged", referenced from: > _imapc_quota_refresh in quota-imapc.o > ld: symbol(s) not found for architecture x86_64 > clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) If you're using configure --with-storage=... remove that. @protonmail.com>
On 1 Jul 2017, at 13.08, Rupert Gallagher ruga@protonmail.com wrote:
I tried compiling without "--with-storage=maildir" and it terminated without error. I need to enforce maildir, however.
You can enforce maildir in configuration.
Sami
I would rather choose what to install. Sent from ProtonMail Mobile
On Sat, Jul 1, 2017 at 1:02 PM, Sami Ketola sami.ketola@dovecot.fi wrote:
On 1 Jul 2017, at 13.08, Rupert Gallagher wrote: > > I tried compiling without "--with-storage=maildir" and it terminated without error. I need to enforce maildir, however. You can enforce maildir in configuration. Sami @protonmail.com>
On July 1, 2017 at 7:23 PM Rupert Gallagher ruga@protonmail.com wrote:
I would rather choose what to install. Sent from ProtonMail Mobile
On Sat, Jul 1, 2017 at 1:02 PM, Sami Ketola sami.ketola@dovecot.fi wrote:
On 1 Jul 2017, at 13.08, Rupert Gallagher wrote: > > I tried compiling without "--with-storage=maildir" and it terminated without error. I need to enforce maildir, however. You can enforce maildir in configuration. Sami @protonmail.com>
Unfortunately it's no longer possible with core storage drivers.
Aki
On 02/07/2017 03:33, Aki Tuomi wrote:
On July 1, 2017 at 7:23 PM Rupert Gallagher ruga@protonmail.com wrote:
I would rather choose what to install. Sent from ProtonMail Mobile
On Sat, Jul 1, 2017 at 1:02 PM, Sami Ketola sami.ketola@dovecot.fi wrote:
On 1 Jul 2017, at 13.08, Rupert Gallagher wrote: > > I tried compiling without "--with-storage=maildir" and it terminated without error. I need to enforce maildir, however. You can enforce maildir in configuration. Sami @protonmail.com>
Unfortunately it's no longer possible with core storage drivers.
Just like passwd backends which we used to be able to select, now, sadly dovecot is bloatware
I can compile an entire freaking kernel 35% faster than dovecot :)
-- Kind Regards,
Noel Butler
This Email, including any attachments, may contain legally privileged
information, therefore remains confidential and subject to copyright protected under international law. You may not disseminate, discuss, or reveal, any part, to anyone, without the authors express written authority to do so. If you are not the intended recipient, please notify the sender then delete all copies of this message including attachments, immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message. Only PDF [1] and ODF [2] documents accepted, please do not send proprietary formatted documents
Links:
[1] http://www.adobe.com/ [2] http://en.wikipedia.org/wiki/OpenDocument
participants (5)
-
Aki Tuomi
-
Noel Butler
-
Rupert Gallagher
-
Sami Ketola
-
Timo Sirainen