GNOME Bugzilla – Bug 132362
Problem compiling gtkmm 2.3.2
Last modified: 2004-12-22 21:47:04 UTC
[...] gmake[4]: Entering directory `/tmp/gtkmm-2.3.2/atk/atkmm' if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"atkmm\" -I../../atk -I../../atk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/include/glibmm-2.3 -I/usr/local/lib/glibmm-2.3/include -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 -s -O3 -march=i686 -Wall -MT hyperlink.lo -MD -MP -MF ".deps/hyperlink.Tpo" \ -c -o hyperlink.lo `test -f 'hyperlink.cc' || echo './'`hyperlink.cc; \ then mv -f ".deps/hyperlink.Tpo" ".deps/hyperlink.Plo"; \ else rm -f ".deps/hyperlink.Tpo"; exit 1; \ fi g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"atkmm\" -I../../atk -I../../atk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/include/glibmm-2.3 -I/usr/local/lib/glibmm-2.3/include -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 -s -O3 -march=i686 -Wall -MT hyperlink.lo -MD -MP -MF .deps/hyperlink.Tpo -c hyperlink.cc -fPIC -DPIC -o .libs/hyperlink.o hyperlink.cc: In member function `Glib::PropertyProxy_ReadOnly<bool> Atk::Hyperlink::property_selected_link() const': hyperlink.cc:534: error: invalid conversion from `const Glib::ObjectBase*' to ` Glib::ObjectBase*' hyperlink.cc:534: error: initializing argument 1 of ` Glib::PropertyProxy_ReadOnly<T>::PropertyProxy_ReadOnly(Glib::ObjectBase*, const char*) [with T = bool]' hyperlink.cc: In member function `Glib::PropertyProxy_ReadOnly<int> Atk::Hyperlink::property_number_of_anchors() const': hyperlink.cc:539: error: invalid conversion from `const Glib::ObjectBase*' to ` Glib::ObjectBase*' hyperlink.cc:539: error: initializing argument 1 of ` Glib::PropertyProxy_ReadOnly<T>::PropertyProxy_ReadOnly(Glib::ObjectBase*, const char*) [with T = int]' hyperlink.cc: In member function `Glib::PropertyProxy_ReadOnly<int> Atk::Hyperlink::property_end_index() const': hyperlink.cc:544: error: invalid conversion from `const Glib::ObjectBase*' to ` Glib::ObjectBase*' hyperlink.cc:544: error: initializing argument 1 of ` Glib::PropertyProxy_ReadOnly<T>::PropertyProxy_ReadOnly(Glib::ObjectBase*, const char*) [with T = int]' hyperlink.cc: In member function `Glib::PropertyProxy_ReadOnly<int> Atk::Hyperlink::property_start_index() const': hyperlink.cc:549: error: invalid conversion from `const Glib::ObjectBase*' to ` Glib::ObjectBase*' hyperlink.cc:549: error: initializing argument 1 of ` Glib::PropertyProxy_ReadOnly<T>::PropertyProxy_ReadOnly(Glib::ObjectBase*, const char*) [with T = int]' gmake[4]: *** [hyperlink.lo] Error 1 gmake[4]: Leaving directory `/tmp/gtkmm-2.3.2/atk/atkmm' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/tmp/gtkmm-2.3.2/atk/atkmm' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/gtkmm-2.3.2/atk' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/gtkmm-2.3.2' gmake: *** [all] Error 2
Thanks. What compiler/distro is this?
gcc 3.3.2 LFS
Glib 2.3.2
I think you do not have the latest (2.3.3) glibmm installed. Please reopen if I am wrong.
No you were right, I installed glibmm 2.3.3 and I don't have this error anymore. Maybe a check of the glibmm version should be added to the configure ?