Bug 43293

Summary: _pixman_image_composite32 : undefiend symbols etc.
Product: cairo Reporter: doc0.delphin <doc0.delphin>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED NOTABUG QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: blocker    
Priority: medium    
Version: 1.10.0   
Hardware: Other   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description doc0.delphin@voila.fr 2011-11-28 01:20:55 UTC
OBJECT : _pixman_image_composite32

Trying to build CAIRO under Mac OS X Snow Leopard (v. 10.6.8) and XCode 3.2.5 (for the compilers).

OK with CAIRO v. 1,18,0 (but Quartz) : correctly installed.

However, new open source softwares need CAIRO v. at least 10.0, but versions. 10.0 and 1.10.0 issue an error as follows :


 CCLD   libcairo.la
Undefined symbols:
  "_pixman_image_composite32", referenced from:
      __cairo_image_surface_fixup_unbounded in cairo-image-surface.o
      __cairo_image_surface_fixup_unbounded in cairo-image-surface.o
      __fill_span in cairo-image-surface.o
      __composite_mask in cairo-image-surface.o
      __cairo_image_surface_span_renderer_finish in cairo-image-surface.o
      __composite_glyphs in cairo-image-surface.o
      __composite_glyphs_via_mask in cairo-image-surface.o
      __composite_glyphs_via_mask in cairo-image-surface.o
      __composite_glyphs_via_mask in cairo-image-surface.o
      __composite_glyphs_via_mask in cairo-image-surface.o
      __composite_unaligned_boxes.isra.14 in cairo-image-surface.o
      __composite_spans in cairo-image-surface.o
      __cairo_image_surface_composite in cairo-image-surface.o
      __cairo_image_surface_composite in cairo-image-surface.o
      __composite_traps in cairo-image-surface.o
      __composite_boxes in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __clip_and_composite in cairo-image-surface.o
      __cairo_image_surface_coerce_to_format in cairo-image-surface.o
      __cairo_pattern_acquire_surface in cairo-pattern.o
      __cairo_surface_snapshot_copy_on_write in cairo-surface-snapshot.o
      __draw_image_surface in cairo-xlib-surface.o
  "_pixman_image_set_destroy_function", referenced from:
      __pixman_image_for_pattern in cairo-image-surface.o
  "_pixman_image_fill_boxes", referenced from:
      __cairo_image_surface_fixup_unbounded in cairo-image-surface.o
      __cairo_image_surface_fill_rectangles in cairo-image-surface.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
my-make[3]: *** [libcairo.la] Error 1
my-make[3]: Leaving directory `/Volumes/External_1/_Other-Apps-GNOME/_CAIRO/_Workspace/_Build-Dir/src'
my-make[2]: *** [all] Error 2
my-make[2]: Leaving directory `/Volumes/External_1/_Other-Apps-GNOME/_CAIRO/_Workspace/_Build-Dir/src'
my-make[1]: *** [all-recursive] Error 1
my-make[1]: Leaving directory `/Volumes/External_1/_Other-Apps-GNOME/_CAIRO/_Workspace/_Build-Dir'
my-make: *** [all] Error 2


So, the procees fail, and I did not fix it.

Yours faithfully,
Comment 1 Andrea Canciani 2011-11-28 02:06:51 UTC
(In reply to comment #0)
> OBJECT : _pixman_image_composite32

Can you please check if the pixman library you're linking to provides this symbol?

If it does, there is probably something broken in the cairo build system.
If it does not, it's too old (and for some reason the cairo configuration system is unable to detect the version correctly).

Cairo 1.10.0 requires pixman 0.18.4 or newer.

> 
> Trying to build CAIRO under Mac OS X Snow Leopard (v. 10.6.8) and XCode 3.2.5
> (for the compilers).
> 
> OK with CAIRO v. 1,18,0 (but Quartz) : correctly installed.

Cairo 1.8.0 requires pixman 0.12.0 or newer (which hints again to a pixman version issue)

How do you run the configuration script from cairo?
Do you set up a special environment?

Remember that if you don't let pkg-config perform the version checking and set up the environment by setting pixman_CFLAGS and pixman_LIBS, then you should make sure that the pixman library you're using satisfies the requirements.

> 
> However, new open source softwares need CAIRO v. at least 10.0, but versions.
> 10.0 and 1.10.0 issue an error as follows :
> 
> 
>  CCLD   libcairo.la
> Undefined symbols:
>   "_pixman_image_composite32", referenced from:
>       __cairo_image_surface_fixup_unbounded in cairo-image-surface.o
>       __cairo_image_surface_fixup_unbounded in cairo-image-surface.o
>       __fill_span in cairo-image-surface.o
>       __composite_mask in cairo-image-surface.o
>       __cairo_image_surface_span_renderer_finish in cairo-image-surface.o
>       __composite_glyphs in cairo-image-surface.o
>       __composite_glyphs_via_mask in cairo-image-surface.o
>       __composite_glyphs_via_mask in cairo-image-surface.o
>       __composite_glyphs_via_mask in cairo-image-surface.o
>       __composite_glyphs_via_mask in cairo-image-surface.o
>       __composite_unaligned_boxes.isra.14 in cairo-image-surface.o
>       __composite_spans in cairo-image-surface.o
>       __cairo_image_surface_composite in cairo-image-surface.o
>       __cairo_image_surface_composite in cairo-image-surface.o
>       __composite_traps in cairo-image-surface.o
>       __composite_boxes in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __clip_and_composite in cairo-image-surface.o
>       __cairo_image_surface_coerce_to_format in cairo-image-surface.o
>       __cairo_pattern_acquire_surface in cairo-pattern.o
>       __cairo_surface_snapshot_copy_on_write in cairo-surface-snapshot.o
>       __draw_image_surface in cairo-xlib-surface.o
>   "_pixman_image_set_destroy_function", referenced from:
>       __pixman_image_for_pattern in cairo-image-surface.o
>   "_pixman_image_fill_boxes", referenced from:
>       __cairo_image_surface_fixup_unbounded in cairo-image-surface.o
>       __cairo_image_surface_fill_rectangles in cairo-image-surface.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> my-make[3]: *** [libcairo.la] Error 1
> my-make[3]: Leaving directory
> `/Volumes/External_1/_Other-Apps-GNOME/_CAIRO/_Workspace/_Build-Dir/src'
> my-make[2]: *** [all] Error 2
> my-make[2]: Leaving directory
> `/Volumes/External_1/_Other-Apps-GNOME/_CAIRO/_Workspace/_Build-Dir/src'
> my-make[1]: *** [all-recursive] Error 1
> my-make[1]: Leaving directory
> `/Volumes/External_1/_Other-Apps-GNOME/_CAIRO/_Workspace/_Build-Dir'
> my-make: *** [all] Error 2
> 
> 
> So, the procees fail, and I did not fix it.
> 
> Yours faithfully,
Comment 2 Andrea Canciani 2012-01-18 00:48:09 UTC
Please reopen if the suggested fix (updating pixman) did not work.

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.