[cairo] unable to build cairo-1.0.2 on solaris

dave218c.20002592 at bloglines.com dave218c.20002592 at bloglines.com
Mon Nov 21 08:30:19 PST 2005


Hi -

I'm trying to build cairo on solaris and running into a "multiply
defined" error:

bash-3.00$ make
make  all-recursive
make[1]: Entering
directory `/home/dave/packages/cairo/cairo-1.0.2'
Making all in pixman
make[2]:
Entering directory `/home/dave/packages/cairo/cairo-1.0.2/pixman'
Making
all in src
make[3]: Entering directory `/home/dave/packages/cairo/cairo-1.0.2/pixman/src'

if /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../.. -I../.. -I.    -g -O2 -MT fbpict.lo -MD -MP -MF ".deps/fbpict.Tpo"
-c -o fbpict.lo fbpict.c; \
then mv -f ".deps/fbpict.Tpo" ".deps/fbpict.Plo";
else rm -f ".deps/fbpict.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I. -g -O2 -MT fbpict.lo -MD -MP -MF .deps/fbpict.Tpo -c fbpict.c
 -fPIC -DPIC -o .libs/fbpict.o
fbpict.c: In function `_cairo_pixman_composite':

fbpict.c:1910: warning: visibility attribute not supported in this configuration;
ignored
Assembler: fbpict.c
        "/var/tmp//ccrdx0N2.s", line 6128 :
Multiply defined label: "_cairo_pixman_composite"
        "/var/tmp//ccrdx0N2.s",
line 12 : Cycle in expression caused by .set
make[3]: *** [fbpict.lo] Error
1
make[3]: Leaving directory `/home/dave/packages/cairo/cairo-1.0.2/pixman/src'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dave/packages/cairo/cairo-1.0.2/pixman'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dave/packages/cairo/cairo-1.0.2'

make: *** [all] Error 2


The configuration for this build is as simple
as I could make it and I think I have all the dependencies in place.

I'm
using gcc 3.4.4 . 

bash-3.00$ uname -a
SunOS mouse 5.11 snv_27 i86pc i386
i86pc
bash-3.00$ gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.11/3.4.4/specs

Configured with: ./configure 
Thread model: posix
gcc version 3.4.4
bash-3.00$



Can anyone help me build cairo on this system? 
Thanks very much.

- Dave


More information about the cairo mailing list