[Dovecot] Problem compiling dovecot 2.1 Beta1 under Solaris 10on SPARC

Jürgen Obermann Juergen.Obermann at hrz.uni-giessen.de
Wed Nov 23 12:01:25 EET 2011


----- Nachricht von tss at iki.fi ---------
      Datum: Wed, 23 Nov 2011 01:01:44 +0200
        Von: Timo Sirainen <tss at iki.fi>
    Betreff: Re: [Dovecot] Problem compiling dovecot 2.1 Beta1 under  
Solaris 10 on SPARC
         An: Jürgen Obermann <Juergen.Obermann at hrz.uni-giessen.de>
         Cc: dovecot at dovecot.org


> 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.

>> "imapc-connection.c", line 1446: operand cannot have void type: op "=="
>> "imapc-connection.c", line 1446: operands have incompatible types:
>
> Fixed: http://hg.dovecot.org/dovecot-2.1/rev/1cdd39d11ce4
>
>
>
OK now.

----- Ende der Nachricht von tss at iki.fi -----

One more compilation problem occurs:

gmake[5]: Entering directory  
`/net/fileserv/export/sunsrc/src/dovecot-2.1.beta1/src/lib-storage/index/imapc'
source='imapc-storage.c' object='imapc-storage.lo' libtool=yes \
         DEPDIR=.deps depmode=none /bin/bash ../../../../depcomp \
         /bin/bash ../../../../libtool --tag=CC   --mode=compile cc  
-DHAVE_CONFIG_H -I. -I../../../..  -I../../../../src/lib  
-I../../../../src/lib-test -I../../../../src/lib-settings  
-I../../../../src/lib-mail -I../../../../src/lib-imap  
-I../../../../src/lib-imap-client -I../../../../src/lib-index  
-I../../../../src/lib-storage -I../../../../src/lib-storage/list  
-I../../../../src/lib-storage/index -I/usr/local/include  -fast  
-xarch=v8plusa -I/usr/sfw/include    -c -o imapc-storage.lo  
imapc-storage.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../../..  
-I../../../../src/lib -I../../../../src/lib-test  
-I../../../../src/lib-settings -I../../../../src/lib-mail  
-I../../../../src/lib-imap -I../../../../src/lib-imap-client  
-I../../../../src/lib-index -I../../../../src/lib-storage  
-I../../../../src/lib-storage/list -I../../../../src/lib-storage/index  
-I/usr/local/include -fast -xarch=v8plusa -I/usr/sfw/include -c  
imapc-storage.c  -KPIC -DPIC -o .libs/imapc-storage.o
"../../../../src/lib-storage/mailbox-list.h", line 13: warning:  
useless declaration
"../../../../src/lib-storage/mailbox-list-private.h", line 14:  
warning: useless declaration
"imapc-sync.h", line 4: warning: useless declaration
"imapc-storage.c", line 500: void function cannot return value
cc: acomp failed for imapc-storage.c
gmake[5]: *** [imapc-storage.lo] Error 1


Greetings,
Jürgen Obermann

-- 
Hochschulrechenzentrum der | Mail: Juergen.Obermann at hrz.uni-giessen.de
Justus-Liebig-Universitaet | WWW:  http://www.uni-giessen.de/obermann/
Heinrich-Buff-Ring 44      | Tel:  0641-99-13054 (0641-99-13001)
D-35392 Giessen, Germany   | Fax:  0641-99-13009




More information about the dovecot mailing list