intel-bmc / mctpwplus Goto Github PK
View Code? Open in Web Editor NEWMCTP Wrapper Library Plus
License: Other
MCTP Wrapper Library Plus
License: Other
Hi All,
I am trying to integrate mctpwplus as part of our opensource build (openbmc). We are using openbmc 2.14 and boost 1.80.00 for our project.
I am getting compilations error in mctpwplus library and would need some help to resolve this error:
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/coroutine/detail/pull_coroutine_object.hp
p:48:9: required from 'boost::coroutines::detail::pull_coroutine_context::pull_coroutine_context(const boost::coroutines::detail::preallocated&, Coro*) [with Coro = boost::coroutines::det
ail::pull_coroutine_object<boost::coroutines::push_coroutine, void, boost::asio::detail::spawned_coroutine_thread::entry_point<boost::asio::detail::old_spawn_entry_point<boost::asio::
strand<boost::asio::io_context::basic_executor_type<std::allocator, 0> >, mctpw::onInterfacesAdded(sd_bus_message*, void*, sd_bus_error*)::<lambda(boost::asio::yield_context)>, void (
)()> >, boost::coroutines::basic_standard_stack_allocatorboost::coroutines::stack_traits >]'
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/coroutine/detail/pull_coroutine_object.hp
p:276:34: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/asio/impl/spawn.hpp:77:17: required fro
m 'static boost::asio::detail::spawned_thread_base boost::asio::detail::spawned_coroutine_thread::spawn(F&&, const boost::coroutines::attributes&, boost::asio::cancellation_slot, boost::as
io::cancellation_state) [with F = boost::asio::detail::old_spawn_entry_point<boost::asio::strand<boost::asio::io_context::basic_executor_type<std::allocator, 0> >, mctpw::onInterfaces
Added(sd_bus_message*, void*, sd_bus_error*)::<lambda(boost::asio::yield_context)>, void ()()>]'
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/asio/impl/spawn.hpp:1486:48: required f
rom 'void boost::asio::spawn(Handler&&, Function&&, const boost::coroutines::attributes&, typename constraint<(((! is_executor<typename std::decay::type>::value) && (! exec
ution::is_executor<typename std::decay<_Tp>::type>::value)) && (! std::is_convertible<ExecutionContext&, execution_context&>::value))>::type) [with Handler = executor_binder<void ()(), str
and<io_context::basic_executor_type<std::allocator, 0> > >; Function = mctpw::onInterfacesAdded(sd_bus_message*, void*, sd_bus_error*)::<lambda(yield_context)>; typename constraint<((
(! is_executor<typename std::decay::type>::value) && (! execution::is_executor<typename std::decay<_Tp>::type>::value)) && (! std::is_convertible<ExecutionContext&, executi
on_context&>::value))>::type = int; typename std::decay::type = std::decay<executor_binder<void ()(), strand<io_context::basic_executor_type<std::allocator, 0> > > >
::type; typename std::decay<_Tp>::type = std::decay<executor_binder<void ()(), strand<io_context::basic_executor_type<std::allocator, 0> > > >::type]'
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/asio/impl/spawn.hpp:1526:21: required f
rom 'void boost::asio::spawn(const strand&, Function&&, const boost::coroutines::attributes&) [with Function = mctpw::onInterfacesAdded(sd_bus_message*, void*, sd_bus_error*)::<la
mbda(yield_context)>; Executor = io_context::basic_executor_type<std::allocator, 0>]'
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/asio/impl/spawn.hpp:1517:21: required f
rom 'void boost::asio::spawn(const Executor&, Function&&, const boost::coroutines::attributes&, typename constraint<(is_executor::value || execution::is_executor::value)
::type) [with Function = mctpw::onInterfacesAdded(sd_bus_message*, void*, sd_bus_error*)::<lambda(yield_context)>; Executor = io_context::basic_executor_type<std::allocator, 0>; type
name constraint<(is_executor::value || execution::is_executor::value)>::type = int]'
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/asio/impl/spawn.hpp:1552:21: required f
rom 'void boost::asio::spawn(ExecutionContext&, Function&&, const boost::coroutines::attributes&, typename constraint<std::is_convertible<ExecutionContext&, execution_context&>::value>::typ
e) [with Function = mctpw::onInterfacesAdded(sd_bus_message*, void*, sd_bus_error*)::<lambda(yield_context)>; ExecutionContext = io_context; typename constraint<std::is_convertible<Executio
nContext&, execution_context&>::value>::type = int]'
| ../git/dbus_cb.cpp:128:35: required from here
| /home/san/build//mctpwplus/1.0+gitAUTOINC+2f525a71e7-r0/recipe-sysroot/usr/include/boost/asio/impl/spawn.hpp:1445:49: error: too many arguments to function
| 1445 | BOOST_ASIO_MOVE_OR_LVALUE(Handler)(handler_)(function_(yield));
| | ^
Thanks,
Santosh
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.