[Dovecot] beta 1.1-3 compile fails on solaris 9 sparc, cc.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/SUNWconn/crypto/include
-xjobs=4 -c file-set-size.c
"/usr/include/sys/resource.h", line 126: incomplete struct/union/enum
timeval: ru_utime
"file-set-size.c", line 26: warning: implicit function declaration: ftruncate
"file-set-size.c", line 38: warning: implicit function declaration: pwrite
cc: acomp failed for file-set-size.c
*** Error code 2
make: Fatal error: Command failed for target file-set-size.o' Current working directory /mnt/sho/src/dovecot/1.1-3/dovecot-1.1.beta3/src/lib *** Error code 1 make: Fatal error: Command failed for target
all'
Current working directory
/mnt/sho/src/dovecot/1.1-3/dovecot-1.1.beta3/src/lib
*** Error code 1
make: Fatal error: Command failed for target all-recursive' Current working directory /mnt/sho/src/dovecot/1.1-3/dovecot-1.1.beta3/src *** Error code 1 make: Fatal error: Command failed for target
all-recursive'
Current working directory /mnt/sho/src/dovecot/1.1-3/dovecot-1.1.beta3
*** Error code 1
make: Fatal error: Command failed for target `all'
On Tue, 2007-10-23 at 09:51 -0400, lenny@edpausa.com wrote:
"/usr/include/sys/resource.h", line 126: incomplete struct/union/enum timeval: ru_utime
Try changing src/lib/file-set-size.c:
a) Remove #define _XOPEN_SOURCE 600 line. Does it compile now?
b) Add #include
It compiles fine with Solaris 10+cc, so I'm guessing there's something broken in 9.
participants (2)
-
lenny@edpausa.com
-
Timo Sirainen