From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: lablgtk at math.nagoya-u.ac.jp Subject: Problems compiling example programs Date: Tue, 30 Aug 2005 20:25:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508302025.30609.jon at ffconsultancy.com> I thought I'd have another go at learning lablgtk and discovered that none of the example programs run (they all produce lots of errors and then segfault or die). I thought maybe this was a 64-bit problem so I also tried it on my 32-bit Athlon and I get similar errors. I'm using stock Debian (testing) with GTK 1.2.10. Does anyone know of Debian package problems or what might be causing this? Here are the kinds of errors I'm getting: $ ./hello 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'. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists