Re: [gtk-list] build problems
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] build problems
- Date: Thu, 5 Nov 1998 16:16:48 +0100 (CET)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]