AnsweredAssumed Answered

ERROR: Task (.../imx-yocto-bsp/sources/poky/meta/recipes-support/boost/boost_1.66.0.bb:do_compile) failed with exit code '1'

Question asked by 春健 袁 on Oct 7, 2019
Latest reply on Oct 14, 2019 by 春健 袁

When I building the linux-imx 4.14.98_2.0.0_ga for my imx6ul-evk board,I meet the following problem when compiling boost:

 

...skipped <p/home/yuan/mx6ul/bin/imx-yocto-bsp/imx6ul-fb/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/boost/1.66.0-r0/boost_1_66_0/arm-poky-linux-gnueabi/boost/bin.v2/libs/log/build/14d04638296b00e2b995e148734cd73f>libboost_log.so.1.66.0 for lack of <p/home/yuan/mx6ul/bin/imx-yocto-bsp/imx6ul-fb/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/boost/1.66.0-r0/boost_1_66_0/arm-poky-linux-gnueabi/boost/bin.v2/libs/log/build/14d04638296b00e2b995e148734cd73f>text_file_backend.o...
...skipped <pstage/lib>libboost_log.so.1.66.0 for lack of <p/home/yuan/mx6ul/bin/imx-yocto-bsp/imx6ul-fb/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/boost/1.66.0-r0/boost_1_66_0/arm-poky-linux-gnueabi/boost/bin.v2/libs/log/build/14d04638296b00e2b995e148734cd73f>libboost_log.so.1.66.0...
...failed updating 1 target...

 

ERROR: Task (/home/yuan/mx6ul/bin/imx-yocto-bsp/sources/poky/meta/recipes-support/boost/boost_1.66.0.bb:do_compile) failed with exit code '1'

 

how can I solve the problem?

 

I use ubuntu 16.04 as the host machine.

 

and the log file sees:

In file included from ./boost/log/core/core.hpp:22:0,
                 from ./boost/log/core.hpp:20,
                 from libs/log/src/setup/init_from_settings.cpp:53:
./boost/log/detail/light_function.hpp: In static member function 'static boost::log::v2_mt_posix::aux::light_function<void(ArgsT ...)>::result_type boost::log::v2_mt_posix::aux::light_function<void(ArgsT ...)>::impl<FunT>::invoke_impl(void*, ArgsT ...) [with FunT = boost::log::v2_mt_posix::expressions::aux::message_formatter; ArgsT = {const boost::log::v2_mt_posix::record_view&, boost::log::v2_mt_posix::expressions::aux::stream_ref<boost::log::v2_mt_posix::basic_formatting_ostream<char, std::char_traits<char>, std::allocator<char> > >}]':
./boost/log/detail/light_function.hpp:360:28: note: parameter passing for argument of type 'boost::log::v2_mt_posix::expressions::aux::stream_ref<boost::log::v2_mt_posix::basic_formatting_ostream<char> >' changed in GCC 7.1
         static result_type invoke_impl(void* self, ArgsT... args)
                            ^~~~~~~~~~~
./boost/log/detail/light_function.hpp: In static member function 'static boost::log::v2_mt_posix::aux::light_function<void(ArgsT ...)>::result_type boost::log::v2_mt_posix::aux::light_function<void(ArgsT ...)>::impl<FunT>::invoke_impl(void*, ArgsT ...) [with FunT = boost::log::v2_mt_posix::expressions::aux::message_formatter; ArgsT = {const boost::log::v2_mt_posix::record_view&, boost::log::v2_mt_posix::expressions::aux::stream_ref<boost::log::v2_mt_posix::basic_formatting_ostream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >}]':
./boost/log/detail/light_function.hpp:360:28: note: parameter passing for argument of type 'boost::log::v2_mt_posix::expressions::aux::stream_ref<boost::log::v2_mt_posix::basic_formatting_ostream<wchar_t> >' changed in GCC 7.1

Outcomes