I see strange things in my guile-gtk.x file.... I included it in case you might have an idea of the problem, thanks for your help, Marius Vollmer wrote: > Stanislas Pinte writes: > > >>I am trying to compile guile-gtk-1.2-0.31 with guile-1.6, and it fails >>miserably... >>[...] >>In file included from /usr/include/stdio.h:33, >> from guile-gtk.c:18, >> from guile-gtk.c:2621: >>/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h: In function >>`sgtk_init_substrate': >>/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h:170: parse >>error before `typedef' >> > > What is in the file "guile-gtk.x"? I suppose it is broken. That file > is automatically generated during the build, and maybe it is generated > wrongly. > > A good guile-gtk.x would look like this: > > /* cpp arguments: guile-gtk.c -DHAVE_CONFIG_H -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2 */ > sym_gnome_file = scm_permanent_object (scm_str2symbol ( "gnome-file" )) ; > sym_top_repl = scm_permanent_object (scm_str2symbol ( "top-repl" )) ; > sym_quit = scm_permanent_object (scm_str2symbol ( "quit" )) ; > sym_use_modules = scm_permanent_object (scm_str2symbol ( "use-modules" )) ; > sym_gtk = scm_permanent_object (scm_str2symbol ( "gtk" )) ; > sym_repl = scm_permanent_object (scm_str2symbol ( "repl" )) ; > sym_gtk_repl = scm_permanent_object (scm_str2symbol ( "gtk-repl" )) ; > sym_gtk_version = scm_permanent_object (scm_str2symbol ( "gtk-1.2" )) ; > >