Fw: Prob compiling GTK (gtkmain.c... variable undeclared)



I have glib from the cvs installed.

Ok, this is what I get:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -I.. -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -Wp,-MD,.deps/gtkmain.p -c -fPIC -DPIC gtkmain.c
gtkmain.c:85: `G_HOOK_FLAG_USER_SHIFT' undeclared here (not in a function)
gtkmain.c:86: enumerator value for `GTK_HOOK_MARSHAL' not integer constant
gtkmain.c:90: parse error before `GHook'
gtkmain.c:90: warning: no semicolon at end of struct or union
gtkmain.c:92: parse error before `}'
gtkmain.c:110: parse error before `*'
gtkmain.c:192: parse error before `idle_hooks'
gtkmain.c:192: warning: type defaults to `int' in declaration of `idle_hooks'
gtkmain.c:192: warning: data definition has no type or storage class
gtkmain.c:193: parse error before `*'
gtkmain.c:193: warning: type defaults to `int' in declaration of `last_idle'
gtkmain.c:193: warning: data definition has no type or storage class
gtkmain.c: In function `gtk_init':
gtkmain.c:293: warning: implicit declaration of function `g_strsplit'
gtkmain.c:293: warning: assignment makes pointer from integer without a cast



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]