After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 360337 - Compilation error with GTK-DFB (gtk+-2.10.6)
Compilation error with GTK-DFB (gtk+-2.10.6)
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: [obsolete] Backend: directfb
2.10.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
Michael Emmel
Depends on:
Blocks:
 
 
Reported: 2006-10-07 08:23 UTC by Varadaraj
Modified: 2006-12-25 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes a typo in Makefile.am (600 bytes, patch)
2006-10-07 22:51 UTC, Alexey Rusakov
none Details | Review

Description Varadaraj 2006-10-07 08:23:53 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
Comment 1 Michael Emmel 2006-10-07 14:44:42 UTC
This is a known bug you need to get a later version.
Comment 2 Alexey Rusakov 2006-10-07 22:09:35 UTC
2.10.6 is the latest version for the moment. Michael, did you mean checking Gtk+ from CVS?
Comment 3 Alexey Rusakov 2006-10-07 22:28:22 UTC
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?
Comment 4 Michael Emmel 2006-10-07 22:33:38 UTC
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.
Comment 5 Matthias Clasen 2006-10-07 22:45:28 UTC
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.
Comment 6 Alexey Rusakov 2006-10-07 22:48:54 UTC
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.
Comment 7 Alexey Rusakov 2006-10-07 22:51:52 UTC
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.
Comment 8 Michael Emmel 2006-10-08 00:20:26 UTC
File: Makefile.am       Status: Up-to-date

   Working revision:    1.321

Its fixed in CVS promise has been for a while.
Comment 9 Michael Emmel 2006-10-08 00:26:21 UTC
(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.

Comment 10 Alexey Rusakov 2006-10-08 07:28:13 UTC
(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 :)
Comment 11 Matthias Clasen 2006-12-24 22:56:27 UTC
This is fixed, right ?
Comment 12 Michael Emmel 2006-12-25 19:45:01 UTC
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 :)