Re: Dovecot 2.2.25 compiling error

2016-07-12 Thread Joseph Tam
void foo(int X[static 20]); will compile but if you remove "X", it won't. The change was to replace "int" with "unsigned char" in the above test program, and the test started failing then in CentOS 5's gcc. I'd expect the same to happen for you also. No, it will fail with both "int

Re: Dovecot 2.2.25 compiling error

2016-07-11 Thread Joseph Tam
I've reduced the problem to this: void foo(int X[static 20]); will compile but if you remove "X", it won't. The change was to replace "int" with "unsigned char" in the above test program, and the test started failing then in CentOS 5's gcc. I'd expect the same to happen for you also.

Re: Dovecot 2.2.25 compiling error

2016-07-11 Thread Timo Sirainen
> On 12 Jul 2016, at 02:16, Joseph Tam wrote: > > Aki Tuomi wrote: > Well, tried with or without patches, but got still same error: sha1.h:80: error: static or type qualifiers in abstract declarator >>> >>> For what it's worth, I get the same error compiling on Solaris 10. >>>

Re: Dovecot 2.2.25 compiling error

2016-07-11 Thread Joseph Tam
Aki Tuomi wrote: Well, tried with or without patches, but got still same error: sha1.h:80: error: static or type qualifiers in abstract declarator For what it's worth, I get the same error compiling on Solaris 10. It may be because I have a rather old gcc (3.4.4). Editing out the "static" ke

Re: Dovecot 2.2.25 compiling error

2016-07-07 Thread Aki Tuomi
On 08.07.2016 01:37, Joseph Tam wrote: > >> Well, tried with or without patches, but got still same error: >> >> sha1.h:80: error: static or type qualifiers in abstract declarator > > For what it's worth, I get the same error compiling on Solaris 10. > It may be because I have a rather old gcc (3

Re: Dovecot 2.2.25 compiling error

2016-07-07 Thread Joseph Tam
Well, tried with or without patches, but got still same error: sha1.h:80: error: static or type qualifiers in abstract declarator For what it's worth, I get the same error compiling on Solaris 10. It may be because I have a rather old gcc (3.4.4). Editing out the "static" keyword from config

Re: Dovecot 2.2.25 compiling error

2016-07-07 Thread Mart Pirita
Aki Tuomi wrote: > This has been now fixed in master-2.2 with > > https://github.com/dovecot/core/commit/20e802d6bbf4ddad3a2140a2f7812d01de0ec2ef > https://github.com/dovecot/core/commit/d9c865ce774aae9f2f17b89e7e94c3cfca29dea7 > > Our testings indicate that you can compile 2.2.25.1 on CentOS5 with

Re: Dovecot 2.2.25 compiling error

2016-07-04 Thread Aki Tuomi
On 02.07.2016 20:03, aki.tu...@dovecot.fi wrote: >> On July 2, 2016 at 7:58 PM aki.tu...@dovecot.fi wrote: >> >> >> >>> On July 2, 2016 at 6:56 PM Mart Pirita wrote: >>> >>> >>> Hello. >>> >>> I cant build 2.2.25, but I can build fine version 2.2.24 with same options: >>> >>> RedHat based custom

Re: Dovecot 2.2.25 compiling error

2016-07-02 Thread Mart Pirita
aki.tu...@dovecot.fi wrote: >> art > We are considering stopping support for old distros because maintaining > support for them is becoming increasingly difficult. > > Please consider upgrading your distribution instead? It is rather old. > Well, don't do it on the middle of the v2.2, this is not

Re: Dovecot 2.2.25 compiling error

2016-07-02 Thread aki . tuomi
> On July 2, 2016 at 8:24 PM Mart Pirita wrote: > > > Alexander Dalloz wrote: > > Am 02.07.2016 um 17:56 schrieb Mart Pirita: > >> 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 > > http://d

Re: Dovecot 2.2.25 compiling error

2016-07-02 Thread Mart Pirita
Alexander Dalloz wrote: > Am 02.07.2016 um 17:56 schrieb Mart Pirita: >> 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 > http://dovecot.org/pipermail/dovecot/2016-July/104798.html > But config.h does

Re: Dovecot 2.2.25 compiling error

2016-07-02 Thread aki . tuomi
> On July 2, 2016 at 7:58 PM aki.tu...@dovecot.fi wrote: > > > > > On July 2, 2016 at 6:56 PM Mart Pirita 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 op

Re: Dovecot 2.2.25 compiling error

2016-07-02 Thread aki . tuomi
> On July 2, 2016 at 6:56 PM Mart Pirita 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 >

Re: Dovecot 2.2.25 compiling error

2016-07-02 Thread Alexander Dalloz
Am 02.07.2016 um 17:56 schrieb Mart Pirita: 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 http://dovecot.org/pipermail/dovecot/2016-July/104798.html Alexander

Dovecot 2.2.25 compiling error

2016-07-02 Thread Mart Pirita
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 \ --wi