[Dovecot] sieve deliver and sun cc compilers

lenny at edpausa.com lenny at edpausa.com
Tue Oct 10 20:29:17 UTC 2006


thank you, but the same thing is happening with sieve-cmu.c.

cc -DHAVE_CONFIG_H -I. -I. -I..
-I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8
-I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8/src/lib
-I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8/src/lib-dict
-I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8/src/lib-mail
-I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8/src/lib-storage
-I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8/src/deliver
-I/opt/SUNWconn/crypto/include -xjobs=4 -c sieve-cmu.c  -KPIC -DPIC -o
.libs/sieve-cmu.o
"sieve-cmu.c", line 97: syntax error before or at: __attribute__
"sieve-cmu.c", line 97: warning: undefined or missing type for: __attribute__
"sieve-cmu.c", line 98: syntax error before or at: void
"sieve-cmu.c", line 98: syntax error before or at: const
"sieve-cmu.c", line 98: syntax error before or at: )
"sieve-cmu.c", line 118: syntax error before or at: =
"sieve-cmu.c", line 118: syntax error before or at: ->
"sieve-cmu.c", line 118: warning: old-style declaration or incorrect type
for: mail_send_forward
"sieve-cmu.c", line 127: warning: syntax error:  empty declaration
"sieve-cmu.c", line 134: syntax error before or at: __attribute__
"sieve-cmu.c", line 134: warning: undefined or missing type for:
__attribute__
"sieve-cmu.c", line 135: syntax error before or at: __attribute__
"sieve-cmu.c", line 135: warning: old-style declaration or incorrect type
for: __attribute__
"sieve-cmu.c", line 136: syntax error before or at: __attribute__
"sieve-cmu.c", line 136: warning: old-style declaration or incorrect type
for: __attribute__
"sieve-cmu.c", line 136: identifier redefined: __attribute__
        current : function() returning int
        previous: function() returning int : "sieve-cmu.c", line 135
"sieve-cmu.c", line 137: syntax error before or at: const
"sieve-cmu.c", line 137: syntax error before or at: __attribute__
"sieve-cmu.c", line 137: warning: old-style declaration or incorrect type
for: __attribute__
"sieve-cmu.c", line 137: identifier redefined: __attribute__
        current : function() returning int
        previous: function() returning int : "sieve-cmu.c", line 136
"sieve-cmu.c", line 148: syntax error before or at: __attribute__
"sieve-cmu.c", line 148: warning: undefined or missing type for:
__attribute__
"sieve-cmu.c", line 149: syntax error before or at: void
"sieve-cmu.c", line 149: syntax error before or at: const
"sieve-cmu.c", line 149: syntax error before or at: )
"sieve-cmu.c", line 162: syntax error before or at: ->
"sieve-cmu.c", line 168: syntax error before or at: =
"sieve-cmu.c", line 168: syntax error before or at: ->
"sieve-cmu.c", line 168: warning: old-style declaration or incorrect type
for: mail_send_rejection
"sieve-cmu.c", line 168: cannot recover from previous errors
cc: acomp failed for sieve-cmu.c
*** Error code 1
make: Fatal error: Command failed for target `sieve-cmu.lo'
Current working directory /mnt/sho/src/dovecot/rc8/dovecot-sieve/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /mnt/sho/src/dovecot/rc8/dovecot-sieve/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /mnt/sho/src/dovecot/rc8/dovecot-sieve
*** Error code 1
make: Fatal error: Command failed for target `all'


> On Tue, 2006-10-10 at 11:34 -0400, lenny at edpausa.com wrote:
>> sieve deliver still doesn't build with Sun cc.
>> any suggestions ? thank you.
>>
>>
>>  cc -DHAVE_CONFIG_H -I. -I. -I../..
>> -I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8
>> -I/export/home/sho/src/dovecot/rc8/dovecot-1.0.rc8/src/lib -I../../src
>> -I/opt/SUNWconn/crypto/include -xjobs=4 -c comparator.c  -KPIC -DPIC -o
>> .libs/comparator.o
>> "comparator.c", line 149: syntax error before or at: __attribute__
>> "comparator.c", line 149: warning: undefined or missing type for:
>> __attribute__
>
> Well, okay, originally I didn't want to change libsieve code any more
> than I had to, so I left these gccisms.. Fixed now in CVS.
>
>




More information about the dovecot mailing list