Ramon Orticio wrote: > i compiled gtk-gnutella-0.96.1 and it issued the > following error when i typed /usr/bin/make. my distro > is redhat 9 with kernel 2.4.20-31.9 > function `settings_gui_save_panes': > : undefined reference to `gtk_paned_get_child1'
You can use the attached patch to fix this compile problem: $ patch < gtk-missing.c.udif Or you can update to Gtk+ 2.4.0 or newer. -- Christian
Index: src/ui/gtk/gtk-missing.c =================================================================== --- src/ui/gtk/gtk-missing.c (revision 10612) +++ src/ui/gtk/gtk-missing.c (working copy) @@ -1049,7 +1049,8 @@ } #endif -#ifdef USE_GTK1 + +#if !GTK_CHECK_VERSION(2, 4, 0) GtkWidget * gtk_paned_get_child1(GtkPaned *paned) {
pgpKuM11dNwhL.pgp
Description: PGP signature