|
From: | Jan D. |
Subject: | Re: make: syntax error before "G_GNUC_SENTINEL" |
Date: | Tue, 5 Jul 2005 12:45:00 +0200 |
I just did cvs up and ./configure --with-x-toolkit=gtk without a problem, but make (without and with bootstrap) bailed out with the following errors. I used the same gcc (3.3.5), gtk2 (2.6.4) and make (3.80) (all from SUSE 9.3) as I did with my previous successful build (the one with which I'm posting this) and didn't get these errors then or ever before. Can anyone help?In file included from /opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk- pixbuf.h:33,from /opt/gnome/include/gtk-2.0/gdk/gdkcursor.h:5, from /opt/gnome/include/gtk-2.0/gdk/gdk.h:31, from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31, from xterm.h:46, from dispnew.c:56:/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:163: error: syntax error before "G_GNUC_SENTINEL"
All errors relating to G_GNUC_SENTINEL are at locations where there is a ... in a function prototype. No file in Emacs or Gtk defines G_GNUC_SENTINEL. I suspect this is a Suse problem. If you look at the files at the error location and there is a G_GNUC_SENTINEL there instead of ..., then Suse has modified the include files and G_GNUC_SENTINEL is defined elsewhere.
Did you update your Suse system between Emacs compiles? Try looking for G_GNUC_SENTINEL in the include files at /usr/include, /usr/local/ include, /usr/X11R6/include and possibly /usr/lib/gcc-lib. In the future, do not remove the compile command when sending bug reports with compiler errors (i.e. the actual gcc command that preceeds these errors).
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |