• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Problem beim Kompilieren von GTK-basierenden Programmen

ricospeer

Newbie
Hallo Forum

seitdem ich Suse 9.3 mit GTK 2.6.4-6 einsetze habe ich ständig die gleichen
Probleme GTK-Programme zu kompilieren.

Mit Suse 9.2 und kleiner funktionierte immer alles prima.

Vielleicht hat ja jemand eine Lösung.

Vielen Dank
Rico


Als Bsp hier mal der output von airsnort 0.2.7

###########################################
->configure (scheint Ok zu sein)
###########################################
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.0... yes
checking PACKAGE_CFLAGS... -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
checking PACKAGE_LIBS... -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands

###########################################
->make
###########################################


make
make all-recursive
make[1]: Entering directory `/home/rico/airsnort-0.2.7e'
Making all in src
make[2]: Entering directory `/home/rico/airsnort-0.2.7e/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_LOCALE_DIR=\""/usr/local//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
make[2]: *** [main.o] Fehler 1
make[2]: Leaving directory `/home/rico/airsnort-0.2.7e/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/rico/airsnort-0.2.7e'
make: *** [all] Fehler 2
 

oc2pus

Ultimate Guru
prüfe einmal, welche glib2 und gtk2 Version du verwendest.
Es gibt da ein Problem wenn glib2 und gtk2 sich in der Majorversion unterscheiden.

rpm -qa | grep gtk2
rpm -qa | grep glib2
sollten beide entweder 2.7.x oder 2.6.x sein.

Wenn du dort eine Differenz hast, musst du dich entscheiden ob du beide auf 2.6 downgradest oder beide auf 2.7 hochziehst.
 
OP
R

ricospeer

Newbie
oc2pus schrieb:
prüfe einmal, welche glib2 und gtk2 Version du verwendest.
Es gibt da ein Problem wenn glib2 und gtk2 sich in der Majorversion unterscheiden.

Danke, dass wars. GTK war in Version 2.7 auf meinem System. Habe es auf 2.6 gedowngraded.

Gruss
Rico
 

Drop

Newbie
Hallo.

Ich bekomme bei dem Versuch ein GTK-Beispielprogramm mit gcc zu kompilieren auch jede Menge Fehler, welche denen von ricospeer ähnlich sehen.
Nur meckert der bei mir an deutlich mehr gtk*.h Dateien rum... :(

hab auch mal meine Versionen geprüft und die sind
gtk2/gtk2-devel 2.8.7-3
glib2/glib2-devel 2.8.4-3

:?:
 
Drop schrieb:
Ich bekomme bei dem Versuch ein GTK-Beispielprogramm mit gcc zu kompilieren auch jede Menge Fehler, welche denen von ricospeer ähnlich sehen.
"Ähnlich sehen" reicht nicht. Könntest Du bitte ein konkretes Beispiel wörtlich kopieren? Bitte möglichst komplett, also inklusive Compileraufruf am Anfang.
 

Drop

Newbie
Okay, hier das Porgramm:
Code:
#include <gtk/gtk.h>

int main( int argc, char *argv[] )
{
    GtkWidget *window;
    gtk_init( &argc, &argv );
    window = gtk_window_new( GTK_WINDOW_TOPLEVEL);
    gtk_widget_show( window );
    gtk_main();
    return 0;
}

Ich rufe es auf mit
gcc -I ../../../opt/gnome/include/gtk-2.0 window.c -o window `gtk-config --cflags --libs`
aus meinem src-Verzeichnis, welches sich im home Verzeichnis befindet.
Die Parameter hab ich alle aus dem Tutorial kopiert, nur die -I Parameter sind von mir (hat da evtl. mal eben jmd. nen Befehl, wie ich den include Ordner zu den defaults hinzufüge? ), evtl liegts ja an denen...

Als Ausgabe bekomme ich unter anderem so einen Schmu (Auszug):

../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:83: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:84: error: syntax error before "editable"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:116: error: `width' redeclared as different kind of symbol
../../../opt/gnome/include/gtk-2.0/gtk/gtklayout.h:57: error: previous declaration of `width'
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:117: error: `height' redeclared as different kind of symbol
../../../opt/gnome/include/gtk-2.0/gtk/gtkoptionmenu.h:58: error: previous declaration of `height'
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:135: error: syntax error before "blink_timeout"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:135: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:137: error: syntax error before "first_validate_idle"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:137: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:138: error: syntax error before "incremental_validate_idle"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:138: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:146: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:146: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:151: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:155: error: field `parent_class' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:185: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:213: error: syntax error before "gtk_text_view_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:213: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:213: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:221: error: syntax error before "gdouble"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:224: error: `gtk_text_view_scroll_to_iter' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:227: error: syntax error before "gdouble"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:234: error: `gtk_text_view_move_mark_onscreen' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:235: error: `gtk_text_view_place_cursor_onscreen' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:241: error: `gtk_text_view_get_cursor_visible' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:287: error: `gtk_text_view_get_border_window_size' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:290: error: `gtk_text_view_forward_display_line' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:292: error: `gtk_text_view_backward_display_line' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:294: error: `gtk_text_view_forward_display_line_end' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:296: error: `gtk_text_view_backward_display_line_start' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:298: error: `gtk_text_view_starts_display_line' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:301: error: `gtk_text_view_move_visually' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:328: error: `gtk_text_view_get_editable' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:331: error: `gtk_text_view_get_overwrite' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:334: error: `gtk_text_view_get_accepts_tab' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:337: error: `gtk_text_view_get_pixels_above_lines' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:340: error: `gtk_text_view_get_pixels_below_lines' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:343: error: `gtk_text_view_get_pixels_inside_wrap' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:349: error: `gtk_text_view_get_left_margin' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:352: error: `gtk_text_view_get_right_margin' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:355: error: `gtk_text_view_get_indent' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:357: error: syntax error before "PangoTabArray"
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:358: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktextview.h:358: warning: data definition has no type or storage class
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:160,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:39: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:51: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:58: error: field `label' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:60: error: syntax error before "guint"
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:60: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:62: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:63: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:63: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:69: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:79: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:83: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:85: error: `widget_selected' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:96: error: syntax error before "gtk_tips_query_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:96: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:96: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktipsquery.h:103: error: syntax error before '*' token
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:164,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:50: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:60: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:93: error: field `container' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:96: error: field `num_children' declared as a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:97: error: syntax error before "GList"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:97: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:99: error: conflicting types for `style'
../../../opt/gnome/include/gtk-2.0/gtk/gtkclist.h:424: error: previous declaration of `style'
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:108: error: syntax error before "style_set_connection"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:108: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:109: error: syntax error before "icon_size_connection"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:109: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:111: error: syntax error before "style_set"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:117: error: field `parent_class' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:127: error: `popup_context_menu' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:135: error: syntax error before "gtk_toolbar_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:135: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:135: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:141: error: `gtk_toolbar_get_item_index' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:142: error: `gtk_toolbar_get_n_items' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:145: error: `gtk_toolbar_get_show_arrow' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:151: error: `gtk_toolbar_get_tooltips' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:162: error: `gtk_toolbar_get_drop_index' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:168: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:168: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:168: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:173: error: `_gtk_toolbar_get_default_space_size' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:190: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:197: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:204: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:209: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:232: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:242: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktoolbar.h:252: error: syntax error before "gpointer"
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:170,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:26: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:33: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:38: error: syntax error before "GTypeInterface"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:38: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:43: error: `row_draggable' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:47: error: `drag_data_get' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:47: error: conflicting types for `drag_data_get'
../../../opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:360: error: previous declaration of `drag_data_get'
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:50: error: `drag_data_delete' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:50: error: conflicting types for `drag_data_delete'
../../../opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:362: error: previous declaration of `drag_data_delete'
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:51: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:53: error: syntax error before "gtk_tree_drag_source_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:53: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:53: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:57: error: `gtk_tree_drag_source_row_draggable' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:61: error: `gtk_tree_drag_source_drag_data_delete' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:68: error: `gtk_tree_drag_source_drag_data_get' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:80: error: syntax error before "GTypeInterface"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:80: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:86: error: `drag_data_received' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:86: error: conflicting types for `drag_data_received'
../../../opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:384: error: previous declaration of `drag_data_received'
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:90: error: `row_drop_possible' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:91: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:93: error: syntax error before "gtk_tree_drag_dest_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:93: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:93: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:100: error: `gtk_tree_drag_dest_drag_data_received' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:106: error: `gtk_tree_drag_dest_row_drop_possible' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:114: error: `gtk_tree_set_row_drag_data' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreednd.h:117: error: `gtk_tree_get_row_drag_data' declared as function returning a function
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:174,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:26: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:35: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:40: error: syntax error before "GObject"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:40: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:43: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:45: error: syntax error before "child_flags"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:45: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:50: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:50: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:55: error: syntax error before "default_sort_func"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:55: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:56: error: syntax error before "default_sort_data"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:56: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:60: error: syntax error before "changed_id"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:60: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:61: error: syntax error before "inserted_id"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:61: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:62: error: syntax error before "has_child_toggled_id"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:62: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:63: error: syntax error before "deleted_id"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:63: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:64: error: syntax error before "reordered_id"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:64: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:69: error: syntax error before "GObjectClass"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:69: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:76: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:79: error: syntax error before "gtk_tree_model_sort_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:79: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:79: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreemodelsort.h:96: error: `gtk_tree_model_sort_iter_is_valid' declared as function returning a function
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:175,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:23:25: glib-object.h: Datei oder Verzeichnis nicht gefunden
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:175,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:27: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:37: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:41: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:41: error: `GtkTreeSelectionFunc' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:45: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:49: error: syntax error before "GObject"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:49: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:56: error: syntax error before "user_data"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:56: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:58: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:62: error: syntax error before "GObjectClass"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:62: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:64: error: conflicting types for `changed'
../../../opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:99: error: previous declaration of `changed'
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:71: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:74: error: syntax error before "gtk_tree_selection_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:74: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:74: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:81: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:83: error: syntax error before "gtk_tree_selection_get_user_data"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:83: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:90: error: `gtk_tree_selection_get_selected' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:91: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:92: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:93: error: `gtk_tree_selection_count_selected_rows' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:96: error: syntax error before "gpointer"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:106: error: `gtk_tree_selection_path_is_selected' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreeselection.h:108: error: `gtk_tree_selection_iter_is_selected' declared as function returning a function
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:25,
from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:176,
from window.c:2:
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/include/stdarg.h:105: error: syntax error before "typedef"
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:176,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:38: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:43: error: syntax error before "GObject"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:43: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:46: error: syntax error before "root"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:46: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:47: error: syntax error before "last"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:47: error: `last' redeclared as different kind of symbol
../../../opt/gnome/include/gtk-2.0/gtk/gtkcurve.h:71: error: previous declaration of `last'
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:47: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:50: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:50: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:52: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:52: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:53: error: syntax error before "default_sort_func"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:53: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:54: error: syntax error before "default_sort_data"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:54: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:56: error: syntax error before "columns_dirty"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:61: error: syntax error before "GObjectClass"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:61: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:68: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:71: error: syntax error before "gtk_tree_store_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:71: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:71: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:75: error: syntax error before "GType"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:78: error: syntax error before "GType"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:85: error: syntax error before "GValue"
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:93: error: `gtk_tree_store_remove' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:114: error: `gtk_tree_store_is_ancestor' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:116: error: `gtk_tree_store_iter_depth' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtktreestore.h:119: error: `gtk_tree_store_iter_is_valid' declared as function returning a function
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:180,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:34:18: glib.h: Datei oder Verzeichnis nicht gefunden
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:35:25: glib-object.h: Datei oder Verzeichnis nicht gefunden
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:180,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:41: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:50: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:56: error: syntax error before "GObject"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:56: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:60: error: conflicting types for `private_data'
../../../opt/gnome/include/gtk-2.0/gtk/gtkactiongroup.h:58: error: previous declaration of `private_data'
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:61: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:64: error: syntax error before "GObjectClass"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:64: warning: no semicolon at end of struct or union
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:72: error: conflicting types for `connect_proxy'
../../../opt/gnome/include/gtk-2.0/gtk/gtkaction.h:72: error: previous declaration of `connect_proxy'
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:75: error: conflicting types for `disconnect_proxy'
../../../opt/gnome/include/gtk-2.0/gtk/gtkaction.h:74: error: previous declaration of `disconnect_proxy'
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:83: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:85: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:90: error: syntax error before '}' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:110: error: syntax error before "gtk_ui_manager_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:110: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:110: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:114: error: `gtk_ui_manager_get_add_tearoffs' declared as function returning a function
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:120: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:120: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:123: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:124: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:125: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:127: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:128: error: syntax error before "gtk_ui_manager_add_ui_from_string"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:129: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:131: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:132: error: syntax error before "gtk_ui_manager_add_ui_from_file"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:133: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:134: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:136: error: syntax error before "guint"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:143: error: syntax error before "guint"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:144: error: syntax error before '*' token
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:144: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:146: error: syntax error before "gtk_ui_manager_new_merge_id"
../../../opt/gnome/include/gtk-2.0/gtk/gtkuimanager.h:146: warning: data definition has no type or storage class
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:181,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtkvbbox.h:34: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvbbox.h:45: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvbbox.h:50: error: field `button_box' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtkvbbox.h:59: error: syntax error before "gtk_vbutton_box_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvbbox.h:59: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvbbox.h:59: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkvbbox.h:65: error: `gtk_vbutton_box_get_spacing_default' declared as function returning a function
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:185,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtkvpaned.h:33: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvpaned.h:44: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvpaned.h:49: error: field `paned' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtkvpaned.h:57: error: syntax error before "gtk_vpaned_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvpaned.h:57: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvpaned.h:57: warning: data definition has no type or storage class
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:186,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtkvruler.h:45: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvruler.h:56: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvruler.h:61: error: field `ruler' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtkvruler.h:70: error: syntax error before "gtk_vruler_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvruler.h:70: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvruler.h:70: warning: data definition has no type or storage class
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:187,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:35: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:46: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:51: error: field `scale' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:56: error: field `parent_class' has incomplete type
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:60: error: syntax error before "gtk_vscale_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:60: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:60: warning: data definition has no type or storage class
../../../opt/gnome/include/gtk-2.0/gtk/gtkvscale.h:62: error: syntax error before "min"
In file included from ../../../opt/gnome/include/gtk-2.0/gtk/gtk.h:189,
from window.c:2:
../../../opt/gnome/include/gtk-2.0/gtk/gtkvseparator.h:35: error: syntax error before "G_BEGIN_DECLS"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvseparator.h:46: error: syntax error before "typedef"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvseparator.h:60: error: syntax error before "gtk_vseparator_get_type"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvseparator.h:60: error: syntax error before "G_GNUC_CONST"
../../../opt/gnome/include/gtk-2.0/gtk/gtkvseparator.h:60: warning: data definition has no type or storage class
window.c:4: error: syntax error before "int"
../../../opt/gnome/include/gtk-2.0/gtk/gtkclist.h:329: error: storage size of `area' isn't known
../../../opt/gnome/include/gtk-2.0/gdk/gdkwindow.h:268: error: storage size of `bg_color' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkrc.h:67: error: storage size of `fg' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkrc.h:68: error: storage size of `bg' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkstyle.h:77: error: storage size of `light' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkstyle.h:78: error: storage size of `dark' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkstyle.h:79: error: storage size of `mid' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkrc.h:70: error: storage size of `base' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkstyle.h:82: error: storage size of `text_aa' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkstyle.h:84: error: storage size of `black' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkstyle.h:85: error: storage size of `white' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtksizegroup.h:51: error: storage size of `requisition' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkframe.h:58: error: storage size of `child_allocation' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkaspectframe.h:57: error: storage size of `center_allocation' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkcalendar.h:80: error: storage size of `marked_date_color' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkrange.h:83: error: storage size of `range_rect' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkclist.h:162: error: storage size of `internal_allocation' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkclist.h:172: error: storage size of `column_title_area' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkhandlebox.h:73: error: storage size of `attach_allocation' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkhandlebox.h:74: error: storage size of `float_allocation' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtkruler.h:104: error: storage size of `subdivide' isn't known
../../../opt/gnome/include/gtk-2.0/gtk/gtktexttag.h:212: error: storage size of `appearance' isn't known
 

}-Tux-{

Hacker
Hi

kompiliere das programm so:
gcc window.c -o window `gtk-config --cflags --libs`

Falls es nicht klappt poste die erneute Fehlermeldung und die ausgabe von rpm -q glib2 gtk2


Cheers }-Tux-{
 

Drop

Newbie
Hi
rpm -q glib2 gtk2 gibt

glib2-2.8.4-3
gtk2-2.8.7-3

"gcc window.c -o window `gtk-config --cflags --libs`" hab ich auch schon verucht aber dann findet der ja noch nicht mal die gtk.h
(deswegen hab ich ja mit -I versucht anzugeben, wo sich die GTK-Includes befinden)

Ausgabe jetze:

bash: gtk-config: command not found
window.c:2:21: gtk/gtk.h: Datei oder Verzeichnis nicht gefunden
window.c: In function `main':
window.c:6: error: `GtkWidget' undeclared (first use in this function)
window.c:6: error: (Each undeclared identifier is reported only once
window.c:6: error: for each function it appears in.)
window.c:6: error: `window' undeclared (first use in this function)
window.c:8: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
 

Drop

Newbie
"rpm -qa | grep gtk" gibt:

gtkmm2-2.2.12-6.1
libgtkhtml-2.6.3-4.1
gtkpod-0.88.1-3.1
gtk-1.2.10-885.1
python-gtk-2.5.3-3.1
gtk-devel-1.2.10-893
gtk-gnutella-0.95-3
gtk-qt-engine-0.6cvs20050229-4.1
gtk2-2.8.7-3
gtk2-devel-2.8.7-3

funzt aber immernoch nicht
 

}-Tux-{

Hacker
Drop schrieb:
"rpm -qa | grep gtk" gibt:

gtkmm2-2.2.12-6.1
libgtkhtml-2.6.3-4.1
gtkpod-0.88.1-3.1
gtk-1.2.10-885.1
python-gtk-2.5.3-3.1
gtk-devel-1.2.10-893
gtk-gnutella-0.95-3
gtk-qt-engine-0.6cvs20050229-4.1
gtk2-2.8.7-3
gtk2-devel-2.8.7-3

funzt aber immernoch nicht
immernoch dieselbe fehlermeldung? ansonsten gibt mal den kompletten pfad beim gtk-config aufruf mit an.


}-Tux-{
 

Drop

Newbie
Sieh an!
gcc -I ../../../opt/gnome/include/gtk-1.2 window.c -o window `gtk-config --cflags --libs` hat funktioniert
(statt .../gtk-2.0...)

Danke für die Mühen ;)

jetzt müsst ich nur noch wissen, wie ich die Pfade
/opt/gnome/include/gtk-1.2
und /opt/gnome/include/gtk-2.0
zu den gcc Standardincludepfaden hinzufüge, wenns denn geht und ratsam wäre... :)
 
Oben