dovecot-2.2.16 compilation problems under Solaris Studio 11

Jürgen Obermann Juergen.Obermann at hrz.uni-giessen.de
Wed Apr 8 14:24:49 UTC 2015


Hello

here are two problems I get when I compile dovecot 2.2.16 under  
Solaris 10 with Studio 11 Compiler:

gmake[4]: Entering directory  
`/net/fileserv/export/sunsrc/src/dovecot-2.2.16/src/lib'
source='test-array.c' object='test_lib-test-array.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
cc -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib-test  
-I/opt/local/include -I/usr/local/include  -fast -xarch=v8plusa  
-I/opt/local/include    -c -o test_lib-test-array.o `test -f  
'test-array.c' || echo './'`test-array.c
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -32768
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -16384
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -512
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -256
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -128
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -64
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -2
"test-array.c", line 129: warning: initializer does not fit or is out  
of range: -1
"test-array.c", line 154: operand cannot have void type: op "="
"test-array.c", line 154: assignment type mismatch:
         unsigned short "=" const void
"test-array.c", line 206: operand cannot have void type: op "="
"test-array.c", line 206: assignment type mismatch:
         pointer to const char "=" const void
cc: acomp failed for test-array.c
gmake[4]: [test_lib-test-array.o] Fehler 2 (ignoriert)


gmake[3]: Entering directory  
`/net/fileserv/export/sunsrc/src/dovecot-2.2.16/src/lib-imap'
source='imap-match.c' object='imap-match.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-charset -I../../src/lib-mail -I/opt/local/include  
-I/usr/local/include  -fast -xarch=v8plusa -I/opt/local/include    -c  
-o imap-match.lo imap-match.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib  
-I../../src/lib-test -I../../src/lib-charset -I../../src/lib-mail  
-I/opt/local/include -I/usr/local/include -fast -xarch=v8plusa  
-I/opt/local/include -c imap-match.c  -KPIC -DPIC -o .libs/imap-match.o
"imap-match.c", line 199: identifier redeclared: imap_match_dup
         current : function(pointer to struct pool {pointer to const  
struct pool_vfuncs {..} v, unsigned int alloconly_pool :1, unsigned  
int datastack_pool :1}, pointer to const struct imap_match_glob  
{pointer to struct pool {..} pool, pointer to struct  
imap_match_pattern {..} patterns, char sep, array[-1] of char  
patterns_data}) returning pointer to struct imap_match_glob {pointer  
to struct pool {..} pool, pointer to struct imap_match_pattern {..}  
patterns, char sep, array[-1] of char patterns_data}
         previous: function(pointer to struct pool {pointer to const  
struct pool_vfuncs {..} v, unsigned int alloconly_pool :1, unsigned  
int datastack_pool :1}, pointer to const struct imap_match_glob  
{pointer to struct pool {..} pool, pointer to struct  
imap_match_pattern {..} patterns, char sep, array[-1] of char  
patterns_data}) returning pointer to struct imap_match_glob {pointer  
to struct pool {..} pool, pointer to struct imap_match_pattern {..}  
patterns, char sep, array[-1] of char patterns_data} : "imap-match.h",  
line 33
"imap-match.c", line 214: identifier redeclared: imap_match_globs_equal
         current : function(pointer to const struct imap_match_glob  
{pointer to struct pool {..} pool, pointer to struct  
imap_match_pattern {..} patterns, char sep, array[-1] of char  
patterns_data}, pointer to const struct imap_match_glob {pointer to  
struct pool {..} pool, pointer to struct imap_match_pattern {..}  
patterns, char sep, array[-1] of char patterns_data}) returning _Bool
         previous: function(pointer to const struct imap_match_glob  
{pointer to struct pool {..} pool, pointer to struct  
imap_match_pattern {..} patterns, char sep, array[-1] of char  
patterns_data}, pointer to const struct imap_match_glob {pointer to  
struct pool {..} pool, pointer to struct imap_match_pattern {..}  
patterns, char sep, array[-1] of char patterns_data}) returning _Bool  
: "imap-match.h", line 36
cc: acomp failed for imap-match.c
gmake[3]: [imap-match.lo] Fehler 1 (ignoriert)


Greetings
Jürgen
-- 
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