GNOME Bugzilla – Bug 360337
Compilation error with GTK-DFB (gtk+-2.10.6)
Last modified: 2006-12-25 19:45:01 UTC
Following linking error is generated, when I try to compile the code with directfb target Configure command: ./configure --prefix=$PREFIX --with-gdktarget=directfb --without-x Following have also been installed: DirectFB-0.9.25.1 glib-2.12.4 cairo-1.2.4 atk-1.12.3 pango-1.14.4 Link error: ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_filter_func' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_get_id' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_select_plug_window_input' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_filter_func' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_remove_grabbed_key' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_set_focus' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_send_configure_event' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_get_id' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_realize_toplevel' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_notify' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_get_info' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_unmap_toplevel' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_update_active' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_map_toplevel' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_get_focus_wrapped' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_focus' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_end_embedding_toplevel' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_set_focus_wrapped' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_send_key_event' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_realize_window' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_focus_change' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_focus_to_parent' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_size_request' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_add_grabbed_key' ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_update_modality' collect2: ld returned 1 exit status make[4]: *** [gtk-query-immodules-2.0] Error 1 make[4]: Leaving directory `/home/yg/gtk/gtk+-2.10.6/gtk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/yg/gtk/gtk+-2.10.6/gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/yg/gtk/gtk+-2.10.6/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/yg/gtk/gtk+-2.10.6' make: *** [all] Error 2
This is a known bug you need to get a later version.
2.10.6 is the latest version for the moment. Michael, did you mean checking Gtk+ from CVS?
I don't see the fix in CVS either. There is a typo in Makefile.am, and missing *-stub* files in the tarball, as far as I see. Are there any patches available, or should I submit one?
Its fixed in CVS for sure. I just checked. I'd petition the release team to not release before trying sanity builds on all platforms.
Traditionally, GTK+ releases are guaranteed to work on Linux/X11, other backends are at the mercy of their maintainer. I'm not in a position to build and test on Win32, Solaris, or Linux/DirectFB. If it helps, I can send out release warnings a few days before rolling the release, to give you a chance to make directfb compile. Although it would be best if it was just kept in working state in cvs.
I'm still not sure the bug is fixed. I see the typo in the latest revision of gtk/Makefile.am, that has just prevented building Gtk+ on my machine. The patch that helped me, will follow.
Created attachment 74255 [details] [review] Fixes a typo in Makefile.am gtk_use_stub_c_files was typed as gtk_use_stuc_c_files, the patch fixes that.
File: Makefile.am Status: Up-to-date Working revision: 1.321 Its fixed in CVS promise has been for a while.
(In reply to comment #5) > Traditionally, GTK+ releases are guaranteed to work on Linux/X11, other > backends > are at the mercy of their maintainer. I'm not in a position to build and test > on Win32, Solaris, or Linux/DirectFB. > > If it helps, I can send out release warnings a few days before rolling the > release, to give you a chance to make directfb compile. Although it would be > best if it was just kept in working state in cvs. > Better would be more support say from redhat to or somebody to run automated builds of the various ports. I think GTK is important enough to get this type of support. And you forgot OSX :) I agree though an alert message to the build maintainers will solve a lot of problems in the meantime. As far as keeping it building I try I'm just starved for time at the moment.
(In reply to comment #8) > File: Makefile.am Status: Up-to-date > > Working revision: 1.321 > > Its fixed in CVS promise has been for a while. Oops, sorry, now I see the fix. Something's been terribly wrong with my eyes :)
This is fixed, right ?
Yes this is fixed. I am seeing some build errors in the current cvs that I'm working on. Bit busy with other stuff today though :)