List Info

Thread: when i cross compile pango 1.17.0 - i get undefined reference




when i cross compile pango 1.17.0 - i get undefined reference
country flaguser name
India
2007-09-19 06:05:44


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
______________________________________________________________________
Re: when i cross compile pango 1.17.0 - i get undefined reference
user name
2007-09-19 06:53:33
On 9/19/07, Shilpa Singh <Shilpa.Singhlntinfotech.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-listgnome.org
> 
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
>


-- 
Thanks
Prashant
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: when i cross compile pango 1.17.0 - i get undefined reference
user name
2007-09-19 09:27:12
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 < pjz1607gmail.com">pjz1607gmail.com>:
On 9/19/07, Shilpa Singh < Shilpa.Singhlntinfotech.com">Shilpa.Singhlntinfotech.com> wrote:
>;
>
> hai,
>
> I would like to cross compile Pango 1.17.0&nbsp; for an ARM board
>  ;with the toolchain arm-linux.
> I &nbsp;have set all variables like CC,LD,AS,AR,RANLIB,STRIP correctly.
> this is my configure
>
> ./configure &nbsp;--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'
&gt; /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&#39;:
> /home/shilpasingh/pango-1.16.4/pango/opentype/harfbuzz- gpos.c:168: undefined
> reference to `FT_Load_Glyph'
&gt; 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
&gt;
It surely looks like problem in finding freetype library. You have
specified the path correctly
______________________________________________________________________
>
&gt; _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-listgnome.org"> gtk-i18n-listgnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
>


--
Thanks
Prashant
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-listgnome.org">gtk-i18n-listgnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: when i cross compile pango 1.17.0 - i get undefined reference
country flaguser name
Canada
2007-09-19 16:07:42
On Wed, 2007-09-19 at 16:35 +0530, Shilpa Singh 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 

Then don't try to compile Pango 1.17.0!  Get yourself 1.18.2
first.
Most probably this problem is already fixed.  If not, just
remove
harfbuzz-dump from the Makefile... It's not needed.

behdad

> ./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 
>
____________________________________________________________
__________
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-listgnome.org
> 
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase
a little
 Temporary Safety, deserve neither Liberty nor
Safety."
        -- Benjamin Franklin, 1759



_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )