Problem compiling grip w SuSE 9.1

"Gerhard Hintermayer" <[email protected]>
Newsgroups gmane.comp.multimedia.grip.user
Message-ID <[email protected]>
I did successfully build grip on my other machine, but this here keeps me
busy for hours. I tkink I have all packages installed, also devel. Did
even recompile gtk2, i'm still getting this silly error. Has anybody else
made this experience ? I'm thinkin of deleting gnome and gtk and starting
from scratch, but that would be 1 day of work.

configure says no error.

output of make:

make  all-recursive
make[1]: Entering directory `/usr/src/grip-3.2.0'
Making all in po
make[2]: Entering directory `/usr/src/grip-3.2.0/po'
make[2]: Leaving directory `/usr/src/grip-3.2.0/po'
Making all in src
make[2]: Entering directory `/usr/src/grip-3.2.0/src'
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include
-DGNOME_ICONDIR=\""/usr/local/share/pixmaps"\" -DG_LOG_DOMAIN=\"gr
ip\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I../intl -I../intl
-DPREFIX=\""/usr/local"\" -DSYSCONFDIR=\""/usr/local/
etc"\" -DDATADIR=\""/usr/local/share"\" -DLIBDIR=\""/usr/local/lib"\"   
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr
/include/freetype2/config -I/opt/gnome/include
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-I/opt/gnome/i
nclude/gtk-2.0 -I/opt/gnome/include/pango-1.0
-I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0   -g -O2
-DORBIT2
=1 -pthread -I/usr/include/libart-2.0 -I/usr/include/libxml2
-I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnom
e-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/include/gconf/2 -I/opt/gnome/include/
libbonoboui-2.0 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/orbit-2.0
-I/opt/gnome/i
nclude/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0
-I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/bonobo-ac
tivation-2.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2
-I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/at
k-1.0 -I/usr/X11R6/include -I/usr/include/freetype2/config   -c `test -f
'main.c' || echo './'`main.c
In file included from /opt/gnome/include/glib-2.0/glib/galloca.h:30,
                 from /opt/gnome/include/glib-2.0/glib.h:30,
                 from /opt/gnome/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /opt/gnome/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /opt/gnome/include/gtk-2.0/gdk/gdk.h:30,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
                 from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
                 from main.c:24:
/opt/gnome/include/glib-2.0/glib/gtypes.h:41: error: syntax error before
"typedef"
In file included from /opt/gnome/include/glib-2.0/glib.h:31,
                 from /opt/gnome/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /opt/gnome/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /opt/gnome/include/gtk-2.0/gdk/gdk.h:30,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
                 from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
                 from main.c:24:
/opt/gnome/include/glib-2.0/glib/garray.h:32: error: parse error before
"G_BEGIN_DECLS"
/opt/gnome/include/glib-2.0/glib/garray.h:34: error: syntax error before
"typedef"
In file included from /opt/gnome/include/glib-2.0/glib/gerror.h:24,
                 from /opt/gnome/include/glib-2.0/glib/gthread.h:30,
                 from /opt/gnome/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /opt/gnome/include/glib-2.0/glib.h:32,
                 from /opt/gnome/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /opt/gnome/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /opt/gnome/include/gtk-2.0/gdk/gdk.h:30,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
                 from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
                 from main.c:24:
/opt/gnome/include/glib-2.0/glib/gquark.h:32: error: parse error before
"G_BEGIN_DECLS"
/opt/gnome/include/glib-2.0/glib/gquark.h:34: error: syntax error before
"typedef"
/opt/gnome/include/glib-2.0/glib/gquark.h:41: error: syntax error before
"gchar"
/opt/gnome/include/glib-2.0/glib/gquark.h:41: error: parse error before
"G_GNUC_CONST"
/opt/gnome/include/glib-2.0/glib/gquark.h:41: warning: data definition has
no type or storage class
In file included from /opt/gnome/include/glib-2.0/glib/gthread.h:30,
                 from /opt/gnome/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /opt/gnome/include/glib-2.0/glib.h:32,
                 from /opt/gnome/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /opt/gnome/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /opt/gnome/include/gtk-2.0/gdk/gdk.h:30,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
                 from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
                 from main.c:24:
/opt/gnome/include/glib-2.0/glib/gerror.h:26: error: parse error before
"G_BEGIN_DECLS"
/opt/gnome/include/glib-2.0/glib/gerror.h:28: error: syntax error before
"typedef"
/opt/gnome/include/glib-2.0/glib/gerror.h:40: error: parse error before
"G_GNUC_PRINTF"
/opt/gnome/include/glib-2.0/glib/gerror.h:40: warning: data definition has
no type or storage class
/opt/gnome/include/glib-2.0/glib/gerror.h:60: error: parse error before
"G_GNUC_PRINTF"
/opt/gnome/include/glib-2.0/glib/gerror.h:60: warning: data definition has
no type or storage class

output truncated, lots of error messages ....


-- 
Gerhard Hintermayer




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
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.