Mailinglist Archive: opensuse-amd64 (203 mails)

< Previous Next >
Problems building GTK+ apps in 9.3
  • From: edward winston <ewinston@xxxxxxx>
  • Date: Thu, 23 Jun 2005 21:41:39 +0000 (UTC)
  • Message-id: <20050623174126.1909e6d8@xxxxxxxxxxxxxxxxx>
I am having problems building application using GTK with the new version of
9.3 professional for AMD64.

I am trying to build Xscreensaver. All of the hacks build fine, but when it
gets to the demo program, I get errors during linking. So, after doing a
configure and build, it fails in the driver directory. The last lines i get
are :

edward@ws:/buildarea/xscreensaver-4.22/driver> make
gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -
U__STRICT_ANSI__ -L/usr/local/lib -o xscreensaver-demo-Gtk prefs.o dpms.o
remote.o exec.o ../utils/resources.o ../utils/usleep.o ../utils/visual.o
demo-Gtk.o demo-Gtk-conf.o -L/usr/X11R6/lib64 \ -Wl,--export-dynamic -L/
usr/lib64 -L/opt/gnome/lib64 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -
lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -
lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -
lglib-2.0 -lXmu -lXpm -Wl,--export-dynamic -L/opt/gnome/lib64 -
lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -
lglib-2.0 -lSM -lICE \ -lXt -lX11 -lXinerama -lXext /opt/gnome/lib64/
libglade-2.0.so: undefined reference to `gtk_menu_tool_button_get_type' /opt/
gnome/lib64/libglade-2.0.so: undefined reference to
`gtk_file_chooser_button_get_type' /opt/gnome/lib64/libglade-2.0.so:
undefined reference to `gtk_icon_view_get_type' /opt/gnome/lib64/
libglade-2.0.so: undefined reference to `gtk_about_dialog_get_type'
collect2: ld returned 1 exit status make: *** [xscreensaver-demo-Gtk] Error 1

This is a machine that was updated from Suse 9.1 (no 9.2 in the middle). I
don't know if there are older versions of gtk2 that are expected, or what.
I also get this message when i try to configure :

checking for pkg-config... /
usr/bin/pkg-config checking for GTK+ - version >= 2.0.0...
*** 'pkg-config --modversion gtk+-2.0' returned 2.6.4, but GTK+ (2.4.4)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files

I am thinking that they may be related. Has anyone else run into this? If
so, what did you do to get around the problem?

Thanks,
edward

< Previous Next >