> On July 2, 2016 at 6:56 PM Mart Pirita <sysad...@e-positive.ee> wrote: > > > Hello. > > I cant build 2.2.25, but I can build fine version 2.2.24 with same options: > > RedHat based customized distro, 2.6.28.10 kernel > > Build options: > > export CPPFLAGS > export LDFLAGS > > CPPFLAGS=-I/usr/local/ssl/include > LDFLAGS=-L/usr/local/ssl/lib > > ./configure \ > --prefix=/usr \ > --with-ssl=openssl \ > --with-ssldir=/etc/ssl \ > --sysconfdir=/etc \ > --without-vpopmail \ > --with-pam \ > --without-bsdauth \ > --without-sql \ > --without-nss \ > --without-ldap \ > --without-pgsql \ > --without-mysql \ > --without-sqlite \ > --with-rundir=/var/run/dovecot\ > --without-deliver \ > --without-gssapi > > Build error: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. > -I/usr/local/ssl/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -fno-builtin-strftime -MT guid.lo -MD -MP -MF > .deps/guid.Tpo -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 `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-2.2.25' > make: *** [all] Error 2 > > > Please advise? > > > -- > Mart
This has been fixed in https://github.com/dovecot/core/commit/f54d511597447e40f5413716c10520a7229364f1 --- Aki Tuomi Dovecot oy