gtk+-2.8.15 make error



Hi,

Although I am a Java developer, I am not a very experienced Linux User. I am using SuSE Linux 10.  I am trying to compile gtk+-2.8.15 which is a dependency  for f-spot-0.1.11.

Make for gtk  fails after compiling for quite some time. Configure completed successfully.

As far as dependecies of gtk are concerned, I have sucessfully compiled and installed the following:
glib-2.8.6, pango-1.10.4 and atk-1.10.3. The JPEG, PNG and TIFF libraries already exist.

At the end of this message I  have included the last few lines of output from make.

I would appreciate any help.

Thanks a lot & Regards
Suhail

*********************************************************
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/opt/gtk/lib\" -DGTK_DATADIR=\"/opt/gtk/share\" -DGTK_DATA_PREFIX=\"/opt/gtk\" -DGTK_SYSCONFDIR=\"/opt/gtk/etc\" -DGTK_VERSION=\"2.8.15\" -DGTK_BINARY_VERSION=\"2.4.0\" -DGTK_HOST=\"i686-pc-linux-gnu\" -DGTK_COMPILATION -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/include/freetype2 -I/usr/local/include/cairo -I/usr/local/include/atk-1.0       -I/usr/X11R6/include  -g -O2 -Wall -MT queryimmodules.o -MD -MP -MF ".deps/queryimmodules.Tpo" \
  -c -o queryimmodules.o `test -f 'queryimmodules.c' || echo './'`queryimmodules.c; \
then mv -f ".deps/queryimmodules.Tpo" ".deps/queryimmodules.Po"; \
else rm -f ".deps/queryimmodules.Tpo"; exit 1; \
fi
queryimmodules.c: In function ‘query_module’:
queryimmodules.c:116: warning: dereferencing type-punned pointer will break strict-aliasing rules
queryimmodules.c:117: warning: dereferencing type-punned pointer will break strict-aliasing rules
queryimmodules.c:118: warning: dereferencing type-punned pointer will break strict-aliasing rules
queryimmodules.c:119: warning: dereferencing type-punned pointer will break strict-aliasing rules
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -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  ./.libs/libgtk-x11-2.0.so -L/usr/local/lib /home/srnaqvi/gtk+-2.8.15/gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib -L/opt/gnome/lib /usr/local/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libgmodule-2.0.so /opt/gnome/lib/libglib-2.0.so /usr/local/lib/libcairo.so -lpng12 /usr/lib/libglitz.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lXcursor -lXrender -lXext -lXfixes -lX11 /home/srnaqvi/gtk+-2.8.15/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,/opt/gtk/lib
./.libs/libgtk-x11-2.0.so: undefined reference to `g_object_compat_control'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[4]: Leaving directory `/home/srnaqvi/gtk+-2.8.15/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/srnaqvi/gtk+-2.8.15/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/srnaqvi/gtk+-2.8.15/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/srnaqvi/gtk+-2.8.15'
make: *** [all] Error 2
****************************************************************


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