From: Yucehan Kutlu (yucehanktl@yahoo.com)
Date: Mon 18 Apr 2005 - 14:08:26 EEST
Evet böyle saçma bir hatayla sizi meşgul ettiğim
için afedersiniz
Şimdiki sorun ise derledikten sonra
yucehan@linux:~> gcc -o ornek ornek.c `pkg-config
--libs --cflags gtk+-2.0`
yucehan@linux:~> ./ornek
(process:4593): GLib-GObject-CRITICAL **:
gtype.c:2253: initialization assertion failed, use
g_type_init() prior to this function
(process:4593): GLib-GObject-CRITICAL **:
gtype.c:2253: initialization assertion failed, use
g_type_init() prior to this function
(process:4593): GLib-GObject-CRITICAL **:
gtype.c:2253: initialization assertion failed, use
g_type_init() prior to this function
(process:4593): GLib-GObject-CRITICAL **: file
gtype.c: line 2319 (g_type_add_interface_static):
assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)'
failed
(process:4593): GLib-GObject-CRITICAL **:
gtype.c:2253: initialization assertion failed, use
g_type_init() prior to this function
(process:4593): GLib-GObject-CRITICAL **:
gtype.c:2253: initialization assertion failed, use
g_type_init() prior to this function
(process:4593): GLib-GObject-CRITICAL **:
gtype.c:2253: initialization assertion failed, use
g_type_init() prior to this function
(process:4593): GLib-GObject-CRITICAL **: file
gobject.c: line 819 (g_object_new): assertion
`G_TYPE_IS_OBJECT (object_type)' failed
Parçalama arızası
gtk-config kullanıncada
yucehan@linux:~> gcc -o ornek ornek.c `gtk-config
--cflags --libs`
yucehan@linux:~> ./ornek
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
GLib-CRITICAL **: file ghash.c: line 152
(g_hash_table_insert): assertion `hash_table != NULL'
failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
GLib-CRITICAL **: file ghash.c: line 152
(g_hash_table_insert): assertion `hash_table != NULL'
failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
GLib-CRITICAL **: file ghash.c: line 152
(g_hash_table_insert): assertion `hash_table != NULL'
failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtktypeutils.c: line 337
(gtk_type_class): assertion `node != NULL' failed.
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkContainer::border_width" is not in the `(null)'
ancestry
Gtk-CRITICAL **: file gtkobject.c: line 939
(gtk_object_add_arg_type): assertion `arg_type >
GTK_TYPE_NONE' failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtkobject.c: line 939
(gtk_object_add_arg_type): assertion `arg_type >
GTK_TYPE_NONE' failed.
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkContainer::reallocate_redraws" is not in the
`(null)' ancestry
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtksignal.c: line 433
(gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtksignal.c: line 433
(gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.
Gtk-CRITICAL **: file gtksignal.c: line 433
(gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.
Gtk-CRITICAL **: file gtksignal.c: line 433
(gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtksignal.c: line 433
(gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.
Gtk-CRITICAL **: file gtkobject.c: line 357
(gtk_object_class_add_signals): assertion
`GTK_IS_OBJECT_CLASS (class)' failed.
Gtk-CRITICAL **: file gtkobject.c: line 939
(gtk_object_add_arg_type): assertion `arg_type >
GTK_TYPE_NONE' failed.
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkWindow::title" is not in the `(null)' ancestry
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkWindow::auto_shrink" is not in the `(null)'
ancestry
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkWindow::allow_shrink" is not in the `(null)'
ancestry
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkWindow::allow_grow" is not in the `(null)'
ancestry
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkWindow::modal" is not in the `(null)' ancestry
Gtk-CRITICAL **: file gtkobject.c: line 939
(gtk_object_add_arg_type): assertion `arg_type >
GTK_TYPE_NONE' failed.
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkWindow::default_width" is not in the `(null)'
ancestry
Gtk-WARNING **: gtk_arg_type_new(): argument class in
"GtkWindow::default_height" is not in the `(null)'
ancestry
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtksignal.c: line 433
(gtk_signal_lookup): assertion `gtk_type_is_a
(object_type, GTK_TYPE_OBJECT)' failed.
Gtk-CRITICAL **: file gtkobject.c: line 357
(gtk_object_class_add_signals): assertion
`GTK_IS_OBJECT_CLASS (class)' failed.
Gtk-WARNING **: invalid cast from `GtkBin' to
`(unknown)'
Gtk-WARNING **: invalid cast from `GtkWindow' to
`(unknown)'
Gtk-WARNING **: invalid cast from `GtkWindow' to
`(unknown)'
Gtk-WARNING **: invalid cast from `GtkWindow' to
`(unknown)'
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtkwidget.c: line 2285
(gtk_widget_queue_resize): assertion `GTK_IS_WIDGET
(widget)' failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtkwidget.c: line 4871
(gtk_widget_ref): assertion `GTK_IS_WIDGET (widget)'
failed.
Gtk-WARNING **: invalid cast from `GtkWindow' to
`(unknown)'
Gtk-CRITICAL **: file gtkobject.c: line 457
(gtk_object_sink): assertion `GTK_IS_OBJECT (object)'
failed.
GLib-CRITICAL **: file ghash.c: line 138
(g_hash_table_lookup): assertion `hash_table != NULL'
failed.
Gtk-WARNING **: gtk_type_create(): unknown parent type
`21'.
Gtk-CRITICAL **: file gtkwidget.c: line 1428
(gtk_widget_show): assertion `GTK_IS_WIDGET (widget)'
failed.
Teşekkürler
--- Goktan Kantarcioglu <goktan99@gmail.com> wrote:
> Selamlar
>
> onceki mailimde yazim dedim de hatalarda yoktu o
> yuzden tereddut
> etmistim. aslinda sorunun cevabini serdar bey
> vermisti.
>
> ornek.c:1:20: gtk\gtk.h: Böyle bir dosya ya da
dizin
> yok
>
> #include <gtk/gtk.h> satiri eklenmeli
> #include <gtk.h> yerine.
>
> iyi calismalar
> goktan
> Yucehan Kutlu wrote:
>
> >Haklısınız ama düzelttikten sonra da durum
> değişmedi
> >zaten aynı hatayı gnome da da veriyor
> >
> >yucehan@linux:~> gcc -o ornek ornek.c `gtk-config
> >--cflags --libs`
> >ornek.c:1:20: gtk\gtk.h: Böyle bir dosya ya da
> dizin
> >yok
> >
> >
>
> > _______________________________________________
> Linux-programlama mailing list
> Linux-programlama@liste.linux.org.tr
>
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama