problem building GTK+-2.4.14
- From: Holtai András <bandita maffia hu>
- To: gtk-list gnome org
- Subject: problem building GTK+-2.4.14
- Date: Wed, 15 Dec 2004 23:20:46 +0100
Hello
I have a problem building GTK+-2.4.14. I have right versions of glib,
atk and pango (I hope so), so while configuring there are no errors.
When building gtk, I get this error message:
...
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_type_class_add_private'
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_object_interface_install_property'
./.libs/libgtk-x11-2.0.so: undefined reference
to`g_markup_printf_escaped'
./.libs/libgtk-x11-2.0.so: undefined reference to`g_value_take_string'
./.libs/libgtk-x11-2.0.so: undefined reference
to`g_markup_vprintf_escaped'
/usr/local/lib/libpango-1.0.so: undefined reference to
`g_unichar_get_mirror_char'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[4]: Leaving directory `/home/gtk+-2.4.14/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gtk+-2.4.14/gtk'
make[2]: *** [all] Error
make[2]: Leaving directory `/home/gtk+-2.4.14/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gtk+-2.4.14'
make: *** [all] Error 2
I read the gtk-list archive where I found a solution:
Go into the relevant libtool (.la) archives and delete references
to /usr/lib objects that already have a /usr/local/lib equivalent.
Please help me, I'am absolute beginner, I can't understand it. Here's
my /home/gtk+-2.4.14/gtk/libgtk-x11-2.0.la source (is this what I
need???):
#############################################
# libgtk-x11-2.0.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.6 (1.1220.2.95 2004/04/11
05:50:42)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libgtk-x11-2.0.so.0'
# Names of this library.
library_names='libgtk-x11-2.0.so.0.400.14 libgtk-x11-2.0.so.0 libgtk-
x11-2.0.so'
# The name of the static archive.
old_library=''
# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib /home/gtk+-2.4.14/gdk/libgdk-x11-
2.0.la -L/usr/X11R6/lib -lXrandr -lXinerama -lXext -lXft /usr/lib/gcc-
lib/i586-suse-linux/3.3.3/../../..//libfreetype.la -
lXrender /usr/lib/libfontconfig.la /usr/lib/libexpat.la /usr/lib/libfre
etype.la /home/gtk+-2.4.14/gdk-pixbuf/libgdk_pixbuf-2.0.la -lX11 -
L/opt/gnome/lib /usr/local/lib/libpangoxft-
1.0.la /usr/local/lib/libpangox-1.0.la /usr/local/lib/libpango-
1.0.la /opt/gnome/lib/libatk-1.0.la /opt/gnome/lib/libgobject-
2.0.la /opt/gnome/lib/libgmodule-2.0.la /opt/gnome/lib/libglib-
2.0.la /usr/local/lib/libgobject-2.0.la /usr/local/lib/libgmodule-
2.0.la -ldl /usr/local/lib/libglib-2.0.la -lm '
# Version information for libgtk-x11-2.0.
current=400
age=400
revision=14
# Is this an already installed library?
installed=no
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/usr/lib'
relink_command="(cd /home/gtk+-2.4.14/gtk; /bin/sh ../libtool --
mode=relink gcc -g -O2 ...(etc)
############################################
Thanks for all:
Andras (Hungary)
P.S.: I have SuSE 9.1 (2.6.4-52) with KDE 3.2.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]