Re: Cross-compile error - undefined reference to `pangoft2_viewer'



Hi,
      Did you able to solve this problem. I am also getting the same error.
Can u help me ? My email soodhakar gmail com  Thanks  in advance.


Prashant J Zaveri wrote:
> 
> Hello,
>         I am cross-compiling Gtk for ARM Core. I have cross-compiled
> Cairo and glib library.I am using following configure option for Pango
> 
> ./configure CC=arm-linux-gcc --build=i386-linux --host=arm-linux
> --prefix=/home/prashant/rootfs/usr/
> --x-includes=/home/prashant/rootfs/usr/include/
> --x-libraries=/home/prashant/rootfs/usr/lib
> FONTCONFIG_CFLAGS="-I/home/prashant/rootfs/usr/include/"
> FONTCONFIG_LIBS="-L /home/prashant/rootfs/usr/lib/"
> 
> I get following error while using make
> 
> arm-linux-gcc -g -O2 -Wall -o .libs/pango-view viewer-render.o
> viewer-x.o viewer-main.o pango-view.o viewer-pangox.o
> ../pango/.libs/libpango-1.0.so -L/home/prashant/rootfs/usr//lib
> ../pango/.libs/libpangox-1.0.so
> /home/prashant/p1007/app/pango-1.17.5/pango/.libs/libpango-1.0.so -lm
> /home/prashant/rootfs/usr//lib/libgobject-2.0.so
> /home/prashant/rootfs/usr//lib/libgmodule-2.0.so -ldl
> /home/prashant/rootfs/usr//lib/libglib-2.0.so
> -L/home/prashant/rootfs/usr/lib -lX11 -lXau -lXdmcp  -Wl,--rpath
> -Wl,/home/prashant/rootfs/usr//lib
> pango-view.o:(.data+0x0): undefined reference to `pangoft2_viewer'
> collect2: ld returned 1 exit status
> make[3]: *** [pango-view] Error 1
> 
> I found one refrence in gnome which says that I need to install
> freetype development files.
> I have already cross compiled freetype and also installed freetype
> development files on my host system still I am not able to over come
> this issue.
> 
> Am I missing any option ? Do I need to modify my freetype configuration ?
> 
> Thanks
> Prashant
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Cross-compile-error---undefined-reference-to-%60pangoft2_viewer%27-tf4315745.html#a12568006
Sent from the Gtk+ - Internationalization mailing list archive at Nabble.com.



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