Re: Pango linking issue in gtk:



I noticed you are using linaro tools so you'll want to use the linaro
packages for pango.  you want sources for pango that target armhf which
can be found here:

https://releases.linaro.org/13.01/openembedded/sources

On 04/23/2015 06:22 AM, mcreddy wowvision in wrote:

Hi All,

I am trying to build gtk application in arm platform.I am getting pango
linking issue.Please find the fallowing log details.


[shekar localhost gtk+-3.14.9]$ CC=arm-linux-gnueabihf-gcc ./configure
--host=arm-linux-gnueabihf --prefix=/usr/local --with-gdktarget=directfb
--without-xft  --disable-modules
--with-included-loaders=ani,bmp,ico,icns,pcx,png,gif,pnm,ras,tga,wbmp,xbm,xpm
--enable-static=yes --enable-shared=no --without-libtiff
--without-libjpeg --disable-glibtest  --enable-wayland-backend
--cache-file=arm-linux.cache
configure: WARNING: unrecognized options: --with-gdktarget,
--without-xft, --with-included-loaders, --without-libtiff,
--without-libjpeg
configure: loading cache arm-linux.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gnueabihf-gcc accepts -g... yes
checking for arm-linux-gnueabihf-gcc option to accept ISO C89... none
needed
checking whether arm-linux-gnueabihf-gcc understands -c and -o
together... yes
checking for style of include used by make... GNU
checking dependency style of arm-linux-gnueabihf-gcc... gcc3
checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether arm-linux-gnueabihf-gcc and cc understand -c and -o
together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for native Win32... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for arm-linux-gnueabihf-c++... arm-linux-gnueabihf-c++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-gnueabihf-c++ accepts -g... yes
checking dependency style of arm-linux-gnueabihf-c++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by arm-linux-gnueabihf-gcc...
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld

checking if the linker
(/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld)
is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-nm
-B
checking the name lister
(/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-nm
-B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to
arm-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld
option to reload object files... -r
checking for arm-linux-gnueabihf-objdump... arm-linux-gnueabihf-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-gnueabihf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-gnueabihf-ar... arm-linux-gnueabihf-ar
checking for archiver @FILE support... @
checking for arm-linux-gnueabihf-strip... (cached)
arm-linux-gnueabihf-strip
checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib
checking command to parse
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-nm
-B output from arm-linux-gnueabihf-gcc object... ok
checking for sysroot... no
checking for arm-linux-gnueabihf-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-linux-gnueabihf-gcc supports -fno-rtti
-fno-exceptions... no
checking for arm-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-linux-gnueabihf-gcc static flag -static works... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... yes
checking if arm-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-linux-gnueabihf-gcc linker
(/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... arm-linux-gnueabihf-c++ -E
checking for ld used by arm-linux-gnueabihf-c++...
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld

checking if the linker
(/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld)
is GNU ld... yes
checking whether the arm-linux-gnueabihf-c++ linker
(/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld)
supports shared libraries... yes
checking for arm-linux-gnueabihf-c++ option to produce PIC... -fPIC -DPIC
checking if arm-linux-gnueabihf-c++ PIC flag -fPIC -DPIC works... yes
checking if arm-linux-gnueabihf-c++ static flag -static works... yes
checking if arm-linux-gnueabihf-c++ supports -c -o file.o... yes
checking if arm-linux-gnueabihf-c++ supports -c -o file.o... (cached) yes
checking whether the arm-linux-gnueabihf-c++ linker
(/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/arm-linux-gnueabihf/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking dependency style of arm-linux-gnueabihf-gcc... gcc3
checking for arm-linux-gnueabihf-nm...
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-nm
-B
checking for some Win32 platform... no
checking for shm_open in -lrt... yes
checking for posix_fallocate... yes
checking for arm-linux-gnueabihf-pkg-config...
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-pkg-config

checking pkg-config is at least version 0.9.0... yes
checking for wayland-scanner... /usr/bin/wayland-scanner
checking whether build environment is sane... yes
checking for BASE_DEPENDENCIES... yes
checking for CAIRO_BACKEND... yes
checking for GMODULE... yes
checking whether to write dependencies into .pc files... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for lstat... yes
checking for mkstemp... yes
checking for localtime_r... yes
checking for _NL_TIME_FIRST_WEEKDAY... yes
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking for _NL_PAPER_HEIGHT... yes
checking for _NL_PAPER_WIDTH... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  af am an ang ar as ast az
az_IR be be latin bg bn bn_IN br bs ca ca valencia crh cs cy da de dz el
en en_CA en_GB en shaw eo es et eu fa fi fr ga gd gl gu he hi hr hu hy
ia id io is it ja ka kg kk km kn ko ku ky lg li lt lv mai mi mk ml mn mr
ms my nb nds ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq
sr sr ije sr latin sv ta te tg th tk tr tt ug uk ur uz uz cyrillic vi wa
xh yi zh_CN zh_HK zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for HP-UX... no
checking for arm-linux-gnueabihf-pkg-config... (cached)
/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-pkg-config

checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.41.2... yes (version 2.42.2)
checking for pkg-config... /usr/bin/pkg-config
checking build system's pkg-config is at least version 0.16... yes
checking for bind_textdomain_codeset... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking ftw.h usability... yes
checking ftw.h presence... yes
checking for ftw.h... yes
checking for GNU ftw extensions... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking for mallinfo... yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for round in -lm... yes
checking for round... yes
checking for rint... yes
checking for nearbyint... yes
checking whether isnan is declared... yes
checking whether isinf is declared... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking whether to build dynamic modules... no
checking immodules to build...
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for native gdk-pixbuf... yes
checking Pango flags... -pthread
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/pango-1.0
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/glib-2.0
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/lib/glib-2.0/include
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/cairo
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/pixman-1
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/freetype2
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/libpng16
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/harfbuzz
-I/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/include/libxml2
 
-L/home/shekar/ARM/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../arm-linux-gnueabihf/libc/usr/local/lib
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

Thanks for your kind help.

Regards,
shekar

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]