Re: [Java-gnome-developer] build failure
Brought to you by:
afcowie
From: jordan <bo...@on...> - 2001-11-30 13:19:59
|
Thanks.... build successful :) On Friday 30 November 2001 12:27, Jeffrey Morgan wrote: > >gnu/jni/gnu_gtk_GtkWindow.c: In function > > `GtkWindow_get_window_has_focus': > >gnu/jni/gnu_gtk_GtkWindow.c:330: structure has no member named > >`window_has_focus' > >gnu/jni/gnu_gtk_GtkWindow.c: In function > >`GtkWindow_get_window_has_pointer_focus': > >gnu/jni/gnu_gtk_GtkWindow.c:352: structure has no member named > >`window_has_pointer_focus' > >make[2]: *** [gnu/jni/gnu_gtk_GtkWindow.o] Error 1 > >make[2]: Leaving directory `/usr/local/src/java-gnome-0.7.1/src' > >make[1]: *** [gtk] Error 2 > >make[1]: Leaving directory `/usr/local/src/java-gnome-0.7.1/src' > >make: *** [distro] Error 2 This error is being caused because Java-GNOME is trying to create an accessor method to retrieve the value of window_has_pointer_focus and window_has_focus in the _GtkWindow structure. I would guess the version of Gtk that is being used doesn't have this member. You can verify this by looking in the gtk/gtkwindow.h header file at the _GtkWindow structure. You should see "guint window_has_pointer_focus : 1;" This member was removed in the 1.3.X/2.0 version of Gtk. Is it possible that you have this compiled on your system and the bindings are trying to use this version? You can remove the creation of this accessor by modifying the defs/gtk.defs file. You will see the definition of "bool window_has_pointer_focus" in the fields section of the define-object construct for GtkWindow. It is completely safe to remove this line. > A quick update on this situation... > I have just built java-gnome-0.7 straight off. Any ideas? I > am using mandrake > 7.2 and Gnome 1.2 ... ---------------------------------------- Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- |