Summary: | fbpict.c doesn't compile with gcc-4.* (symbol `_cairo_pixman_composite' is already defined) | ||
---|---|---|---|
Product: | pixman | Reporter: | Ervin Németh <ervin.nemeth> |
Component: | pixman | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | major | ||
Priority: | high | CC: | freedesktop |
Version: | 0.1.3 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Ervin Németh
2005-11-23 21:31:03 UTC
Can you look at the ChangeLog to see what the most recent change is in the code you are trying to compile? In particular, I'd like to know if the following change is present or not: 2005-11-21 Carl Worth <cworth@cworth.org> * src/pixman-remap.h: Remove duplicate definitions of pixman_color_to_pixel and pixman_composite. No, the newest entry in ChangeLog is of 2005-09-18. I was compiling cairo-1.0.2. Sorry if you have fixed this already in the CVS. Yes, this is a known bug in 0.1.2, which should be fixed in CVS already. The fix is also quite easy to apply yourself if desired: 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.7 diff -u -p -r1.5 -r1.7 --- pixman/src/pixman-remap.h 22 Aug 2005 04:02:33 -0000 1.5 +++ pixman/src/pixman-remap.h 21 Nov 2005 19:46:40 -0000 1.7 @@ -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 Mark as fixed (in CVS). Confirmed. After applying the patch the compiling succeeds. Thank you very much. Is in 1.0 branch now. Will be in 1.0.4 in an hour. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.