Problem when installing gtk+2.2.1



Hello,

I have a problem when installing gtk+2.2.1 :
During the execution of the make command, I have the following error :


/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -o gtk-demo appwindow.o button_box.o changedisplay.o colorsel.o dialog.o drawingarea.o editable_cells.o images.o item_factory.o list_store.o menus.o panes.o pixbufs.o sizegroup.o stock_browser.o textview.o tree_store.o main.o ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la gcc -g -O2 -Wall -o .libs/gtk-demo appwindow.o button_box.o changedisplay.o colorsel.o dialog.o drawingarea.o editable_cells.o images.o item_factory.o list_store.o menus.o panes.o pixbufs.o sizegroup.o stock_browser.o textview.o tree_store.o main.o ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/usr/local/lib ../../gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib ../../gtk/.libs/libgtk-x11-2.0.so /home/hugolin/downloads/gtk/gtk+-2.2.1/gdk/.libs/libgdk-x11-2.0.so /home/hugolin/downloads/gtk/gtk+-2.2.1/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lXinerama -lXft -lXrender -lXext -lX11 /usr/lib/libfreetype.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lm -Wl,--rpath -Wl,/usr/local/lib
../../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_fprintf'
../../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `g_get_application_name'
../../gtk/.libs/libgtk-x11-2.0.so: undefined reference to `g_sprintf'
collect2: ld returned 1 exit status
make: *** [gtk-demo] Erreur 1


The 3 fonctions are new functions since glib 2.2
But  I have installed glib 2.2.1 in /usr/local

If any anoe can help me .
Thanks in advance.




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