Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 21944
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Can't compile on Solaris 10
(Broken in 0.54 --- RT did not let me to select this version) While building Imager 0.54 on a Solaris 10 machine (uname -a yields: SunOS fiesta 5.10 Generic_118833-20 sun4u sparc SUNW,Sun-Fire-880 ) I get the following error: cc -c -I/usr/include/libpng12 -I/home/pub/include/freetype2 -I/home/pub/include -I/usr/sfw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"0.54\" -DXS_VERSION=\"0.54\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DOS_solaris fills.c "fills.c", line 624: operands have incompatible types: const union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} "fills.c", line 625: operands have incompatible types: const union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} "fills.c", line 626: operands have incompatible types: const union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of double channel} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of double channel} "fills.c", line 627: operands have incompatible types: const union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of double channel} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, array[4] of double channel} cc: acomp failed for fills.c make: *** [fills.o] Error 2 Regards, Slaven
Thanks for reporting this problem. A strict reading of the C standard seems to indicated this error is correct, though this is the first time I've seen this reported. I've fixed this in svn, if you'd like to try it out, please: svn co http://imager.perl.org/svn/trunk/Imager and give it a go. Tony On Sat Oct 07 03:25:31 2006, SREZIC wrote: Show quoted text
> (Broken in 0.54 --- RT did not let me to select this version) > > While building Imager 0.54 on a Solaris 10 machine (uname -a yields: > SunOS fiesta 5.10 Generic_118833-20 sun4u sparc SUNW,Sun-Fire-880 > ) I get the following error: > > cc -c -I/usr/include/libpng12 -I/home/pub/include/freetype2 > -I/home/pub/include -I/usr/sfw/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff > -DVERSION=\"0.54\" -DXS_VERSION=\"0.54\" -KPIC > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DOS_solaris fills.c > "fills.c", line 624: operands have incompatible types: > const union {struct {..} gray, struct {..} rgb, struct {..} > rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int > ui} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, > struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} > "fills.c", line 625: operands have incompatible types: > const union {struct {..} gray, struct {..} rgb, struct {..} > rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int > ui} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, > struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} > "fills.c", line 626: operands have incompatible types: > const union {struct {..} gray, struct {..} rgb, struct {..} > rgba, struct {..} cmyk, array[4] of double channel} ":" union {struct > {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, > array[4] of double channel} > "fills.c", line 627: operands have incompatible types: > const union {struct {..} gray, struct {..} rgb, struct {..} > rgba, struct {..} cmyk, array[4] of double channel} ":" union {struct > {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, > array[4] of double channel} > cc: acomp failed for fills.c > make: *** [fills.o] Error 2 > > Regards, > Slaven
Subject: Re: [rt.cpan.org #21944] Can't compile on Solaris 10
Date: 08 Oct 2006 15:13:01 +0200
To: bug-Imager [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
" via RT" <bug-Imager@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=21944 > > > Thanks for reporting this problem. > > A strict reading of the C standard seems to indicated this error is > correct, though this is the first time I've seen this reported. > > I've fixed this in svn, if you'd like to try it out, please: > > svn co http://imager.perl.org/svn/trunk/Imager > > and give it a go.
Building under Solaris 10 works with the subversion version. make test is also OK. Regards, Slaven Show quoted text
> > Tony > > On Sat Oct 07 03:25:31 2006, SREZIC wrote:
> > (Broken in 0.54 --- RT did not let me to select this version) > > > > While building Imager 0.54 on a Solaris 10 machine (uname -a yields: > > SunOS fiesta 5.10 Generic_118833-20 sun4u sparc SUNW,Sun-Fire-880 > > ) I get the following error: > > > > cc -c -I/usr/include/libpng12 -I/home/pub/include/freetype2 > > -I/home/pub/include -I/usr/sfw/include -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff > > -DVERSION=\"0.54\" -DXS_VERSION=\"0.54\" -KPIC > > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DOS_solaris fills.c > > "fills.c", line 624: operands have incompatible types: > > const union {struct {..} gray, struct {..} rgb, struct {..} > > rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int > > ui} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, > > struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} > > "fills.c", line 625: operands have incompatible types: > > const union {struct {..} gray, struct {..} rgb, struct {..} > > rgba, struct {..} cmyk, array[4] of unsigned char channel, unsigned int > > ui} ":" union {struct {..} gray, struct {..} rgb, struct {..} rgba, > > struct {..} cmyk, array[4] of unsigned char channel, unsigned int ui} > > "fills.c", line 626: operands have incompatible types: > > const union {struct {..} gray, struct {..} rgb, struct {..} > > rgba, struct {..} cmyk, array[4] of double channel} ":" union {struct > > {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, > > array[4] of double channel} > > "fills.c", line 627: operands have incompatible types: > > const union {struct {..} gray, struct {..} rgb, struct {..} > > rgba, struct {..} cmyk, array[4] of double channel} ":" union {struct > > {..} gray, struct {..} rgb, struct {..} rgba, struct {..} cmyk, > > array[4] of double channel} > > cc: acomp failed for fills.c > > make: *** [fills.o] Error 2 > > > > Regards, > > Slaven
> > >
-- Slaven Rezic - slaven <at> rezic <dot> de tksm - Perl/Tk program for searching and replacing in multiple files http://ptktools.sourceforge.net/#tksm
On Sat Oct 07 03:25:31 2006, SREZIC wrote: Show quoted text
> (Broken in 0.54 --- RT did not let me to select this version) > > While building Imager 0.54 on a Solaris 10 machine (uname -a yields: > SunOS fiesta 5.10 Generic_118833-20 sun4u sparc SUNW,Sun-Fire-880 > ) I get the following error:
Thanks for your help on this. This problem is fixed in Imager 0.55. Tony