I've been following the tutorial and ran into a ton of errors on my first
compile. I'm assuming since i made it this far, that I didn't screw up the
install but this is the first time i've ever messed around with GTK and I am
without a doubt new to all of this. Here is what terminal spit out at me...
$ gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:33,
from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:33,
from /usr/include/gtk-2.0/gdk/gdkcairo.h:24,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from base.c:1:
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: error: syntax error
befor e ‘G_GNUC_NULL_TERMINATED’
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: warning: data
definition has no type or storage class
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: error: syntax error
befor e ‘G_GNUC_NULL_TERMINATED’
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: warning: data
definition has no type or storage class
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: error: syntax error
befor e ‘G_GNUC_NULL_TERMINATED’
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: warning: data
definition has no type or storage class
In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /usr/include/gtk-2.0/gtk/gtkbin.h:32,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtkobject.h:207: error: syntax error before
‘G_GNUC_NUL L_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkobject.h:207: warning: data definition has no
type o r storage class
/usr/include/gtk-2.0/gtk/gtkobject.h:210: error: syntax error before
‘G_GNUC_NUL L_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkobject.h:210: warning: data definition has no
type o r storage class
In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /usr/include/gtk-2.0/gtk/gtkbin.h:32,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtkwidget.h:447: error: syntax error before
‘G_GNUC_NUL L_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkwidget.h:447: warning: data definition has no
type o r storage class
/usr/include/gtk-2.0/gtk/gtkwidget.h:719: error: syntax error before
‘G_GNUC_NUL L_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkwidget.h:719: warning: data definition has no
type o r storage class
In file included from /usr/include/gtk-2.0/gtk/gtkbin.h:32,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtkcontainer.h:174: error: syntax error before
‘G_GNUC_ NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkcontainer.h:174: warning: data definition has no
typ e or storage class
/usr/include/gtk-2.0/gtk/gtkcontainer.h:178: error: syntax error before
‘G_GNUC_ NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkcontainer.h:178: warning: data definition has no
typ e or storage class
/usr/include/gtk-2.0/gtk/gtkcontainer.h:182: error: syntax error before
‘G_GNUC_ NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkcontainer.h:182: warning: data definition has no
typ e or storage class
In file included from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtkdialog.h:141: error: syntax error before
‘G_GNUC_NUL L_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkdialog.h:141: warning: data definition has no
type o r storage class
In file included from /usr/include/gtk-2.0/gtk/gtk.h:32,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:65: error: syntax error before
‘G_GNUC _NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:65: warning: data definition has
no ty pe or storage class
In file included from /usr/include/gtk-2.0/gtk/gtkcelllayout.h:26,
from /usr/include/gtk-2.0/gtk/gtk.h:49,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: error: syntax error before
‘G_ GNUC_NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: warning: data definition
has n o type or storage class
/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: error: syntax error before
‘G_ GNUC_NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: warning: data definition
has n o type or storage class
In file included from /usr/include/gtk-2.0/gtk/gtk.h:49,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtkcelllayout.h:83: error: syntax error before
‘G_GNUC_ NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkcelllayout.h:83: warning: data definition has no
typ e or storage class
In file included from /usr/include/gtk-2.0/gtk/gtkcombobox.h:25,
from /usr/include/gtk-2.0/gtk/gtk.h:65,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtktreeview.h:170: error: syntax error before
‘G_GNUC_N ULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtktreeview.h:170: warning: data definition has no
type or storage class
In file included from /usr/include/gtk-2.0/gtk/gtk.h:82,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: error: syntax error
before ‘ G_GNUC_NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: warning: data definition
has no type or storage class
/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: error: syntax error
before ‘ G_GNUC_NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: warning: data definition
has no type or storage class
In file included from /usr/include/gtk-2.0/gtk/gtk.h:158,
from base.c:1:
/usr/include/gtk-2.0/gtk/gtktextbuffer.h:187: error: syntax error before
‘G_GNUC _NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtktextbuffer.h:187: warning: data definition has
no ty pe or storage class
/usr/include/gtk-2.0/gtk/gtktextbuffer.h:194: error: syntax error before
‘G_GNUC _NULL_TERMINATED’
/usr/include/gtk-2.0/gtk/gtktextbuffer.h:194: warning: data definition has
no ty pe or storage class
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list