GanGan
2009-Sep-25 15:59 UTC
[Dovecot] problem with compilation of dovecot-antispam plugin with dovecot 1.2.5
hello all, y a use dovecot 1.2.5, compiled with : ./configure --prefix=/opt/dovecot125 --enable-header-install --with-mysql --with-ssl=openssl my error is : make install : cc -DHAVE_CONFIG_H -I/opt/dovecot125/include/dovecot/ -I/opt/dovecot125/include/dovecot/src/ -I/opt/dovecot125/include/dovecot/src/lib/ -I/opt/dovecot125/include/dovecot/src/lib-storage/ -I/opt/dovecot125/include/dovecot/src/lib-mail/ -I/opt/dovecot125/include/dovecot/src/lib-imap/ -I/opt/dovecot125/include/dovecot/src/lib-dict/ -I/opt/dovecot125/include/dovecot/src/lib-index/ -I/opt/dovecot125/include/dovecot/src/imap/ -o dovecot-version dovecot-version.c ./dovecot-version > dovecot-version.h cc -c -DCONFIG_DEBUG -DDEBUG_STDERR -DCONFIG_DEBUG_VERBOSE -fPIC -shared -Wall -Wextra -DPLUGINNAME=antispam -DHAVE_CONFIG_H -I/opt/dovecot125/include/dovecot/ -I/opt/dovecot125/include/dovecot/src/ -I/opt/dovecot125/include/dovecot/src/lib/ -I/opt/dovecot125/include/dovecot/src/lib-storage/ -I/opt/dovecot125/include/dovecot/src/lib-mail/ -I/opt/dovecot125/include/dovecot/src/lib-imap/ -I/opt/dovecot125/include/dovecot/src/lib-dict/ -I/opt/dovecot125/include/dovecot/src/lib-index/ -I/opt/dovecot125/include/dovecot/src/imap/ -o debug.o debug.c In file included from debug.c:5: antispam-plugin.h: In function 'string_dict_init': antispam-plugin.h:119: erreur: too few arguments to function 'dict_init' antispam-plugin.h:120: attention : control reaches end of non-void function make: *** [debug.o] Erreur 1 my .config : BACKEND=spool2dir DOVECOT=/opt/dovecot125/include/dovecot INSTALLDIR=/opt/dovecot125/lib/dovecot/imap USER=root GROUP=root DEBUG=stderr DEBUG_VERBOSE=1 PLUGINNAME=antispam any idea ? thanks in advance -- GanGan - www.system-linux.eu - !DSPAM:30,4abce8de71461752217160!
Timo Sirainen
2009-Sep-28 22:51 UTC
[Dovecot] problem with compilation of dovecot-antispam plugin with dovecot 1.2.5
On Fri, 2009-09-25 at 17:59 +0200, GanGan wrote:> antispam-plugin.h: In function 'string_dict_init': > antispam-plugin.h:119: erreur: too few arguments to function 'dict_init' > antispam-plugin.h:120: attention : control reaches end of non-void > functionLooks like you don't have the latest dovecot-antispam? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090928/14f2c335/attachment-0002.bin>