Still not working. I'm now getting this error:
userdb-vpopmail.c: In function ‘userdb_vpopmail_get_quota’: userdb-vpopmail.c:65:13: error: assignment of member ‘key’ in read-only object tab[0].key = 'q'; ^ userdb-vpopmail.c:66:15: error: assignment of member ‘value’ in read-only object tab[0].value = format_maildirquota(vpop_str); ^ Makefile:2048: recipe for target 'auth-userdb-vpopmail.o' failed make[3]: *** [auth-userdb-vpopmail.o] Error 1 make[3]: Leaving directory '/usr/local/src/dovecot-2.2.29/src/auth' Makefile:496: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/local/src/dovecot-2.2.29/src' Makefile:619: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/src/dovecot-2.2.29' Makefile:463: recipe for target 'all' failed make: *** [all] Error 2
-------- Original Message -------- Subject: Re: Vpopmail Error From: Timo Sirainen tss@iki.fi To: Bobber bobber@kc0dxf.net Date: 04/11/2017 02:28 AM
On 10 Apr 2017, at 23.55, Bobber
mailto:bobber@kc0dxf.net> wrote: I'm trying to compile the latest Dovecot (v2.2.29) and when I run make I get this error:
auth-userdb-vpopmail.o: In function
userdb_vpopmail_get_quota': /usr/local/src/dovecot-2.2.29/src/auth/userdb-vpopmail.c:64: undefined reference to
var_expand_table_build' collect2: error: ld returned 1 exit status Makefile:932: recipe for target 'auth' failed make[3]: *** [auth] Error 1 make[3]: Leaving directory '/usr/local/src/dovecot-2.2.29/src/auth' Makefile:496: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/local/src/dovecot-2.2.29/src' Makefile:619: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/local/src/dovecot-2.2.29' Makefile:463: recipe for target 'all' failed make: *** [all] Error 2I'm using Debian Jessie and it's up to date. Just to make sure it wasn't something in Jessie I went back into v2.2.28 (which I've been using since it was released) and did a clean build successfully.
I've never had any problems compiling dovecot up until now. Any ideas on how to fix this?
Fixed by https://github.com/dovecot/core/commit/892ba92f54b853dd7cf860eca771e441ca963...
-- *Bob Wooldridge* Blog: http://kc0dxf.net/blog/