guile-gtk-2.1 with Gtk 2.4.x

Paul Emsley <[email protected]>
Newsgroups gmane.lisp.guile.gtk
Message-ID <[email protected]>
FC3 has Gtk 2.4.14.  Is guile-gtk-2.1 supposed to work there?
It configures OK.  But on make, we get:

 gcc -DHAVE_CONFIG_H -I. -I. -I. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-I/y/people/emsley/autobuild/Linux-bunyip.chem.york.ac.uk-pre-release-gtk2/include
-pthread
-I/y/people/emsley/autobuild/Linux-bunyip.chem.york.ac.uk-pre-release-gtk2/include
-pthread -g -O2 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -c guile-gtk.c  -fPIC -DPIC -o .libs/guile-gtk.o
In file included from guile-gtk.c:35:
guile-gtk.h:213: error: syntax error before '*' token
guile-gtk.c: In function `sgtk_maybe_find_type_info':
guile-gtk.c:452: warning: assignment discards qualifiers from pointer target type
guile-gtk.c: At top level:
guile-gtk.c:2476: error: syntax error before '*' token
guile-gtk.c: In function `sgtk_about_dialog_activate_link_marshal':
guile-gtk.c:2486: error: `about' undeclared (first use in this function)
guile-gtk.c:2486: error: (Each undeclared identifier is reported only once
guile-gtk.c:2486: error: for each function it appears in.)
guile-gtk.c:2494: error: `data' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_find_object_info_from_type':
guile-gtk.c:2689: warning: passing arg 1 of `sgtk_find_object_info' discards
qualifiers from pointer target typemake[2]: *** [guile-gtk.lo] Error 1
make[2]: Leaving directory `/y/people/emsley/compile/guile-gtk-2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/y/people/emsley/compile/guile-gtk-2.1'
make: *** [all] Error 2


IMHO, it should either compile correctly or fail a gtk version test
in configure.

Paul.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.