[cairo] unable to build cairo-1.0.2 on solaris

Carl Worth cworth at cworth.org
Mon Nov 21 11:55:40 PST 2005


On 21 Nov 2005 16:30:19 -0000, dave218c.20002592 wrote:
> I'm trying to build cairo on solaris and running into a "multiply
> defined" error:
...
> Assembler: fbpict.c
>         "/var/tmp//ccrdx0N2.s", line 6128 :
> Multiply defined label: "_cairo_pixman_composite"
>         "/var/tmp//ccrdx0N2.s",

I believe this problem is fixed in CVS. I see you are using the
cairo-1.0.2 release. You could checkout the latest in the 1.0 branch
with the following command:

cvs -d :pserver:anoncvs at cairographics.org:/cvs/cairo co -r BRANCH_1_0 -d cairo-branch-1.0 cairo

Or you could try just applying the patch below, which is the part that
I think should fix your problem.

Either way, please let me know if you continue to encounter problems.

-Carl

Index: pixman/src/pixman-remap.h
===================================================================
RCS file: /mirrors/freedesktop/cairo/cairo/pixman/src/pixman-remap.h,v
retrieving revision 1.5
retrieving revision 1.5.2.2
diff -u -p -r1.5 -r1.5.2.2
--- pixman/src/pixman-remap.h   22 Aug 2005 04:02:33 -0000      1.5
+++ pixman/src/pixman-remap.h   21 Nov 2005 19:49:34 -0000
1.5.2.2
@@ -1,9 +1,7 @@
 #define pixman_add_trapezoids _cairo_pixman_add_trapezoids
-#define INT_pixman_color_to_pixel _cairo_pixman_color_to_pixel
 #define pixman_color_to_pixel _cairo_pixman_color_to_pixel
 #define composeFunctions _cairo_pixman_compose_functions
 #define fbComposeSetupMMX _cairo_pixman_compose_setup_mmx
-#define INT_pixman_composite _cairo_pixman_composite
 #define pixman_composite _cairo_pixman_composite
 #define fbCompositeCopyAreammx _cairo_pixman_composite_copy_area_mmx
 #define fbCompositeSolidMask_nx8888x0565Cmmx _cairo_pixman_composite_solid_mask_nx8888x0565Cmmx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20051121/fc835ad4/attachment.pgp


More information about the cairo mailing list