[Dovecot] dovecot-1.0.rc15 with quota-rewrite on FreeBSD

Félix Langelier felix.langelier at notarius.com
Tue Nov 28 15:42:30 UTC 2006


Hello,

I tried to compile dovecot rc15 from the sources with the quota-rewrite patch (http://dovecot.org/patches/1.0/quota-rewrite.diff) on FreeBSD 6.1, but the compilation stop with the following errors.

I am not very good in coding, so if you could fix the patch for FreeBSD it will be great.

Making all in trash
if /usr/local/bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I../../..  -I../../../src/lib  -I../../../src/lib-mail  -I../../../src/lib-storage  -I../../../src/plugins/quota    -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT trash-plugin.lo -MD -MP -MF ".deps/trash-plugin.Tpo" -c -o trash-plugin.lo trash-plugin.c;  then mv -f ".deps/trash-plugin.Tpo" ".deps/trash-plugin.Plo"; else rm -f ".deps/trash-plugin.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/plugins/quota -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT trash-plugin.lo -MD -MP -MF .deps/trash-plugin.Tpo -c trash-plugin.c  -fPIC -DPIC -o .libs/trash-plugin.o
trash-plugin.c:103: warning: "struct quota_root_transaction_context" declared inside parameter list
trash-plugin.c:103: 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:118: error: dereferencing pointer to incomplete type
trash-plugin.c: At top level:
trash-plugin.c:183: warning: "struct quota_root_transaction_context" declared inside parameter list
trash-plugin.c: In function `trash_quota_root_try_alloc':
trash-plugin.c:185: error: dereferencing pointer to incomplete type
trash-plugin.c:189: error: structure has no member named `try_alloc'
trash-plugin.c: At top level:
trash-plugin.c:212: warning: "struct quota_root_transaction_context" declared inside parameter list
trash-plugin.c: In function `trash_quota_root_try_alloc_bytes':
trash-plugin.c:214: error: dereferencing pointer to incomplete type
trash-plugin.c:218: error: structure has no member named `try_alloc_bytes'
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_test_alloc_bytes':
trash-plugin.c:238: error: dereferencing pointer to incomplete type
trash-plugin.c:242: error: structure has no member named `test_alloc_bytes'
trash-plugin.c: In function `trash_quota_root_created':
trash-plugin.c:277: error: structure has no member named `v'
trash-plugin.c:278: error: structure has no member named `v'
trash-plugin.c:279: error: structure has no member named `v'
trash-plugin.c:280: error: structure has no member named `v'
trash-plugin.c:281: error: structure has no member named `v'
*** Error code 1

Stop in /usr/home/felix.langelier/sources/dovecot-1.0.rc15/src/plugins/trash.
*** Error code 1

Stop in /usr/home/felix.langelier/sources/dovecot-1.0.rc15/src/plugins.
*** Error code 1

Stop in /usr/home/felix.langelier/sources/dovecot-1.0.rc15/src.
*** Error code 1

Stop in /usr/home/felix.langelier/sources/dovecot-1.0.rc15.
*** Error code 1

Stop in /usr/home/felix.langelier/sources/dovecot-1.0.rc15.

Thanks in advance.

--
Felix Langelier


More information about the dovecot mailing list