[Linux-programlama] Suse 9.3 uzerinde gtk programlarini derleme sorunu

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Yüksel ÖZCAN (yuksel@linux-sevenler.org)
Date: Tue 12 Jul 2005 - 19:59:37 EEST


Herkese selam,

3 ay gibi bi aradan sonra yeniden projeme donmeye karar verdim. Kendi
projemi derliyemiyorum(muhasebeciyi). Daha da kotusu gtk kullanan hicbir
projeyi derliyemiyorum. Asagidakine benzer G_GNUC_SENTINEL syntax error
hatasi deyip duruyor. Sorunun neden kaynaklandığını bilenler yardım
ederse sevinirim.

Hata mesaji asagidaki gibi;
yuksel@linux:~> cd Projeler/proje1/
yuksel@linux:~/Projeler/proje1> make
make all-recursive
make[1]: Entering directory `/home/yuksel/Projeler/proje1'
Making all in src
make[2]: Entering directory `/home/yuksel/Projeler/proje1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=
\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=
\""/usr/local/share/locale"\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include
-I/usr/X11R6/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -g -O2 -MT main.o -MD -MP -MF
".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
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 main.c:10:
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:163: error:
syntax error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:163: warning:
data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:184: error:
syntax error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:184: warning:
data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:201: error:
syntax error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:201: warning:
data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,

from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:129: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:129: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: warning: data definition
has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,

from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:438: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:438: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: warning: data definition
has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,

from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:177: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:177: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:181: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:181: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:185: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:185: warning: data
definition has no type or storage class
In file included
from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:133: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:133: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:143: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:143: warning: data definition
has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:26,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcombobox.h:25,
                 from /opt/gnome/include/gtk-2.0/gtk/gtk.h:65,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:82,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:158,
                 from main.c:10:
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:189: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:189: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:196: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:196: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:295: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:295: warning: data
definition has no type or storage class

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.