trash-plugin.c:110: warning: 'struct quota_root_transaction_context' declared inside parameter list trash-plugin.c:110: warning: its scope is only this definition or declaration, which is probably not what you want trash-plugin.c: In function 'trash_try_clean_mails': trash-plugin.c:134: error: dereferencing pointer to incomplete type trash-plugin.c:198: error: dereferencing pointer to incomplete type trash-plugin.c:198: error: dereferencing pointer to incomplete type trash-plugin.c:199: error: dereferencing pointer to incomplete type trash-plugin.c:200: error: dereferencing pointer to incomplete type trash-plugin.c:200: error: dereferencing pointer to incomplete type trash-plugin.c:201: error: dereferencing pointer to incomplete type trash-plugin.c: At top level: trash-plugin.c:207: warning: 'struct quota_root_transaction_context' declared inside parameter list trash-plugin.c: In function 'trash_quota_root_try_alloc': trash-plugin.c:209: error: dereferencing pointer to incomplete type trash-plugin.c:213: error: 'struct quota_backend_vfuncs' has no member named 'try_alloc' trash-plugin.c:226: warning: passing argument 1 of 'trash_try_clean_mails' from incompatible pointer type trash-plugin.c: At top level: trash-plugin.c:236: warning: 'struct quota_root_transaction_context' declared inside parameter list trash-plugin.c: In function 'trash_quota_root_try_alloc_bytes': trash-plugin.c:238: error: dereferencing pointer to incomplete type trash-plugin.c:242: error: 'struct quota_backend_vfuncs' has no member named 'try_alloc_bytes' trash-plugin.c:250: warning: passing argument 1 of 'trash_try_clean_mails' from incompatible pointer type trash-plugin.c: At top level: trash-plugin.c:260: warning: 'struct quota_root_transaction_context' declared inside parameter list trash-plugin.c: In function 'trash_quota_root_test_alloc_bytes': trash-plugin.c:262: error: dereferencing pointer to incomplete type trash-plugin.c:266: error: 'struct quota_backend_vfuncs' has no member named 'test_alloc_bytes' trash-plugin.c:274: warning: passing argument 1 of 'trash_try_clean_mails' from incompatible pointer type trash-plugin.c: In function 'trash_quota_root_created': trash-plugin.c:301: error: 'struct quota_root' has no member named 'v' trash-plugin.c:302: error: 'struct quota_root' has no member named 'v' trash-plugin.c:303: error: 'struct quota_root' has no member named 'v' trash-plugin.c:304: error: 'struct quota_root' has no member named 'v' trash-plugin.c:305: error: 'struct quota_root' has no member named 'v' make[4]: *** [trash-plugin.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-mail/dovecot-1.0.2-r1/work/dovecot-1.0.2/src/plugins/trash' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-mail/dovecot-1.0.2-r1/work/dovecot-1.0.2/src/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-mail/dovecot-1.0.2-r1/work/dovecot-1.0.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-mail/dovecot-1.0.2-r1/work/dovecot-1.0.2' make: *** [all] Error 2