Can't link to Pango. Pango is required to build
- From: "tanweer alam" <tanalam gmail com>
- To: gtk-list gnome org
- Subject: Can't link to Pango. Pango is required to build
- Date: Fri, 4 Jan 2008 16:08:21 +0530
Hi all,
I am newbie to gtk.
I am trying to cross compile gtk+ for arm-9 based platform.
I cross compiled atk, cairo, pango with related dependies succesfully
When I am trying to cross-compile gtk+ I am getting the following error.
***Can't link to Pango. Pango is required to build**I am using the following config option
../gtk+-2.10.0/configure --build=i386-linux --host=arm-linux --target=arm-linux --prefix=/opt/gtk/ --enable-x11=no --enable-osx=no --enable-vnc=no --enable-png=yes --enable-gif=no --enable-freetype=yes --enable-video4linux=no --with-gfxdrivers=none --enable-shared=yes --with-x=no --with-freetype=yes --without-libtiff --without-x --with-gdktarget=directfb
I have the following logs in the config.log file related to the error.
.
configure:30731: checking Pango flags
configure:30737: result: -I/opt/gtk//include/pango-1.0 -I/opt/gtk//include/glib-
2.0 -I/opt/gtk//lib/glib-2.0/include -I/opt/gtk//include/cairo -L/opt/gtk//lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lintl
configure:30781: arm-linux-gcc -o conftest -g -O2 -Wall -I/opt/gtk//include/pango-
1.0 -I/opt/gtk//include/glib-2.0 -I/opt/gtk//lib/glib-2.0/include -I/opt/gtk//include/cairo -L/opt/gtk/lib conftest.c -L/opt/gtk//lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lintl >&5
/mnt/hda1/local/z-proj-softfloat/bin/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uclibc/bin/ld: warning: libpangoft2-1.0.so.0, needed by /opt/gtk/lib/libpangocairo-
1.0.so, not found (try using -rpath or -rpath-link)
/mnt/hda1/local/z-proj-softfloat/bin/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uclibc/bin/ld: warning: libfontconfig.so.1, needed by /opt/gtk/lib/libpangocairo-
1.0.so, not found (try using -rpath or -rpath-link)
/opt/gtk/lib/libcairo.so: undefined reference to `png_get_IHDR PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_destroy_write_struct PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternAddInteger'
/opt/gtk/lib/libcairo.so: undefined reference to `png_write_end PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_tRNS_to_alpha PNG12_0'
/opt/gtk/lib/libpangocairo-
1.0.so: undefined reference to `pango_fc_font_map_cache_clear'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternAddBool'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_write_fn PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternGetBool'
/opt/gtk/lib/libcairo.so: undefined reference to `png_destroy_read_struct PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_create_read_struct PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_palette_to_rgb PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_read_fn PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_bKGD PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_filler PNG12_0'
/opt/gtk/lib/libpangocairo-
1.0.so: undefined reference to `pango_fc_font_create_metrics_for_context'
/opt/gtk/lib/libcairo.so: undefined reference to `png_read_image PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_interlace_handling PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_get_io_ptr PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_error PNG12_0'
/opt/gtk/lib/libpangocairo-
1.0.so: undefined reference to `pango_fc_font_map_get_type'
/opt/gtk/lib/libpangocairo-
1.0.so: undefined reference to `FcPatternGetDouble'
/opt/gtk/lib/libcairo.so: undefined reference to `png_read_end PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_read_info PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_read_update_info PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_create_write_struct PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternGetString'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternGetInteger'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_IHDR PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternCreate'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternAddString'
/opt/gtk/lib/libcairo.so: undefined reference to `png_get_valid PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_packing PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternDel'
/opt/gtk/lib/libpangocairo-
1.0.so: undefined reference to `pango_fc_font_get_type'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternGet'
/opt/gtk/lib/libcairo.so: undefined reference to `png_create_info_struct PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_convert_from_time_t PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_gray_to_rgb PNG12_0'
/opt/gtk/lib/libpangocairo-
1.0.so: undefined reference to `FcConfigSubstitute'
/opt/gtk/lib/libcairo.so: undefined reference to `FcPatternDestroy'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_expand_gray_1_2_4_to_8 PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_write_info PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_write_image PNG12_0'
/opt/gtk/lib/libpangocairo-
1.0.so
: undefined reference to `FcPatternGetMatrix'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_read_user_transform_fn PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `FcFontMatch'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_tIME PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_write_user_transform_fn PNG12_0'
/opt/gtk/lib/libcairo.so: undefined reference to `png_set_strip_16 PNG12_0'
/opt/gtk/lib/libpangocairo-
1.0.so: undefined reference to `FcDefaultSubstitute'
collect2: ld returned 1 exit status
configure:30787: $? = 1
configure: failed program was:
.
.
I have installed all the related dependencies in /opt/gtk/ folder and have set the environment variable
PKG_CONFIG_PATH, to app values as mentioned in the installation guide of gtk+
TIA
--
With Regards
Tanweer Alam
Cell phone: +91 9871208040
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e of a
/____/_/_//_/_,_/ /_/_\ G N U g e n e r a t i o n.
A world without walls needs neither windows nor gates
****************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]