[9906] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: build problems
daemon@ATHENA.MIT.EDU (Tim Janik)
Thu Nov 5 19:50:16 1998
From: Tim Janik <timj@gtk.org>
Date: Thu, 5 Nov 1998 16:16:48 +0100 (CET)
To: gtk-list@redhat.com
In-Reply-To: <3640EC9B.4DB19E58@alf.dec.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
On Wed, 4 Nov 1998, Dave Dula wrote:
> I am having trouble building gtk+-1.1.3. I originally thought this was
> do to
> have more than one version of gtk on my machine but now I am not sure.
>
> I have wiped out all the old glib and gtk libs I could find and have
> reinstalled glib
> but still can't build 1.1.3.
>
> This is linux 2.0.35 (slackware)
>
> Looking at the symbol tables all the symbols are from the glib set
> which is installed in /usr/local/lib (glib-1.1.4)
>
> And ideas?
>
> Thanks
> Dave Dula
>
> make[2]: Circular gtkmarshal.c <- gtkmarshal.c dependency dropped.
> testgtk.o: In function `create_tree_sample':
> /home/ddula/usr/tar/gtk+-1.1.3/gtk/testgtk.c:1189: undefined reference
> to `g_log'
> testgtk.o: In function `gtk_ifactory_cb':
> /home/ddula/usr/tar/gtk+-1.1.3/gtk/testgtk.c:2246: undefined reference
> to `g_log'
> testgtk.o: In function `cursor_expose_event':
> /home/ddula/usr/tar/gtk+-1.1.3/gtk/testgtk.c:2981: undefined reference
> to `g_log'
> testgtk.o: In function `export_ctree':
> /home/ddula/usr/tar/gtk+-1.1.3/gtk/testgtk.c:4489: undefined reference
> to `g_node
[more undefined references to g_node_*, g_datalist_*,
g_hook_*, g_completion_*, etc...]
> make[2]: *** [testgtk] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
you appear to be linking against a rather old version of glib.
prior to building gtk, you need to have successfully built and
installed the newest glib version as well (from ftp://ftp.gtk.org/pub/gtk).
if you still get these kinds of undefined references, you most probably
are linking against an old version of the glib libs laying around on your
system somewhere.
---
ciaoTJ
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null