[Dovecot] Problem compiling dovecot 2.1 Beta1 under Solaris10on SPARC

Jürgen Obermann Juergen.Obermann at hrz.uni-giessen.de
Wed Nov 23 19:07:09 EET 2011


Am 23.11.2011 15:58, schrieb Timo Sirainen:
> On 23.11.2011, at 12.01, Jürgen Obermann wrote:
>
>>> On 22.11.2011, at 22.11, Jürgen Obermann wrote:
>>>
>>>> "imapc-client.h", line 21: warning: enumerator value overflows 
>>>> INT_MAX (2147483647)
>>>
>>> What? No it doesn't.. Does changing the 0x400000000 in line 20 to 
>>> 0x200000000 help?
>>
>> No, but stripping off the last zero helps, because INT_MAX is 
>> 0x7FFFFFFF.
>
> Oops :) Looks like gcc automatically increases the enum's size to
> 64bit in that case.
>
>> "imapc-storage.c", line 500: void function cannot return value
>
> http://hg.dovecot.org/dovecot-2.1/rev/bfcd0bed5a9e

There seems to be one more similar problem:

gmake[3]: Entering directory 
`/net/fileserv/export/sunsrc/src/dovecot-2.1.beta1/src/anvil'
source='anvil-connection.c' object='anvil-connection.o' libtool=no \
         DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
         cc -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib 
-I../../src/lib-test -I../../src/lib-settings -I../../src/lib-master 
-I/usr/local/include  -fast -xarch=v8plusa -I/usr/sfw/include    -c 
anvil-connection.c
"anvil-connection.c", line 156: void function cannot return value
cc: acomp failed for anvil-connection.c
gmake[3]: *** [anvil-connection.o] Error 2

-- 
Jürgen Obermann
Hochschulrechenzentrum der
Justus-Liebig-Universität Gießen
Heinrich-Buff-Ring 44
Tel. 0641-9913054



More information about the dovecot mailing list