AnsweredAssumed Answered

can not compile cairo on bf609-ezkit

Question asked by jiangfux on May 14, 2013
Latest reply on Jun 14, 2013 by sonic

Hi,  everyone

 

I want to use libgtk+ on bf609-ezkit, when i enable this in buildroot,  i face an error when compile uclinux-dist.

This is output from make:

>>> cairo 1.10.2 Building
PATH="/root/blackfin/buildroot/blackfin-buildroot/output/host/bin:/root/blackfin/buildroot/blackfin-buildroot/output/host/usr/bin:/root/blackfin/buildroot/blackfin-buildroot/output/host/usr/sbin/:/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-elf/bin:/root/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-elf/bin" PERLLIB="/root/blackfin/buildroot/blackfin-buildroot/output/host/usr/lib/perl"  /usr/bin/make -j4  -C /root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2/
make[1]: Entering directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2'
/usr/bin/make  all-recursive
make[2]: Entering directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2'
Making all in src
make[3]: Entering directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2/src'
/usr/bin/make  all-am
make[4]: Entering directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2/src'
  CC     cairo.lo
  CC     cairo-device.lo
  CC     cairo-font-face.lo
  CC     cairo-font-options.lo
cairo-device.c:211: error: ‘EXT_cairo_device_reference’ aliased to undefined symbol ‘_INT_cairo_device_reference’
cairo-device.c:263: error: ‘EXT_cairo_device_flush’ aliased to undefined symbol ‘_INT_cairo_device_flush’
cairo-device.c:303: error: ‘EXT_cairo_device_finish’ aliased to undefined symbol ‘_INT_cairo_device_finish’
cairo-device.c:344: error: ‘EXT_cairo_device_destroy’ aliased to undefined symbol ‘_INT_cairo_device_destroy’
cairo-device.c:419: error: ‘EXT_cairo_device_acquire’ aliased to undefined symbol ‘_INT_cairo_device_acquire’
cairo-device.c:445: error: ‘EXT_cairo_device_release’ aliased to undefined symbol ‘_INT_cairo_device_release’
make[4]: *** [cairo-device.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
cairo.c:393: error: ‘EXT_cairo_create’ aliased to undefined symbol ‘_INT_cairo_create’
cairo.c:462: error: ‘EXT_cairo_destroy’ aliased to undefined symbol ‘_INT_cairo_destroy’
cairo.c:565: error: ‘EXT_cairo_save’ aliased to undefined symbol ‘_INT_cairo_save’
cairo.c:587: error: ‘EXT_cairo_restore’ aliased to undefined symbol ‘_INT_cairo_restore’
cairo.c:726: error: ‘EXT_cairo_push_group_with_content’ aliased to undefined symbol ‘_INT_cairo_push_group_with_content’
cairo.c:813: error: ‘EXT_cairo_pop_group’ aliased to undefined symbol ‘_INT_cairo_pop_group’
cairo.c:875: error: ‘EXT_cairo_set_operator’ aliased to undefined symbol ‘_INT_cairo_set_operator’
cairo.c:937: error: ‘EXT_cairo_set_source_rgb’ aliased to undefined symbol ‘_INT_cairo_set_source_rgb’
cairo.c:1025: error: ‘EXT_cairo_set_source_surface’ aliased to undefined symbol ‘_INT_cairo_set_source_surface’
cairo.c:1068: error: ‘EXT_cairo_set_source’ aliased to undefined symbol ‘_INT_cairo_set_source’
cairo.c:1120: error: ‘EXT_cairo_set_tolerance’ aliased to undefined symbol ‘_INT_cairo_set_tolerance’
cairo.c:1215: error: ‘EXT_cairo_set_line_width’ aliased to undefined symbol ‘_INT_cairo_set_line_width’
cairo.c:1245: error: ‘EXT_cairo_set_line_cap’ aliased to undefined symbol ‘_INT_cairo_set_line_cap’
cairo.c:1275: error: ‘EXT_cairo_set_line_join’ aliased to undefined symbol ‘_INT_cairo_set_line_join’
cairo.c:1440: error: ‘EXT_cairo_translate’ aliased to undefined symbol ‘_INT_cairo_translate’
cairo.c:1465: error: ‘EXT_cairo_scale’ aliased to undefined symbol ‘_INT_cairo_scale’
cairo.c:1514: error: ‘EXT_cairo_transform’ aliased to undefined symbol ‘_INT_cairo_transform’
cairo.c:1537: error: ‘EXT_cairo_set_matrix’ aliased to undefined symbol ‘_INT_cairo_set_matrix’
cairo.c:1575: error: ‘EXT_cairo_user_to_device’ aliased to undefined symbol ‘_INT_cairo_user_to_device’
cairo.c:1596: error: ‘EXT_cairo_user_to_device_distance’ aliased to undefined symbol ‘_INT_cairo_user_to_device_distance’
cairo.c:1653: error: ‘EXT_cairo_new_path’ aliased to undefined symbol ‘_INT_cairo_new_path’
cairo.c:1681: error: ‘EXT_cairo_move_to’ aliased to undefined symbol ‘_INT_cairo_move_to’
cairo.c:1740: error: ‘EXT_cairo_line_to’ aliased to undefined symbol ‘_INT_cairo_line_to’
cairo.c:1795: error: ‘EXT_cairo_curve_to’ aliased to undefined symbol ‘_INT_cairo_curve_to’
cairo.c:2005: error: ‘EXT_cairo_rel_line_to’ aliased to undefined symbol ‘_INT_cairo_rel_line_to’
cairo.c:2158: error: ‘EXT_cairo_close_path’ aliased to undefined symbol ‘_INT_cairo_close_path’
cairo.c:2232: error: ‘EXT_cairo_paint’ aliased to undefined symbol ‘_INT_cairo_paint’
cairo.c:2308: error: ‘EXT_cairo_mask’ aliased to undefined symbol ‘_INT_cairo_mask’
cairo.c:2383: error: ‘EXT_cairo_stroke’ aliased to undefined symbol ‘_INT_cairo_stroke’
cairo.c:2410: error: ‘EXT_cairo_stroke_preserve’ aliased to undefined symbol ‘_INT_cairo_stroke_preserve’
cairo.c:2453: error: ‘EXT_cairo_fill_preserve’ aliased to undefined symbol ‘_INT_cairo_fill_preserve’
cairo.c:2733: error: ‘EXT_cairo_clip_preserve’ aliased to undefined symbol ‘_INT_cairo_clip_preserve’
cairo.c:3056: error: ‘EXT_cairo_set_font_size’ aliased to undefined symbol ‘_INT_cairo_set_font_size’
cairo.c:3132: error: ‘EXT_cairo_set_font_options’ aliased to undefined symbol ‘_INT_cairo_set_font_options’
cairo.c:3777: error: ‘EXT_cairo_get_tolerance’ aliased to undefined symbol ‘_INT_cairo_get_tolerance’
cairo.c:3870: error: ‘EXT_cairo_get_current_point’ aliased to undefined symbol ‘_INT_cairo_get_current_point’
cairo.c:3908: error: ‘EXT_cairo_get_line_width’ aliased to undefined symbol ‘_INT_cairo_get_line_width’
cairo.c:3978: error: ‘EXT_cairo_get_matrix’ aliased to undefined symbol ‘_INT_cairo_get_matrix’
cairo.c:4004: error: ‘EXT_cairo_get_target’ aliased to undefined symbol ‘_INT_cairo_get_target’
cairo.c:4173: error: ‘EXT_cairo_status’ aliased to undefined symbol ‘_INT_cairo_status’
cairo-font-options.c:182: error: ‘EXT_cairo_font_options_status’ aliased to undefined symbol ‘_INT_cairo_font_options_status’
cairo-font-options.c:215: error: ‘EXT_cairo_font_options_merge’ aliased to undefined symbol ‘_INT_cairo_font_options_merge’
cairo-font-options.c:246: error: ‘EXT_cairo_font_options_equal’ aliased to undefined symbol ‘_INT_cairo_font_options_equal’
cairo-font-options.c:272: error: ‘EXT_cairo_font_options_hash’ aliased to undefined symbol ‘_INT_cairo_font_options_hash’
cairo-font-options.c:291: error: ‘EXT_cairo_font_options_set_antialias’ aliased to undefined symbol ‘_INT_cairo_font_options_set_antialias’
cairo-font-options.c:330: error: ‘EXT_cairo_font_options_set_subpixel_order’ aliased to undefined symbol ‘_INT_cairo_font_options_set_subpixel_order’
cairo-font-options.c:411: error: ‘EXT_cairo_font_options_set_hint_style’ aliased to undefined symbol ‘_INT_cairo_font_options_set_hint_style’
cairo-font-options.c:450: error: ‘EXT_cairo_font_options_set_hint_metrics’ aliased to undefined symbol ‘_INT_cairo_font_options_set_hint_metrics’
cairo-font-face.c:127: error: ‘EXT_cairo_font_face_reference’ aliased to undefined symbol ‘_INT_cairo_font_face_reference’
cairo-font-face.c:163: error: ‘EXT_cairo_font_face_destroy’ aliased to undefined symbol ‘_INT_cairo_font_face_destroy’
cairo-font-face.c:241: error: ‘EXT_cairo_font_face_get_user_data’ aliased to undefined symbol ‘_INT_cairo_font_face_get_user_data’
cairo-font-face.c:271: error: ‘EXT_cairo_font_face_set_user_data’ aliased to undefined symbol ‘_INT_cairo_font_face_set_user_data’
make[4]: *** [cairo-font-options.lo] Error 1
make[4]: *** [cairo-font-face.lo] Error 1
make[4]: *** [cairo.lo] Error 1
make[4]: Leaving directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2'
make: *** [/root/blackfin/buildroot/blackfin-buildroot/output/build/cairo-1.10.2/.stamp_built] Error 2

 

Thanks.

Outcomes