[Dovecot] RE: build errors on cvs
Building on Solaris 8 with Sun's compiler, I get the following error. Would you fix this? Using gcc is not really a good option for me.
/opt/forte8/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/inclu\de -fast -xarch=v8 -I/opt/csw/include -c buffer.c "buffer.c", line 159: void function cannot return value "buffer.c", line 205: void function cannot return value cc: acomp failed for buffer.c *** Error code 2 make: Fatal error: Command failed for target `buffer.o' Current working directory /export/medusa/asmoore/build/dovecot-sparc/src/lib
Thanks, Alex
On 295, 10 21, 2004 at 07:37:36AM -0500, Alex S Moore wrote:
Building on Solaris 8 with Sun's compiler, I get the following error. Would you fix this? Using gcc is not really a good option for me.
/opt/forte8/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/inclu\de -fast -xarch=v8 -I/opt/csw/include -c buffer.c "buffer.c", line 159: void function cannot return value "buffer.c", line 205: void function cannot return value cc: acomp failed for buffer.c *** Error code 2
Try the attached patch to fix this.
-- Andrey Panin | Linux and UNIX system administrator pazke@donpac.ru | PGP key: wwwkeys.pgp.net
On Thu, 2004-10-21 at 16:45 +0400, Andrey Panin wrote:
On 295, 10 21, 2004 at 07:37:36AM -0500, Alex S Moore wrote:
Building on Solaris 8 with Sun's compiler, I get the following error. Would you fix this? Using gcc is not really a good option for me.
/opt/forte8/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/inclu\de -fast -xarch=v8 -I/opt/csw/include -c buffer.c "buffer.c", line 159: void function cannot return value "buffer.c", line 205: void function cannot return value cc: acomp failed for buffer.c *** Error code 2
Try the attached patch to fix this.
Yes, that works fine. Will you be committing this or should I keep the patch to apply on subsequent builds?
Thanks, Alex
On 21.10.2004, at 15:37, Alex S Moore wrote:
Building on Solaris 8 with Sun's compiler, I get the following error. Would you fix this? Using gcc is not really a good option for me.
Fixed in CVS.
"buffer.c", line 159: void function cannot return value "buffer.c", line 205: void function cannot return value
Just remove the "return" words from those lines.
participants (3)
-
Alex S Moore
-
Andrey Panin
-
Timo Sirainen