[9052] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Troubles compiling gtk+

daemon@ATHENA.MIT.EDU (Anton Vinokurov)
Mon Oct 5 05:18:51 1998

From: "Anton Vinokurov" <anton@inorg.chem.msu.ru>
To: <gtk-list@redhat.com>
Date: Mon, 5 Oct 1998 13:20:26 +0300
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

This is a multi-part message in MIME format.

------=_NextPart_000_0181_01BDF062.EA8FDD40
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

Hi!
=20
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:
=20
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'
.libs/libgtk.so: undefined reference to `g_node_depth'
.libs/libgtk.so: undefined reference to `g_datalist_id_set_data_full'
.libs/libgtk.so: undefined reference to `g_module_supported'
.libs/libgtk.so: undefined reference to `g_datalist_clear'
.libs/libgtk.so: undefined reference to `g_completion_add_items'
.libs/libgtk.so: undefined reference to `g_node_last_child'
.libs/libgtk.so: undefined reference to `g_scanner_scope_remove_symbol'
.libs/libgtk.so: undefined reference to `g_completion_free'
.libs/libgtk.so: undefined reference to `g_quark_try_string'
.libs/libgtk.so: undefined reference to `g_module_error'
.libs/libgtk.so: undefined reference to `g_scanner_stat_mode'
....<a lot of>
=20
Is this a mistake in Makefile or in my brains?
I've run ldconfig -v , checked /usr/local/lib for all requested =
libraries, but no results...
=20
Yours,
=20
            Anton Vinokurov,
            anton@inorg.chem.msu.ru
            Inorganic Chemistry Division, Moscow State University
=20
=20

------=_NextPart_000_0181_01BDF062.EA8FDD40
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Dkoi8-r http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>I am trying to compile =
gtk+-1.1.2 on=20
my Slackware 3.5 Linux system.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>After successeful =
installing=20
glib-1.1.3, unpacking&amp;configuring&amp;running make, I =
found:</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall =
-DUSE_XIM -o=20
.libs/testgtk testgtk.o -Wl,--rpath -Wl,/usr/local/lib .libs/libgtk.so=20
-Wl,--rpath -Wl,/usr/local/lib ../gdk/.libs/libgdk.so -L/usr/X11/lib =
-lXext=20
-lX11 -L/usr/X11/lib -lXext -lX11 -lm -L/usr/local/lib =
-lglib</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>testgtk.o: In function=20
`create_tree_sample':<BR>/usr/local/src/gtk+-1.1.2/gtk/testgtk.c:1189: =
undefined=20
reference to `g_log'<BR>testgtk.o: In function=20
`gtk_ifactory_cb':<BR>/usr/local/src/gtk+-1.1.2/gtk/testgtk.c:2132: =
undefined=20
reference to `g_log'<BR>testgtk.o: In function=20
`cursor_expose_event':<BR>/usr/local/src/gtk+-1.1.2/gtk/testgtk.c:2867:=20
undefined reference to `g_log'<BR>testgtk.o: In function=20
`export_ctree':<BR>/usr/local/src/gtk+-1.1.2/gtk/testgtk.c:4232: =
undefined=20
reference to `g_node_destroy'<BR>.libs/libgtk.so: undefined reference to =

`g_node_depth'<BR>.libs/libgtk.so: undefined reference to=20
`g_datalist_id_set_data_full'<BR>.libs/libgtk.so: undefined reference to =

`g_module_supported'<BR>.libs/libgtk.so: undefined reference to=20
`g_datalist_clear'<BR>.libs/libgtk.so: undefined reference to=20
`g_completion_add_items'<BR>.libs/libgtk.so: undefined reference to=20
`g_node_last_child'<BR>.libs/libgtk.so: undefined reference to=20
`g_scanner_scope_remove_symbol'<BR>.libs/libgtk.so: undefined reference =
to=20
`g_completion_free'<BR>.libs/libgtk.so: undefined reference to=20
`g_quark_try_string'<BR>.libs/libgtk.so: undefined reference to=20
`g_module_error'<BR>.libs/libgtk.so: undefined reference to=20
`g_scanner_stat_mode'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT color=3D#000000 =
face=3DArial=20
size=3D2>....&lt;a lot of&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Is this a mistake in =
Makefile or in=20
my brains?</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT><FONT =
face=3DArial size=3D2>I've=20
run ldconfig -v , checked /usr/local/lib for all requested libraries, =
but no=20
results...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Yours,</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Anton=20
Vinokurov,</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; <A=20
href=3D"mailto:anton@inorg.chem.msu.ru">anton@inorg.chem.msu.ru</A></FONT=
></DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; <FONT=20
color=3D#000000>Inorganic Chemistry Division, Moscow State=20
University</FONT></FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2><FONT=20
color=3D#000000></FONT></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial=20
size=3D2></FONT>&nbsp;</DIV></DIV></BODY></HTML>

------=_NextPart_000_0181_01BDF062.EA8FDD40--

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post