Re: when i cross compile pango 1.17.0 - i get undefined reference
- From: "Rahul Bhalerao" <b rahul pm gmail com>
- To: "Prashant J Zaveri" <pjz1607 gmail com>
- Cc: Shilpa Singh <Shilpa Singh lntinfotech com>, gtk-i18n-list gnome org
- Subject: Re: when i cross compile pango 1.17.0 - i get undefined reference
- Date: Wed, 19 Sep 2007 19:57:12 +0530
Yup, you may have to specify the flags for linking with the freetype library.
Following will give you the list of flags:
$ freetype-config --libs
--
Rahul Bhalerao.
2007/9/19, Prashant J Zaveri <
pjz1607 gmail com>:On 9/19/07, Shilpa Singh <
Shilpa Singh lntinfotech com> wrote:
>
>
> hai,
>
> I would like to cross compile Pango 1.17.0 for an ARM board
> with the toolchain arm-linux.
> I have set all variables like CC,LD,AS,AR,RANLIB,STRIP correctly.
> this is my configure
>
> ./configure --host=arm-linux --build=i686-linux --prefix=$PREFIX
> --enable-static=yes --without-x --disable-sdl --disable-win32
> --with-gfxdrivers=none --enable-explicit-deps=yes
>
> This is what I get when I do make.. configuration is happening correctly
> freetype.a is already installed, and path is correct in make file
>
> harfbuzz-dump-main.o: In function `main':
> /pango-1.16.4/pango/opentype/harfbuzz-dump-main.c:225: undefined reference
> to `FT_Init_FreeType'
> /pango-1.16.4/pango/opentype/harfbuzz-
dump-main.c:228: undefined reference
> to `FT_New_Face'
> /pango-1.16.4/pango/opentype/harfbuzz-dump-main.c:264: undefined reference
> to `FT_Done_Face'
> /pango-1.16.4/pango/opentype/harfbuzz-
dump-main.c:267: undefined reference
> to `FT_Done_FreeType'
> ./.libs/libharfbuzz-1.a(harfbuzz-gpos.o): In function `HB_Load_GPOS_Table':
> /home/shilpasingh/pango-1.16.4/pango/opentype/harfbuzz-
gpos.c:168: undefined
> reference to `FT_Load_Glyph'
> collect2: ld returned 1 exit status
> make[4]: *** [harfbuzz-dump] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> can anyone help please
> any help will be greatly appreciated , Thanks in advance
>
It surely looks like problem in finding freetype library. You have
specified the path correctly
______________________________________________________________________
>
> _______________________________________________
> gtk-i18n-list mailing list
>
gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
>
--
Thanks
Prashant
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]