How to dynamically load moduls on Cross-Compiled ARM platform



Hello all,

 

I`m new to this list. I hope that I can get the help I need…

I try to get gtk working on an ARM processor. I`m using following packages:

 

GTK: gtk+-2.10.13

CAIRO: cairo-1.4.14

PANGO: pango-1.16.4

ATK: atk-1.33.6

PIXBUF: gdk-pixbuf-2.22.1

 

I have problems with the dynamical modules of gdk-pixbuf and pango.

If I try gdk-pixbuf-query-loaders on the target platform, I get:

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-ani.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-pnm.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-ras.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xbm.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-ico.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-wbmp.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-pcx.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so

Cannot load loader /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-tga.so

 

But I don`t know why it is not possible to load the modules…

Because of that, I configured gdk-pixbuf with the following options:

--whith-included-loaders –disable-modules

With this configuration, my APP starts on the target, but there is the same problem with pango.

By starting my app, I get:

 

Pango-WARNING **: No builtin or dynamically

loaded modules were found. Pango will not work correctly.

This probably means there was an error in the creation of:

  '/usr/etc/pango/pango.modules'

You should create this file by running pango-querymodules.

 

Pango-WARNING **: pango_shape called with bad font, expect ugly output

 

Pango-WARNING **: pango_font_get_glyph_extents called with null font argument, expect ugly output

 

Pango-WARNING **: _pango_cairo_font_install called with bad font, expect ugly output

 

 

Executing pango-querymodules, I get:

 

# Pango Modules file

# Automatically generated file, do not edit

#

# ModulesPath = /usr/lib/pango/1.6.0/modules

#

/usr/lib/pango/1.6.0/modules/pango-arabic-lang.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-tibetan-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-syriac-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-hangul-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-basic-x.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-arabic-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-khmer-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-indic-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-basic-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-thai-fc.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-indic-lang.so does not export Pango module API

/usr/lib/pango/1.6.0/modules/pango-hebrew-fc.so does not export Pango module API

 

Then I tried configure pango with option:

--with-included-modules

But with this configuration the wrong characters are shown in my app.

All in all I think that it`s not the right way to solve this problems with the configure options.

But at the moment I have no idea how to dynamically load the modules for pixbuf and pango on the target.

 

Any ideas!?

 

Thanks!

Best regards,

Dominik Schröder

 

PS.: Sorry for my horrible English…

 



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