Re: Troubles compiling gtk+




"Anton Vinokurov" <anton@inorg.chem.msu.ru> writes:

> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0181_01BDF062.EA8FDD40
> Content-Type: text/plain;
> 	charset="koi8-r"
> Content-Transfer-Encoding: 8bit            
> 
> Hi!
>  
> I am trying to compile gtk+-1.1.2 on my Slackware 3.5 Linux system.
> After successeful installing glib-1.1.3, unpacking&configuring&running make, I found:
>  
> 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/X11/lib -lXext -lX11 -L/usr/X11/lib -lXext -lX11 -lm -L/usr/local/lib -lglib
> 
> testgtk.o: In function `create_tree_sample':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:1189: undefined reference to `g_log'
> testgtk.o: In function `gtk_ifactory_cb':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:2132: undefined reference to `g_log'
> testgtk.o: In function `cursor_expose_event':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:2867: undefined reference to `g_log'
> testgtk.o: In function `export_ctree':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:4232: undefined reference to `g_node_destroy'

Somehow, the version of libglib.so it's finding in /usr/local/lib
is an old one.

Regards,
                                        Owen



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