Hi, it would be really useful if we managed to recompile gtk.so against Alastair's libraries. So I tried to get te sources and rebuild the libs: apt-get source libgtk+2.0-directfb0-udeb cd gtk+2.0-directfb-2.0.9.2 fakeroot dpkg-buildpackage but unfortunately compilation fails: .... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk-DirectFB\" -I../.. -I../../gdk -I../../gdk +-DG_DISABLE_CAST_CHECKS -pthread -D_REENTRANT -D_GNU_SOURCE -I/usr/include/glib-2.0 +-I/usr/lib/glib-2.0/include -I/usr/include/directfb -I/usr/include/pango-1.0 -I/usr/include/freetype2 +-I/usr/include/freetype2 -DNDEBUG=1 -fomit-frame-pointer -Os -Wall -Wp,-MD,.deps/gdkdnd-directfb.pp -c +gdkdnd-directfb.c -fPIC -DPIC -o gdkdnd-directfb.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk-DirectFB\" +-I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -pthread -D_REENTRANT -D_GNU_SOURCE +-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/directfb -I/usr/include/pango-1.0 +-I/usr/include/freetype2 -I/usr/include/freetype2 -DNDEBUG=1 -fomit-frame-pointer -Os -Wall -c +gdkdrawable-directfb.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk-DirectFB\" -I../.. -I../../gdk -I../../gdk +-DG_DISABLE_CAST_CHECKS -pthread -D_REENTRANT -D_GNU_SOURCE -I/usr/include/glib-2.0 +-I/usr/lib/glib-2.0/include -I/usr/include/directfb -I/usr/include/pango-1.0 -I/usr/include/freetype2 +-I/usr/include/freetype2 -DNDEBUG=1 -fomit-frame-pointer -Os -Wall -Wp,-MD,.deps/gdkdrawable-directfb.pp -c +gdkdrawable-directfb.c -fPIC -DPIC -o gdkdrawable-directfb.lo gdkdrawable-directfb.c: In function 'gdk_drawable_impl_directfb_class_init': gdkdrawable-directfb.c:1185: error: 'DFBCardCapabilities' undeclared (first use in this function) gdkdrawable-directfb.c:1185: error: (Each undeclared identifier is reported only once gdkdrawable-directfb.c:1185: error: for each function it appears in.) gdkdrawable-directfb.c:1185: error: syntax error before 'caps' gdkdrawable-directfb.c:1186: error: 'struct _IDirectFB' has no member named 'GetCardCapabilities' gdkdrawable-directfb.c:1186: error: 'caps' undeclared (first use in this function) make[4]: *** [gdkdrawable-directfb.lo] Error 1 make[4]: Leaving directory +`/home/zino/prova/gtk+2.0-directfb-2.0.9.2/build-tree/gtk+-directfb-2.0.9-2/gdk/directfb' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/zino/prova/gtk+2.0-directfb-2.0.9.2/build-tree/gtk+-directfb-2.0.9-2/gdk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/zino/prova/gtk+2.0-directfb-2.0.9.2/build-tree/gtk+-directfb-2.0.9-2' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/home/zino/prova/gtk+2.0-directfb-2.0.9.2/build-tree/gtk+-directfb-2.0.9-2' make: *** [stampdir/build-stamp] Error 2 I hope it's just me doin' something terribly wrong! ciao Davide
Attachment:
signature.asc
Description: Digital signature