Stellarium dies on compile with GCC 3.4 Here is the error messages: if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src/glpng -I../src/stellplanet -I../src/stellastro -I../src/iniparser -Wall -s -O3 -I/usr/include/SDL -D_REENTRANT -MT stel_sdl.o -MD -MP -MF ".deps/stel_sdl.Tpo" \ -c -o stel_sdl.o `test -f 'stel_sdl.cpp' || echo './'`stel_sdl.cpp; \ then mv -f ".deps/stel_sdl.Tpo" ".deps/stel_sdl.Po"; \ else rm -f ".deps/stel_sdl.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src/glpng -I../src/stellplanet -I../src/stellastro -I../src/iniparser -Wall -s -O3 -I/usr/include/SDL -D_REENTRANT -MT stel_core.o -MD -MP -MF ".deps/stel_core.Tpo" \ -c -o stel_core.o `test -f 'stel_core.cpp' || echo './'`stel_core.cpp; \ then mv -f ".deps/stel_core.Tpo" ".deps/stel_core.Po"; \ else rm -f ".deps/stel_core.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src/glpng -I../src/stellplanet -I../src/stellastro -I../src/iniparser -Wall -s -O3 -I/usr/include/SDL -D_REENTRANT -MT stel_utility.o -MD -MP -MF ".deps/stel_utility.Tpo" \ -c -o stel_utility.o `test -f 'stel_utility.cpp' || echo './'`stel_utility.cpp; \ then mv -f ".deps/stel_utility.Tpo" ".deps/stel_utility.Po"; \ else rm -f ".deps/stel_utility.Tpo"; exit 1; \ fi In file included from stel_utility.h:25, from stel_utility.cpp:28: vecmath.h: In static member function `static Matrix4<T> Matrix4<T>::rotation(const Vector3<T>&)': vecmath.h:764: error: `angle' undeclared (first use this function) vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [stel_utility.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from stel_object.h:23, from navigator.h:24, from stel_core.h:29, from main.cpp:25: vecmath.h: In static member function `static Matrix4<T> Matrix4<T>::rotation(const Vector3<T>&)': vecmath.h:764: error: `angle' undeclared (first use this function) vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.) vecmath.h:764: error: no matching function for call to `cos(<type error>)' /usr/include/bits/mathcalls.h:64: note: candidates are: double cos(double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:185: note: long double std::cos(long double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:181: note: float std::cos(float) vecmath.h:765: error: no matching function for call to `sin(<type error>)' /usr/include/bits/mathcalls.h:66: note: candidates are: double sin(double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:371: note: long double std::sin(long double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:367: note: float std::sin(float) In file included from callbacks.hpp:25, from s_gui.h:43, from stel_core.h:39, from main.cpp:25: callback_helpers.hpp: At global scope: callback_helpers.hpp:207: error: non-template `Result' used as template callback_helpers.hpp:207: note: use `typename boost::details::Selector<Condition>::RET::template Result' to indicate that it is a template callback_helpers.hpp:207: error: declaration does not declare anything In file included from stel_core.h:39, from main.cpp:25: callback_helpers.hpp: In instantiation of `boost::details::SWITCH<0, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >': callback_helpers.hpp:275: instantiated from `boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' callbacks.hpp:45: instantiated from `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' s_gui.h:175: instantiated from here callback_helpers.hpp:242: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<0, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callback_helpers.hpp:246: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<0, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>': callbacks.hpp:45: instantiated from `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' s_gui.h:175: instantiated from here callback_helpers.hpp:275: error: no type named `RET' in `struct boost::details::SWITCH<0, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callbacks.hpp: In instantiation of `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>': s_gui.h:175: instantiated from here callbacks.hpp:45: error: no type named `RET' in `struct boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' callbacks.hpp:86: error: no type named `RET' in `struct boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' In file included from solarsystem.h:27, from stel_core.h:41, from main.cpp:25: callback_helpers.hpp: In instantiation of `boost::details::SWITCH<2, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >': callback_helpers.hpp:275: instantiated from `boost::details::generate_base_functor<void, double, double*>' callbacks.hpp:45: instantiated from `boost::callback<void, double, double*>' planet.h:194: instantiated from here callback_helpers.hpp:242: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<2, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callback_helpers.hpp:246: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<2, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor<void, double, double*>': callbacks.hpp:45: instantiated from `boost::callback<void, double, double*>' planet.h:194: instantiated from here callback_helpers.hpp:275: error: no type named `RET' in `struct boost::details::SWITCH<2, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callbacks.hpp: In instantiation of `boost::callback<void, double, double*>': planet.h:194: instantiated from here callbacks.hpp:45: error: no type named `RET' in `struct boost::details::generate_base_functor<void, double, double*>' callbacks.hpp:86: error: no type named `RET' in `struct boost::details::generate_base_functor<void, double, double*>' callbacks.hpp: In member function `boost::callback<RETURN_TYPE, ARG1, ARG2>& boost::callback<RETURN_TYPE, ARG1, ARG2>::operator=(const boost::callback<RETURN_TYPE, ARG1, ARG2>&) [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:169: instantiated from here callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: `mFunctor' undeclared (first use this function) callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp: In member function `bool boost::callback<RETURN_TYPE, ARG1, ARG2>::empty() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:302: instantiated from here callbacks.hpp:80: error: `mFunctor' undeclared (first use this function) callbacks.hpp: In member function `RETURN_TYPE boost::callback<RETURN_TYPE, ARG1, ARG2>::operator()() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:302: instantiated from here callbacks.hpp:75: error: `mFunctor' undeclared (first use this function) callbacks.hpp:75: error: return-statement with a value, in function returning 'void' callbacks.hpp: In constructor `boost::callback<RETURN_TYPE, ARG1, ARG2>::callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_tui.h:105: instantiated from here callbacks.hpp:53: error: unnamed initializer for `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>', which has no base classes callbacks.hpp: In destructor `boost::callback<RETURN_TYPE, ARG1, ARG2>::~callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_tui.h:105: instantiated from here callbacks.hpp:51: error: `mFunctor' undeclared (first use this function) make[3]: *** [main.o] Error 1 In file included from stel_object.h:23, from navigator.h:24, from stel_core.h:29, from stel_sdl.h:25, from stel_sdl.cpp:19: vecmath.h: In static member function `static Matrix4<T> Matrix4<T>::rotation(const Vector3<T>&)': vecmath.h:764: error: `angle' undeclared (first use this function) vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.) vecmath.h:764: error: no matching function for call to `cos(<type error>)' /usr/include/bits/mathcalls.h:64: note: candidates are: double cos(double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:185: note: long double std::cos(long double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:181: note: float std::cos(float) vecmath.h:765: error: no matching function for call to `sin(<type error>)' /usr/include/bits/mathcalls.h:66: note: candidates are: double sin(double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:371: note: long double std::sin(long double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:367: note: float std::sin(float) In file included from callbacks.hpp:25, from s_gui.h:43, from stel_core.h:39, from stel_sdl.h:25, from stel_sdl.cpp:19: callback_helpers.hpp: At global scope: callback_helpers.hpp:207: error: non-template `Result' used as template callback_helpers.hpp:207: note: use `typename boost::details::Selector<Condition>::RET::template Result' to indicate that it is a template callback_helpers.hpp:207: error: declaration does not declare anything In file included from stel_core.h:39, from stel_sdl.h:25, from stel_sdl.cpp:19: callback_helpers.hpp: In instantiation of `boost::details::SWITCH<0, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >': callback_helpers.hpp:275: instantiated from `boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' callbacks.hpp:45: instantiated from `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' s_gui.h:175: instantiated from here callback_helpers.hpp:242: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<0, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callback_helpers.hpp:246: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<0, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>': callbacks.hpp:45: instantiated from `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' s_gui.h:175: instantiated from here callback_helpers.hpp:275: error: no type named `RET' in `struct boost::details::SWITCH<0, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callbacks.hpp: In instantiation of `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>': s_gui.h:175: instantiated from here callbacks.hpp:45: error: no type named `RET' in `struct boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' callbacks.hpp:86: error: no type named `RET' in `struct boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' In file included from solarsystem.h:27, from stel_core.h:41, from stel_sdl.h:25, from stel_sdl.cpp:19: callback_helpers.hpp: In instantiation of `boost::details::SWITCH<2, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >': callback_helpers.hpp:275: instantiated from `boost::details::generate_base_functor<void, double, double*>' callbacks.hpp:45: instantiated from `boost::callback<void, double, double*>' planet.h:194: instantiated from here callback_helpers.hpp:242: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<2, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callback_helpers.hpp:246: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<2, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor<void, double, double*>': callbacks.hpp:45: instantiated from `boost::callback<void, double, double*>' planet.h:194: instantiated from here callback_helpers.hpp:275: error: no type named `RET' in `struct boost::details::SWITCH<2, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callbacks.hpp: In instantiation of `boost::callback<void, double, double*>': planet.h:194: instantiated from here callbacks.hpp:45: error: no type named `RET' in `struct boost::details::generate_base_functor<void, double, double*>' callbacks.hpp:86: error: no type named `RET' in `struct boost::details::generate_base_functor<void, double, double*>' callbacks.hpp: In member function `boost::callback<RETURN_TYPE, ARG1, ARG2>& boost::callback<RETURN_TYPE, ARG1, ARG2>::operator=(const boost::callback<RETURN_TYPE, ARG1, ARG2>&) [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:169: instantiated from here callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: `mFunctor' undeclared (first use this function) callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp: In member function `bool boost::callback<RETURN_TYPE, ARG1, ARG2>::empty() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:302: instantiated from here callbacks.hpp:80: error: `mFunctor' undeclared (first use this function) callbacks.hpp: In member function `RETURN_TYPE boost::callback<RETURN_TYPE, ARG1, ARG2>::operator()() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:302: instantiated from here callbacks.hpp:75: error: `mFunctor' undeclared (first use this function) callbacks.hpp:75: error: return-statement with a value, in function returning 'void' callbacks.hpp: In constructor `boost::callback<RETURN_TYPE, ARG1, ARG2>::callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_tui.h:105: instantiated from here callbacks.hpp:53: error: unnamed initializer for `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>', which has no base classes callbacks.hpp: In destructor `boost::callback<RETURN_TYPE, ARG1, ARG2>::~callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_tui.h:105: instantiated from here callbacks.hpp:51: error: `mFunctor' undeclared (first use this function) make[3]: *** [stel_sdl.o] Error 1 make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/stellarium-0.6.0/work/stellarium-0.6.0/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/stellarium-0.6.0/work/stellarium-0.6.0/src' make: *** [all-recursive] Error 1 !!! ERROR: app-sci/stellarium-0.6.0 failed. !!! Function src_compile, Line 502, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Computer ~ # In file included from stel_object.h:23, from navigator.h:24, from stel_core.h:29, from stel_core.cpp:22: vecmath.h: In static member function `static Matrix4<T> Matrix4<T>::rotation(const Vector3<T>&)': vecmath.h:764: error: `angle' undeclared (first use this function) vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.) vecmath.h:764: error: no matching function for call to `cos(<type error>)' /usr/include/bits/mathcalls.h:64: note: candidates are: double cos(double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:185: note: long double std::cos(long double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:181: note: float std::cos(float) vecmath.h:765: error: no matching function for call to `sin(<type error>)' /usr/include/bits/mathcalls.h:66: note: candidates are: double sin(double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:371: note: long double std::sin(long double) /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:367: note: float std::sin(float) In file included from callbacks.hpp:25, from s_gui.h:43, from stel_core.h:39, from stel_core.cpp:22: callback_helpers.hpp: At global scope: callback_helpers.hpp:207: error: non-template `Result' used as template callback_helpers.hpp:207: note: use `typename boost::details::Selector<Condition>::RET::template Result' to indicate that it is a template callback_helpers.hpp:207: error: declaration does not declare anything In file included from stel_core.h:39, from stel_core.cpp:22: callback_helpers.hpp: In instantiation of `boost::details::SWITCH<0, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >': callback_helpers.hpp:275: instantiated from `boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' callbacks.hpp:45: instantiated from `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' s_gui.h:175: instantiated from here callback_helpers.hpp:242: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<0, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callback_helpers.hpp:246: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<0, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>': callbacks.hpp:45: instantiated from `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' s_gui.h:175: instantiated from here callback_helpers.hpp:275: error: no type named `RET' in `struct boost::details::SWITCH<0, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, boost::details::unused_arg>, boost::details::CASE<2, boost::details::base_call_functor2<void, boost::details::unused_arg, boost::details::unused_arg>, boost::details::NilCase> > > >' callbacks.hpp: In instantiation of `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>': s_gui.h:175: instantiated from here callbacks.hpp:45: error: no type named `RET' in `struct boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' callbacks.hpp:86: error: no type named `RET' in `struct boost::details::generate_base_functor<void, boost::details::unused_arg, boost::details::unused_arg>' In file included from solarsystem.h:27, from stel_core.h:41, from stel_core.cpp:22: callback_helpers.hpp: In instantiation of `boost::details::SWITCH<2, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >': callback_helpers.hpp:275: instantiated from `boost::details::generate_base_functor<void, double, double*>' callbacks.hpp:45: instantiated from `boost::callback<void, double, double*>' planet.h:194: instantiated from here callback_helpers.hpp:242: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<2, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callback_helpers.hpp:246: error: no type named `RET' in `struct boost::details::IF< false, boost::details::NilCase, boost::details::SWITCH<2, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor<void, double, double*>': callbacks.hpp:45: instantiated from `boost::callback<void, double, double*>' planet.h:194: instantiated from here callback_helpers.hpp:275: error: no type named `RET' in `struct boost::details::SWITCH<2, boost::details::CASE<0, boost::details::base_call_functor0<void>, boost::details::CASE<1, boost::details::base_call_functor1<void, double>, boost::details::CASE<2, boost::details::base_call_functor2<void, double, double*>, boost::details::NilCase> > > >' callbacks.hpp: In instantiation of `boost::callback<void, double, double*>': planet.h:194: instantiated from here callbacks.hpp:45: error: no type named `RET' in `struct boost::details::generate_base_functor<void, double, double*>' callbacks.hpp:86: error: no type named `RET' in `struct boost::details::generate_base_functor<void, double, double*>' callbacks.hpp: In member function `boost::callback<RETURN_TYPE, ARG1, ARG2>& boost::callback<RETURN_TYPE, ARG1, ARG2>::operator=(const boost::callback<RETURN_TYPE, ARG1, ARG2>&) [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:169: instantiated from here callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: `mFunctor' undeclared (first use this function) callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp:69: error: 'const class boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>' has no member named 'mFunctor' callbacks.hpp: In member function `bool boost::callback<RETURN_TYPE, ARG1, ARG2>::empty() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:302: instantiated from here callbacks.hpp:80: error: `mFunctor' undeclared (first use this function) callbacks.hpp: In member function `RETURN_TYPE boost::callback<RETURN_TYPE, ARG1, ARG2>::operator()() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_gui.h:302: instantiated from here callbacks.hpp:75: error: `mFunctor' undeclared (first use this function) callbacks.hpp:75: error: return-statement with a value, in function returning 'void' callbacks.hpp: In constructor `boost::callback<RETURN_TYPE, ARG1, ARG2>::callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_tui.h:105: instantiated from here callbacks.hpp:53: error: unnamed initializer for `boost::callback<void, boost::details::unused_arg, boost::details::unused_arg>', which has no base classes callbacks.hpp: In destructor `boost::callback<RETURN_TYPE, ARG1, ARG2>::~callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]': s_tui.h:105: instantiated from here callbacks.hpp:51: error: `mFunctor' undeclared (first use this function)
I'm CCing this to the science team, which is in charge of the Stellarium package.
Was easier to fix than I expected from the report :-) Thanks for reporting. Next time please include the version number and emerge info output. Didn't matter much in this case, but one never knows.