I Haven't had the time to check the sha1.h error with the new fixes but I've just done so after de 2.2.25 release was out and I'm having the same error:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
-Wstrict-aliasing=2 -I/usr/kerberos/include -c guid.c -fPIC -DPIC -o
.libs/guid.o
In file included from guid.c:6:
sha1.h:80: error: static or type qualifiers in abstract declarator
make[4]: *** [guid.lo] Error 1
make[4]: Leaving directory /home/jc/rpmbuild/BUILD/dovecot-2.2.25/src/lib' make[3]: *** [all] Error 2 make[3]: Leaving directory
/home/jc/rpmbuild/BUILD/dovecot-2.2.25/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/jc/rpmbuild/BUILD/dovecot-2.2.25/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/jc/rpmbuild/BUILD/dovecot-2.2.25'
make: *** [all] Error 2
Operating System: CentOS 5.11 GCC Version: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)
We have four systems like this with dovecot 2.2.24 working fine. I would like to know if this platform will not be compatible anymore with dovecot and if we need to upgrade our systems prior to dovecot version since, besides this, I have the problem related to the openssl version for the lib-dcrypt library
Thanks Juan C. Blanco
+-------------------------------------------------------------------+ | Juan C. Blanco | | | | Centro de Calculo | | | E.T.S. Ingenieros Informáticos | E-mail: jcblanco@fi.upm.es | | Universidad Politécnica de Madrid | | | Campus de Montegancedo | | | Boadilla del Monte | Tel.: (+34) 91 336 7466 | | 28660 MADRID (Spain) | Fax : (+34) 91 336 6913 | +-------------------------------------------------------------------+