After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 388934 - glibmm's markup-example does not build
glibmm's markup-example does not build
Status: RESOLVED NOTABUG
Product: glibmm
Classification: Bindings
Component: build
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2006-12-23 14:53 UTC by Bjoern Voigt
Modified: 2006-12-28 22:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Bjoern Voigt 2006-12-23 14:53:30 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:
Comment 1 Murray Cumming 2006-12-25 20:09:46 UTC
Exactly what version of glibmm is this?
Comment 2 Bjoern Voigt 2006-12-26 13:25:44 UTC
It is 2.12.3 (current glibmm-2-12 CVS branch).
Comment 3 Murray Cumming 2006-12-28 18:59:13 UTC
> ../../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?
Comment 4 Bjoern Voigt 2006-12-28 19:31:25 UTC
My Gnome 2.16 is build with JHBuild (moduleset gnome-2.16). The distribution is openSUSE 10.2.
Comment 5 Murray Cumming 2006-12-28 19:36:14 UTC
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?
Comment 6 Bjoern Voigt 2006-12-28 21:43:53 UTC
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.
Comment 7 Murray Cumming 2006-12-28 22:17:04 UTC
That's good news. Thanks.