-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 at 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 at 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 at 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>