Hi, You still need to compile zlib, libpng, cairo and then pango, in that order (libjpeg, libtiff and some others are optional).
For a detail info of how to compile GTK on DFB in an embedded environment you can can have a look at: http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded_Systems Pedro Aguilar > > > Hi all: > > I want to cross compile gtk2.6.10 on linux-fb. > > I successfully compiled the follow libs: > > glib-2.6.6, libxml2.6.20,freetype2.1.10, fontconfig2.3.94, > atk-1.10.3. > > and I'm sure they are installed in correct directory. > > > > But when i config the gtk2.6.10, the error is: > > checking Pango flags... -I/usr/gtkcross/install//include/pango-1.0 > -I/usr/gtkcross/install//include > -I/usr/gtkcross/install//include/freetype2 > -I/usr/gtkcross/install//include/glib-2.0 > -I/usr/gtkcross/install//lib/glib-2.0/include > -L/usr/gtkcross/install//lib > -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > > configure: error: > > *** Can't link to Pango. Pango is required to build > > *** GTK+. For more information see http://www.pango.org. > > > > in config.log, the error is: > > ...... > > configure:31456: arm-unknown-linux-gnu-gcc -o conftest -g -O2 -Wall > -I/usr/gtkcross/install//include/freetype2 > -I/usr/gtkcross/install//include > -I/usr/gtkcross/install//include/pango-1.0 > -I/usr/gtkcross/install//include > -I/usr/gtkcross/install//include/freetype2 > -I/usr/gtkcross/install//include/glib-2.0 > -I/usr/gtkcross/install//lib/glib-2.0/include conftest.c > -L/usr/gtkcross/install//lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 > -lgmodule-2.0 -ldl -lglib-2.0 >&5 > > /usr/arm/lib/gcc/arm-unknown-linux-gnu/3.4.4/../../../../arm-unknown-linux-g > nu/bin/ld: warning: libfontconfig.so.1, needed by > /usr/gtkcross/install//lib/libpangoft2-1.0.so, not found (try using -rpath > or -rpath-link) > > /usr/arm/lib/gcc/arm-unknown-linux-gnu/3.4.4/../../../../arm-unknown-linux-g > nu/bin/ld: warning: libfreetype.so.6, needed by > /usr/gtkcross/install//lib/libpangoft2-1.0.so, not found (try using -rpath > or -rpath-link) > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FcObjectSetBuild' > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FT_Init_FreeType' > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FcPatternGetBool' > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FT_Load_Glyph' > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FT_Done_Face' > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FcObjectSetDestroy' > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FT_Render_Glyph' > > /usr/gtkcross/install//lib/libpangoft2-1.0.so: undefined reference to > `FcPatternDuplicate' > > ... > > ... > > | /* Override any gcc2 internal prototype to avoid an error. */ > > | #ifdef __cplusplus > > | extern "C" > > | #endif > > | /* We use char because int might match the return type of a gcc2 > > | builtin and then its argument prototype would still apply. */ > > | char pango_context_new (); > > | int > > | main () > > | { > > | pango_context_new (); > > | ; > > | return 0; > > | } > > configure:31484: error: > > *** Can't link to Pango. Pango is required to build > > *** GTK+. For more information see http://www.pango.org > > > > Also: I have tried compile these libraries using normal gcc(not cross > compilation), It's successfull. > > > > Thank you! > > > > > > _______________________________________________ > directfb-dev mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
