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
For your reference: https://community.nxp.com/docs/DOC-343758
Thanks a lot ! I built the linux-imx 4.14.98_2.0.0_ga bsp under Ubuntu 14.04 and finished successfully!
But I meet another problem when I building the vsftpd server pack.I used vsftpd-3.0.2 version and the
gcc-arm-none-eabi-6-2017-q2-update toolchain. The errors are as follows:
ftppolicy.c:18:24: fatal error: sys/socket.h: No such file or directory
#include <sys/socket.h>
^
compilation terminated.
I build it successfully using gcc compiler. But when I using arm-none-eabi-gcc it failed !
And I built it successfully using another cross-compiler,which I used on a ti's am3354 board. I want to
switch from am335x to imx6 series.
Have you ever meet the same problems?