Problem compiling gtk+-2.4.3 on Mandrake 10.0



Hello everybody!

My problem is the following. When I try to run make in the gtk+2.4.3 directory 
the process stops and I receive the following error messages::

make[4]: Entering directory `/home/andi/Ausgepackt/gtk+-2.4.3/gtk'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -L/usr/local/lib -o 
gtk-query-immodules-2.0  queryimmodules.o 
libgtk-x11-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la
gcc -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o  
-L/usr/local/lib ./.libs/libgtk-x11-2.0.so /home/andi/Ausgepackt/gtk+-2.4.3/gdk/.libs/libgdk-x11-2.0.so 
-L/usr/X11R6/lib /usr/local/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so 
-lXrandr -lXinerama -lXext -lXft 
-lXrender /usr/lib/libfontconfig.so /usr/lib/libfreetype.so 
-lz /usr/lib/libexpat.so -lX11 
-lXcursor /usr/local/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/libpango-1.0.so /home/andi/Ausgepackt/gtk+-2.4.3/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /usr/local/lib/libgmodule-2.0.so 
-ldl /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so -lm 
-Wl,--rpath -Wl,/usr/local/lib
/home/andi/Ausgepackt/gtk+-2.4.3/gdk/.libs/libgdk-x11-2.0.so: undefined 
reference to `g_unsetenv'
./.libs/libgtk-x11-2.0.so: undefined reference to 
`g_type_instance_get_private'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_completion_complete_utf8'
./.libs/libgtk-x11-2.0.so: undefined reference to 
`g_param_spec_get_redirect_target'
./.libs/libgtk-x11-2.0.so: undefined reference to 
`g_object_class_override_property'
./.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] Fehler 1
make[4]: Leaving directory `/home/andi/Ausgepackt/gtk+-2.4.3/gtk'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/andi/Ausgepackt/gtk+-2.4.3/gtk'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/andi/Ausgepackt/gtk+-2.4.3/gtk'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/andi/Ausgepackt/gtk+-2.4.3'
make: *** [all] Fehler 2

I managed to install pango, atk and glib and even got the ./configure script 
for gtk+ to finally execute. But right now I'm helpless, because the 
environment variables  PKG_CONFIG_PAT and LD_LIBRARY_PATH are set correctly, 
which caused the troubles I had before, so I don't know what to do.
I would be grateful for any hint on how to fix this,

Andreas



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