hi nxp:
on ubuntu1404 ,I have get yocto by repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-morty -m imx-4.9.11-1.0.0_ga.xml
yocto imx-4.9.11-1.0.0_ga.xml
order:
$: MACHINE=imx6dlsabresd source fsl-setup-release.sh -b 810-q-src -e fb
$ bitbake core-image-minimal
$ bitbake -c populate_sdk meta-toolchain-qt5
# bitbake fsl-image-qt5
above all make ok
now qt need qtvirtualkeyboard
$ bitbake qtvirtualkeyboard
error display:
home/xx/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/stdlib.h:38:12: error: 'std::abort' has not been declared
| using std::abort;
| ^~~~~
| /home/xx/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/stdlib.h:39:12: error: 'std::atexit' has not been declared
| using std::atexit;
| ^~~~~~
| /home/xximx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/stdlib.h:40:12: error: 'std::exit' has not been declared
home/yqa/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/bits/basic_string.h: In function 'int std::__cxx11::stoi(const string&, std::size_t*, int)':
| /home/yqa/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/bits/basic_string.h:5413:42: error: 'strtol' is not a member of 'std'
| { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
| ^~~
| /home/yqa/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/bits/basic_string.h: In function 'long int std::__cxx11::stol(const string&, std::size_t*, int)':
| /home/yqa/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/bits/basic_string.h:5418:31: error: 'strtol' is not a member of 'std'
| { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
| ^~~
| /home/yqa/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/bits/basic_string.h: In function 'long unsigned int std::__cxx11::stoul(const string&, std::size_t*, int)':
| /home/yqa/imx6/fsl-arm-yocto-bsp/810-q-src/tmp/sysroots/imx6qsabresd/usr/include/c++/6.2.0/bits/basic_string.h:5423:31: error: 'strtoul' is not a member of 'std'
| { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
what cuse above errors ?
Hello y,
And I guess that some such broken code happened to go unnoticed with older versions of GCC/libstdc++
Regards