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