Problems compiling gtk+



Hi all,

On my way to compiling gnome and gimp, I'm having problems compiling
gtk+ so I hope someone can help me. The problem is basically :

gtkmain.c:85: `G_HOOK_FLAG_USER_SHIFT' undeclared here (not in a function)

which causes all sorts of errors (see the end of this mail for the
entire list). This problem occurs with a brand new checkout of gtk+
from anoncvs.gnome.org as well as with a brand new checkout from
anoncvs.gimp.org (are they the same by the way ?).

I've tried to grep for G_HOOK_FLAG_USER_SHIFT but it seems that
gtkmain.c:85 is the one and only reference to it. Does anyone know
where it should have been set and what it should be set to ? Since
this breaks the build pretty badly I would expect to see a fix in cvs
rather quickly but I haven't seen any changes appearing for the last
couple of days. So, I'm wondering if it's maybe my setup, but I have
no clue what to change :-(

Any help will be greatly appreciated. 

Rasmus

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: data definition has no type or storage class
gtkmain.c:193: parse error before `*'
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
gtkmain.c: In function `gtk_events_pending':
gtkmain.c:622: `GHook' undeclared (first use this function)
gtkmain.c:622: (Each undeclared identifier is reported only once
gtkmain.c:622: for each function it appears in.)
gtkmain.c:622: `hook' undeclared (first use this function)
gtkmain.c:622: warning: statement with no effect
gtkmain.c:624: warning: implicit declaration of function
`g_hook_first_valid'
gtkmain.c: At top level:
gtkmain.c:1169: parse error before `*'
gtkmain.c: In function `gtk_idle_compare':
gtkmain.c:1172: `new_g_hook' undeclared (first use this function)
gtkmain.c:1173: `g_sibling' undeclared (first use this function)
gtkmain.c:1179: dereferencing pointer to incomplete type
gtkmain.c:1179: dereferencing pointer to incomplete type
gtkmain.c:1180: warning: control reaches end of non-void function
gtkmain.c: In function `gtk_idle_add_full':
gtkmain.c:1189: `GHook' undeclared (first use this function)
gtkmain.c:1189: `hook' undeclared (first use this function)
gtkmain.c:1189: warning: statement with no effect
gtkmain.c:1190: parse error before `*'
gtkmain.c:1197: request for member `seq_id' in something not a structure
or union
gtkmain.c:1198: warning: implicit declaration of function
`g_hook_list_init'
gtkmain.c:1198: sizeof applied to an incomplete type
gtkmain.c:1200: warning: implicit declaration of function `g_hook_alloc'
gtkmain.c:1201: `ihook' undeclared (first use this function)
gtkmain.c:1219: warning: implicit declaration of function
`g_hook_insert_sorted'
gtkmain.c:1222: warning: control reaches end of non-void function
gtkmain.c: In function `gtk_idle_remove':
gtkmain.c:1252: warning: implicit declaration of function `g_hook_destroy'
gtkmain.c: In function `gtk_idle_remove_by_data':
gtkmain.c:1259: `GHook' undeclared (first use this function)
gtkmain.c:1259: `hook' undeclared (first use this function)
gtkmain.c:1259: warning: statement with no effect
gtkmain.c:1261: warning: implicit declaration of function
`g_hook_find_data'
gtkmain.c:1263: warning: implicit declaration of function
`g_hook_destroy_link'
gtkmain.c: In function `gtk_finish_idles':
gtkmain.c:1276: `GHook' undeclared (first use this function)
gtkmain.c:1276: `hook' undeclared (first use this function)
gtkmain.c:1276: warning: statement with no effect
gtkmain.c:1278: warning: implicit declaration of function
`g_hook_next_valid'
gtkmain.c:1280: dereferencing pointer to incomplete type
gtkmain.c:1282: warning: implicit declaration of function `g_hook_unref'
gtkmain.c:1289: warning: implicit declaration of function `g_hook_ref'
gtkmain.c: In function `gtk_handle_idles':
gtkmain.c:1302: `GHook' undeclared (first use this function)
gtkmain.c:1302: `hook' undeclared (first use this function)
gtkmain.c:1302: warning: statement with no effect
gtkmain.c: At top level:
gtkmain.c:1322: parse error before `*'
gtkmain.c: In function `gtk_invoke_hook':
gtkmain.c:1327: `hook' undeclared (first use this function)
gtkmain.c:1347: `hook_list' undeclared (first use this function)
gtkmain.c:1330: warning: `marshal' might be used uninitialized in this
function
make[2]: *** [gtkmain.lo] Error 1
make[2]: Leaving directory `/usr/src/gnome/gtk+/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnome/gtk+'
make: *** [all-recursive-am] Error 2




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