GNOME Bugzilla – Bug 509111
glibmm 2.15.1 doesn't build
Last modified: 2008-01-16 06:59:58 UTC
This is on Mandriva Cooker with glib 2.15.1: g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"giomm\" -I../../gio -I../../gio -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -Wno-long-long -MT mountoperation.lo -MD -MP -MF .deps/mountoperation.Tpo -c mountoperation.cc -fPIC -DPIC -o .libs/mountoperation.o mountoperation.cc: In member function 'void Gio::MountOperation::reply(Gio::MountOperationResult)': mountoperation.cc:209: error: 'GMountOperationResult' was not declared in this scope
This API got changed very recently in glib/gio. I don't know if the version of glib/gio with this change has been released yet or not.
You say "this is on Mandriva Cooker with glib 2.15.1", but I am not sure whether you really mean glib or glibmm? I confirm that it is due to a change in the glib/gio API that happenned in the meantime (you need the latest glib, 2.15.1).
It built fine with glib 2.15.2, but not with 2.15.1. The configure check should be updated accordingly.