Hi, I am trying to build the demo https://github.com/skalk/genode/blob/i.MX53_tablet_demo/os/src/server/vmm/im... for the SABRE tablet.
In the final step of building the demo: ! make run/vmm
I encounter the following errors. I have run "make prepare" in the genode/libports directory, as suggested by https://sourceforge.net/p/genode/mailman/message/32241606/.
I am using Ubuntu 14.04. Any idea on how to fix this?
Thanks! Riju
============================================================================ Library stdcxx COMPILE allocator-inst.o COMPILE bad_alloc.o COMPILE bad_cast.o COMPILE bad_typeid.o COMPILE basic_file_stdio.o COMPILE bitmap_allocator.o COMPILE c_locale.o COMPILE chrono.o In file included from /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:25:0: /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long long int; <template-parameter-2-2> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:129:54: required from âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1ll>; _CR = long long int&&]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:241:33: error: invalid static_cast from type âconst long long intâ to type âstd::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >::rep {aka long long int&&}â : __r(static_cast<rep>(__rep)) { } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:129:54: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return _ToDur(static_cast<__to_rep>(__d.count())); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:234:12: note: âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â is implicitly deleted because the default definition would be ill-formed: constexpr duration(const duration&) = default; ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:234:12: error: copying non-static data member âlong long int&& std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >::__râ of rvalue reference type /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return __dc::__cast(__d); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:46: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:256:11: error: cannot bind âlong long intâ lvalue to âstd::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >::rep {aka long long int&&}â { return __r; } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:256:16: error: body of constexpr function âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â not a return-statement { return __r; } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:682:7: error: non-constant condition for static assertion static_assert(system_clock::duration::min() ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:7: in constexpr expansion of âstd::chrono::operator< <long long int, std::ratio<1ll, 1000000ll>, long long int, std::ratio<1ll, 1000000ll>
((*(const std::chrono::duration<long long int, std::ratio<1ll, 1000000ll>
*)(& std::chrono::duration<_Rep, _Period>::min<long long int, std::ratio<1ll, 1000000ll> >())), (*(const std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >*)(& std::chrono::duration<_Rep, _Period>::zero<long long int, std::ratio<1ll, 1000000ll> >())))â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: error: âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â called in a constant expression return __ct(__lhs).count() < __ct(__rhs).count(); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:255:2: note: âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â is not usable as a constexpr function because: count() const ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, false>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int>; _CF = std::ratio<1ll, 1000000ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int>; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:696:30: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:142:38: error: invalid static_cast from type âconst intmax_t {aka const long long int}â to type âlong long int&&â static_cast<_CR>(__d.count()) / static_cast<_CR>(_CF::den))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:143:4: error: body of constexpr function âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, false>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int>; _CF = std::ratio<1ll, 1000000ll>; _CR = long long int&&]â not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:583:66: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, std::chrono::time_point<_Clock, _ToDur> >::type std::chrono::time_point_cast(const std::chrono::time_point<_Clock, _Dur>&) [with _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _Clock = std::chrono::system_clock; _Dur = std::chrono::duration<long long int>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, std::chrono::time_point<_Clock, _ToDur> >::type = std::chrono::time_point<std::chrono::system_clock, std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> > >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:704:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:155:38: error: invalid static_cast from type âconst intmax_t {aka const long long int}â to type âlong long int&&â static_cast<_CR>(__d.count()) * static_cast<_CR>(_CF::num))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:156:4: error: body of constexpr function âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:34: required from âconstexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:155:38: error: invalid static_cast from type âconst intmax_t {aka const long long int}â to type âlong long int&&â static_cast<_CR>(__d.count()) * static_cast<_CR>(_CF::num))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:156:4: error: body of constexpr function âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:34: required from âconstexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return __dc::__cast(__d); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â: /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:55: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return __cd(__cd(__lhs).count() + __cd(__rhs).count()); ^ make[3]: *** [chrono.o] Error 1 make[2]: *** [stdcxx.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/rijurekha/genode/hw_imx53' Error: Genode build failed make: *** [run/vmm] Error 255 ============================================================================
Hello,
Which Genode tool chain are you using? The log hints you need a 4.7 based compiler.
Regards Christian
Am 2. Juni 2016 17:47:20 MESZ, schrieb rijurekha@...71...:
Hi, I am trying to build the demo https://github.com/skalk/genode/blob/i.MX53_tablet_demo/os/src/server/vmm/im... for the SABRE tablet.
In the final step of building the demo: ! make run/vmm
I encounter the following errors. I have run "make prepare" in the genode/libports directory, as suggested by https://sourceforge.net/p/genode/mailman/message/32241606/.
I am using Ubuntu 14.04. Any idea on how to fix this?
Thanks! Riju
============================================================================ Library stdcxx COMPILE allocator-inst.o COMPILE bad_alloc.o COMPILE bad_cast.o COMPILE bad_typeid.o COMPILE basic_file_stdio.o COMPILE bitmap_allocator.o COMPILE c_locale.o COMPILE chrono.o In file included from /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:25:0: /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long long int; <template-parameter-2-2> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:129:54: required from ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1ll>; _CR = long long int&&]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from ‘constexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:241:33: error: invalid static_cast from type ‘const long long int’ to type ‘std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll>
::rep
{aka long long int&&}’ : __r(static_cast<rep>(__rep)) { } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1ll>; _CR = long long int&&]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from ‘constexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:129:54: error: use of deleted function ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ return _ToDur(static_cast<__to_rep>(__d.count())); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:234:12: note: ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ is implicitly deleted because the default definition would be ill-formed: constexpr duration(const duration&) = default; ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:234:12: error: copying non-static data member ‘long long int&& std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >::__r’ of rvalue reference type /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from ‘constexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: error: use of deleted function ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ return __dc::__cast(__d); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘constexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:46: required from ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from ‘constexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:256:11: error: cannot bind ‘long long int’ lvalue to ‘std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >::rep {aka long long int&&}’ { return __r; } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:256:16: error: body of constexpr function ‘constexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]’ not a return-statement { return __r; } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:682:7: error: non-constant condition for static assertion static_assert(system_clock::duration::min() ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:7: in constexpr expansion of ‘std::chrono::operator< <long long int, std::ratio<1ll, 1000000ll>, long long int, std::ratio<1ll, 1000000ll>
((*(const std::chrono::duration<long long int, std::ratio<1ll,
1000000ll> *)(& std::chrono::duration<_Rep, _Period>::min<long long int, std::ratio<1ll, 1000000ll> >())), (*(const std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >*)(& std::chrono::duration<_Rep, _Period>::zero<long long int, std::ratio<1ll, 1000000ll> >())))’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: error: ‘constexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]’ called in a constant expression return __ct(__lhs).count() < __ct(__rhs).count(); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:255:2: note: ‘constexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]’ is not usable as a constexpr function because: count() const ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, false>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int>; _CF = std::ratio<1ll, 1000000ll>; _CR = long long int&&]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int>; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:696:30: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:142:38: error: invalid static_cast from type ‘const intmax_t {aka const long long int}’ to type ‘long long int&&’ static_cast<_CR>(__d.count()) / static_cast<_CR>(_CF::den))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:143:4: error: body of constexpr function ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, false>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int>; _CF = std::ratio<1ll, 1000000ll>; _CR = long long int&&]’ not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:583:66: required from ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, std::chrono::time_point<_Clock, _ToDur> >::type std::chrono::time_point_cast(const std::chrono::time_point<_Clock, _Dur>&) [with _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _Clock = std::chrono::system_clock; _Dur = std::chrono::duration<long long int>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, std::chrono::time_point<_Clock, _ToDur> >::type = std::chrono::time_point<std::chrono::system_clock, std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> > >]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:704:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:155:38: error: invalid static_cast from type ‘const intmax_t {aka const long long int}’ to type ‘long long int&&’ static_cast<_CR>(__d.count()) * static_cast<_CR>(_CF::num))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:156:4: error: body of constexpr function ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]’ not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:34: required from ‘constexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’ /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:155:38: error: invalid static_cast from type ‘const intmax_t {aka const long long int}’ to type ‘long long int&&’ static_cast<_CR>(__d.count()) * static_cast<_CR>(_CF::num))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:156:4: error: body of constexpr function ‘static constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]’ not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘constexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:34: required from ‘constexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’ /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: error: use of deleted function ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ return __dc::__cast(__d); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of ‘constexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]’: /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:55: error: use of deleted function ‘constexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]’ return __cd(__cd(__lhs).count() + __cd(__rhs).count()); ^ make[3]: *** [chrono.o] Error 1 make[2]: *** [stdcxx.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/rijurekha/genode/hw_imx53' Error: Genode build failed make: *** [run/vmm] Error 255 ============================================================================
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Thanks for the suggestion. I could successfully compile with an older version of the toolchain http://master.dl.sourceforge.net/project/genode/genode-toolchain/12.11/genod...
Thanks! Riju
Hello,
Which Genode tool chain are you using? The log hints you need a 4.7 based compiler.
Regards Christian
Am 2. Juni 2016 17:47:20 MESZ, schrieb rijurekha@...71...:
Hi, I am trying to build the demo https://github.com/skalk/genode/blob/i.MX53_tablet_demo/os/src/server/vmm/im... for the SABRE tablet.
In the final step of building the demo: ! make run/vmm
I encounter the following errors. I have run "make prepare" in the genode/libports directory, as suggested by https://sourceforge.net/p/genode/mailman/message/32241606/.
I am using Ubuntu 14.04. Any idea on how to fix this?
Thanks! Riju
============================================================================ Library stdcxx COMPILE allocator-inst.o COMPILE bad_alloc.o COMPILE bad_cast.o COMPILE bad_typeid.o COMPILE basic_file_stdio.o COMPILE bitmap_allocator.o COMPILE c_locale.o COMPILE chrono.o In file included from /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:25:0: /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr std::chrono::duration<_Rep, _Period>::duration(const _Rep2&) [with _Rep2 = long long int; <template-parameter-2-2> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:129:54: required from âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1ll>; _CR = long long int&&]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:241:33: error: invalid static_cast from type âconst long long intâ to type âstd::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll>
::rep
{aka long long int&&}â : __r(static_cast<rep>(__rep)) { } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:129:54: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return _ToDur(static_cast<__to_rep>(__d.count())); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:234:12: note: âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â is implicitly deleted because the default definition would be ill-formed: constexpr duration(const duration&) = default; ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:234:12: error: copying non-static data member âlong long int&& std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >::__râ of rvalue reference type /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return __dc::__cast(__d); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:46: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: required from âconstexpr bool std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll, 1000000ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:256:11: error: cannot bind âlong long intâ lvalue to âstd::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >::rep {aka long long int&&}â { return __r; } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:256:16: error: body of constexpr function âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â not a return-statement { return __r; } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:682:7: error: non-constant condition for static assertion static_assert(system_clock::duration::min() ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:683:7: in constexpr expansion of âstd::chrono::operator< <long long int, std::ratio<1ll, 1000000ll>, long long int, std::ratio<1ll, 1000000ll>
((*(const std::chrono::duration<long long int, std::ratio<1ll,
1000000ll> *)(& std::chrono::duration<_Rep, _Period>::min<long long int, std::ratio<1ll, 1000000ll> >())), (*(const std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >*)(& std::chrono::duration<_Rep, _Period>::zero<long long int, std::ratio<1ll, 1000000ll> >())))â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:472:29: error: âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â called in a constant expression return __ct(__lhs).count() < __ct(__rhs).count(); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:255:2: note: âconstexpr std::chrono::duration<_Rep, _Period>::rep std::chrono::duration<_Rep, _Period>::count() const [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>; std::chrono::duration<_Rep, _Period>::rep = long long int&&]â is not usable as a constexpr function because: count() const ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, false>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int>; _CF = std::ratio<1ll, 1000000ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int>; _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:696:30: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:142:38: error: invalid static_cast from type âconst intmax_t {aka const long long int}â to type âlong long int&&â static_cast<_CR>(__d.count()) / static_cast<_CR>(_CF::den))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:143:4: error: body of constexpr function âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, true, false>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll, 1000000ll>; _ToDur = std::chrono::duration<long long int>; _CF = std::ratio<1ll, 1000000ll>; _CR = long long int&&]â not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:583:66: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, std::chrono::time_point<_Clock, _ToDur> >::type std::chrono::time_point_cast(const std::chrono::time_point<_Clock, _Dur>&) [with _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _Clock = std::chrono::system_clock; _Dur = std::chrono::duration<long long int>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, std::chrono::time_point<_Clock, _ToDur> >::type = std::chrono::time_point<std::chrono::system_clock, std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> > >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:704:38: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:155:38: error: invalid static_cast from type âconst intmax_t {aka const long long int}â to type âlong long int&&â static_cast<_CR>(__d.count()) * static_cast<_CR>(_CF::num))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:156:4: error: body of constexpr function âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: required from âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:34: required from âconstexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:155:38: error: invalid static_cast from type âconst intmax_t {aka const long long int}â to type âlong long int&&â static_cast<_CR>(__d.count()) * static_cast<_CR>(_CF::num))); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono:156:4: error: body of constexpr function âstatic constexpr _ToDur std::chrono::__duration_cast_impl<_ToDur, _CF, _CR, false, true>::__cast(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int; _Period = std::ratio<1ll>; _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _CF = std::ratio<1000000ll, 1ll>; _CR = long long int&&]â not a return-statement } ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type std::chrono::duration_cast(const std::chrono::duration<_Rep, _Period>&) [with _ToDur = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >; _Rep = long long int; _Period = std::ratio<1ll>; typename std::enable_if<std::chrono::__is_duration<_Tp>::value, _ToDur>::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â: /home/rijurekha/genode/libports/include/stdcxx/std/chrono:248:37: required from âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep2 = long long int; _Period2 = std::ratio<1ll>; <template-parameter-2-3> = void; _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:34: required from âconstexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:183:25: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return __dc::__cast(__d); ^ /home/rijurekha/genode/libports/include/stdcxx/std/chrono: In instantiation of âconstexpr typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type std::chrono::operator+(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long long int; _Period1 = std::ratio<1ll>; _Rep2 = long long int; _Period2 = std::ratio<1ll, 1000000ll>; typename std::common_type<std::chrono::duration<_Rep1, _Period1>, std::chrono::duration<_Rep2, _Period2> >::type = std::chrono::duration<long long int&&, std::ratio<1ll, 1000000ll> >]â: /home/rijurekha/genode/libports/contrib/stdcxx-4.7.2/src/c++11/chrono.cc:58:39: required from here /home/rijurekha/genode/libports/include/stdcxx/std/chrono:363:55: error: use of deleted function âconstexpr std::chrono::duration<_Rep, _Period>::duration(const std::chrono::duration<_Rep, _Period>&) [with _Rep = long long int&&; _Period = std::ratio<1ll, 1000000ll>]â return __cd(__cd(__lhs).count() + __cd(__rhs).count()); ^ make[3]: *** [chrono.o] Error 1 make[2]: *** [stdcxx.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/rijurekha/genode/hw_imx53' Error: Genode build failed make: *** [run/vmm] Error 255 ============================================================================
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
-- Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ · /ËdÊiË.nÉÊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main