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



Ok,

I have done all the recomendations and am getting the same errors. I
noticed in the ChangeLog of glib-1.1.4 at line 100-110 it reports that Tim
J. did the following to the library.

 * gdataset.c: removed functions g_dataset_id_set_destroy and
 -->    g_datalist_id_set_destroy and macros g_dataset_set_destroy and
 -->    g_datalist_set_destroy.
        added new functions g_dataset_id_remove_no_notify and
        g_datalist_id_remove_no_notify plus associated macros
        g_dataset_remove_no_notify and g_datalist_remove_no_notify, which
        will remove a certain data portion without invokation of its destroy
        notifier, this should only be used in very controled
circumstances. 

That could be the source of some of the problems I see when compiling. I
guess I'll try an older version of glib.

-Dave

On Fri, 30 Oct 1998, el mono wrote:

> 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.
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 



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