GNOME Bugzilla – Bug 388934
glibmm's markup-example does not build
Last modified: 2006-12-28 22:17:04 UTC
Please describe the problem: The markup-example (glibmm/examples/markup) does not build cleanly: make[3]: Entering directory `/var/soft/gnome2/cvs/glibmm/examples/markup' /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -Wall -Wno-long-long -Wl,-rpath,/var/soft/gnome2/gnome-2-2/lib -o parser parser.o ../../glib/glibmm/libglibmm-2.4.la -Wl,--export-dynamic -L/var/soft/gnome2/gnome-2-2/lib -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 g++ -g -O2 -Wall -Wno-long-long -Wl,-rpath -Wl,/var/soft/gnome2/gnome-2-2/lib -o .libs/parser parser.o -Wl,--export-dynamic ../../glib/glibmm/.libs/libglibmm-2.4.so -L/var/soft/gnome2/gnome-2-2/lib /var/soft/gnome2/gnome-2-2/lib/libsigc-2.0.so /var/soft/gnome2/gnome-2-2/lib/libgobject-2.0.so /var/soft/gnome2/gnome-2-2/lib/libgmodule-2.0.so -ldl /var/soft/gnome2/gnome-2-2/lib/libglib-2.0.so -lrt -Wl,--rpath -Wl,/var/soft/gnome2/gnome-2-2/lib ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `Glib::KeyFileError::throw_func(_GError*)' collect2: ld returned 1 exit status make[3]: *** [parser] Error 1 make[3]: Leaving directory `/var/soft/gnome2/cvs/glibmm/examples/markup' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/soft/gnome2/cvs/glibmm/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/soft/gnome2/cvs/glibmm' make: *** [all] Error 2 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Exactly what version of glibmm is this?
It is 2.12.3 (current glibmm-2-12 CVS branch).
> ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to > `Glib::KeyFileError::throw_func(_GError*)' Something is odd here. Glib::KeyFile* was not added until glibmm 2.13.x (the HEAD branch in CVS). What distro is this?
My Gnome 2.16 is build with JHBuild (moduleset gnome-2.16). The distribution is openSUSE 10.2.
Maybe you still have part of glibmm from the HEAD branch installed in your prefix. Could you try to investigate whether KeyFile is actually used anywhere, to try to make sense of this, please?
After cleaning the sources (make distclean) and the installation directory (make uninstall; something like rm *glibmm*) the problem is fixed for me. The problem was probably caused by old files from former JHBuild builds.
That's good news. Thanks.