Hi,
I'm trying to compile dovecot 1.0rc1 on a V250, Solaris 10 installed.
-- configure: CPPFLAGS=-I/usr/local/ssl/include LDFLAGS='-L/usr/local/ssl/lib -R/usr/local/ssl/lib' ./configure --with-ssl=openssl --with-file-offset-size=32
gcc Version 3.3.2 from Sunfreeware
Error Message:
# make
make all-recursive
Making all in src
Making all in lib
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/ssl/include
-std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT
file-dotlock.o -MD -MP -MF ".deps/file-dotlock.Tpo" -c -o file-dotlock.o
file-dotlock.c;
then mv -f ".deps/file-dotlock.Tpo" ".deps/file-dotlock.Po"; else rm -f
".deps/file-dotlock.Tpo"; exit 1; fi
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from file-dotlock.c:13:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for __proc' /usr/include/sys/siginfo.h:261: error: previous declaration of
__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for __fault' /usr/include/sys/siginfo.h:267: error: previous declaration of
__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for __file' /usr/include/sys/siginfo.h:273: error: previous declaration of
__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for __prof' /usr/include/sys/siginfo.h:287: error: previous declaration of
__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for __rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of
__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from file-dotlock.c:13:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from file-dotlock.c:13:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target file-dotlock.o' Current working directory /tmp/dovecot-1.0.beta8/src/lib *** Error code 1 The following command caused the error: set fnord $MAKEFLAGS; amf=$2; \ dot_seen=no; \ target=
echo all-recursive | sed s/-recursive//; \ list='lib lib-dict lib-sql lib-ntlm lib-settings lib-charset lib-mail lib-imap lib-index lib-storage lib-auth auth dict master login-common imap-login imap pop3-login pop3 util plugins'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target
all-recursive'
Current working directory /tmp/dovecot-1.0.beta8/src
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2;
dot_seen=no;
target=echo all-recursive | sed s/-recursive//
;
list='src doc'; for subdir in $list; do
echo "Making $target in $subdir";
if test "$subdir" = "."; then
dot_seen=yes;
local_target="$target-am";
else
local_target="$target";
fi;
(cd $subdir && make $local_target)
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;
done;
if test "$dot_seen" = "no"; then
make "$target-am" || exit 1;
fi; test -z "$fail"
make: Fatal error: Command failed for target all-recursive' Current working directory /tmp/dovecot-1.0.beta8 *** Error code 1 make: Fatal error: Command failed for target
all'
--
Can anybody halp, please?
TIA dirk