Re: [gtk-list] Re: compiling problems with undef syms



gasp escribió:
>
> >I am trying to compile gtk+-1.1.2 with egcs1.1b compiler and am getting
> >the following undefined symbol errors.
> >
> >gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o
> >-Wl,--rpath -Wl,/usr/local/lib .libs/libgtk.so -Wl,--rpath
> >-Wl,/usr/local/lib ../gdk/.libs/libgdk.so -L/usr/X11R6/lib -lXext -lX11
> >-L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -rdynamic -lgmodule -lglib
> >-ldl -lm
> >.libs/libgtk.so: undefined reference to `g_datalist_set_destroy'
> >.libs/libgtk.so: undefined reference to `g_datalist_id_set_destroy'
> >collect2: ld returned 1 exit status
> >make[2]: *** [testgtk] Error 1
> >make[2]: Leaving directory `/home/gnome/gtk+-1.1.2/gtk'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/home/gnome/gtk+-1.1.2'
> >make: *** [all-recursive-am] Error 2
> >
> >
> >Is this caused by a missing library?

> make sure that you don't have any older versions of gtk laying
> around........if you installed
> gimp (in the slackware3.5 install), uninstall it and reinstall gtk/glib and
> then reinstall
> the new gimp.

I have the same problem and I'm using glib-1.1.4 gimp and gtk (previous
version) have been uninstalled.
-- 
Jaime Alberto "el mono" Silva Colorado
Estudiante Facultad de Ingeniería Eléctrica
Universidad Tecnológica de Pereira
Pereira, Colombia.



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