I successfully applied the CVS DirectFB patch against, and compiled, gtk+ 2.2.2. Since I am developing a gtkmm application I next compiled that (vers. 2.2.3) against gtk+. But when I do that I get the following error:
g++ -g -O2 -Wall -o .libs/generate_extra_defs generate_defs_gtk.o -Wl,--export-dynamic ./.libs/libgtkmm_generate_extra_defs-2.0.so -L/usr/local//lib -L/usr/local/lib /usr/local//lib/libsigc-1.2.so /usr/local//lib/libgtk-directfb-2.0.so /usr/local//lib/libgdk-directfb-2.0.so /usr/lib/libatk-1.0.so /usr/local//lib/libgdk_pixbuf-2.0.so -lm /usr/local/lib/libdirectfb.so -lpthread /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/local//lib -Wl,--rpath -Wl,/usr/local/lib generate_defs_gtk.o(.text+0x4f8): In function `main': /home/pgasper/files/DirectFB-cvs-91803/gtkmm-2.2.3/tools/extra_defs_gen/generate_defs_gtk.cc:49: undefined reference to `gtk_socket_get_type' generate_defs_gtk.o(.text+0x61e):/home/pgasper/files/DirectFB-cvs-91803/gtkmm-2.2.3/tools/extra_defs_gen/generate_defs_gtk.cc:49: undefined reference to `gtk_plug_get_type' collect2: ld returned 1 exit status make[3]: *** [generate_extra_defs] Error 1 make[3]: Leaving directory `/home/pgasper/files/DirectFB-cvs-91803/gtkmm-2.2.3/tools/extra_defs_gen' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/pgasper/files/DirectFB-cvs-91803/gtkmm-2.2.3/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/pgasper/files/DirectFB-cvs-91803/gtkmm-2.2.3' make: *** [all] Error 2 I know this is a problem I should be asking the gtkmm folks about (I will), but I suspect the source of the error might be that the DirectFB GDK doesn't support GtkSocket and GtkPlug. Is this correct or is the problem something else? See also: http://www.geocrawler.com/mail/thread.php3?subject=%5Bgtkmm%5D+gtkmm+and+gtk%2B-linux-fb&list=1110 -- Peter Gasper <[EMAIL PROTECTED]> -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
