Hello,
compiling dovecot-2.0.beta6 under Solaris 9 runs into an error. I use the following setup:
CC=cc
export CC
CPPFLAGS='-I/usr/local/include'
export CPPFLAGS
CFLAGS='-fast -xarch=v8plusa'
export CFLAGS
LDFLAGS='-L/usr/local/lib -R/usr/local/lib'
export LDFLAGS
./configure --help
./configure --prefix=/opt/local
./gmake
......
Making all in lib-imap
gmake[3]: Entering directory `/net/fileserv/export/sunsrc/src/dovecot-2.0.beta6/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/usr/local/include -fast -xarch=v8plusa -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/usr/local/include -fast -xarch=v8plusa -c imap-match.c -KPIC -DPIC -o .libs/imap-match.o
"imap-match.c", line 195: warning: syntax error: empty declaration
"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 210: warning: syntax error: empty declaration
"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] Error 1
Thank you for help. Greetings, Jürgen Obermann
Hochschulrechenzentrum der | Mail: Juergen.Obermann@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