Re: gtk_input_add_interp



Michael Harnois <mharnois@sbtek.net> writes:
> If
> 
> guile-gtk/ChangeLog:    gtk_input_add_interp): Removed, phew.
> 
> then why
> 
> gcc -O6 -march=pentium -o .libs/guile-gtk .libs/guile-gtkS.o -Wl,-export-dynamic main.o -Wl,-rpath -Wl,/usr/lib .libs/libguilegtk.so -L/usr/lib -lguile -ldl -lreadline -ltermcap -lm -lqthreads -ldl -lreadline -ltermcap -lm -L/usr/lib -L/usr/X11R6/lib -lgtk-1.1 -lgdk-1.1 -rdynamic -lgmodule-1.1 -lglib-1.1 -ldl -lXext -lX11 -lpthread -lm -lm
> .libs/libguilegtk.so: undefined reference to `gtk_input_add_interp'

The particular ChangeLog entry you're referring to talks about removing
gtk_input_add_interp from `gtk-compat.c', which I presume was originally
there for backward compatibility.  

Now, gtk+ doesn't have `gtk_input_add_interp' again, but `gtk.defs'
still refers to it.  That's why the link error.

To make things clear, gtk+ original didn't have g_i_a_interp, but later
on added it.  `guile-gtk' had a compatibility function for that for some
time, since it referred to g_i_a_interp in gtk.defs.  Later on, it
dropped backward compatibility with the above change.  Now, gtk+ dropped
g_i_a_interp in favour of g_i_a_full, but guile-gtk wan't updated.  So,
the link errors.  I checked in a quick fix, and Marius cleaned it up, in
CVS a couple of days ago.

There seems to be a problem with the AnonCVS server not being updated.
You may want to complain to cvsmaster@gnome.org.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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