Hello,
I try to force to change my current toolchain from arm-poky-linux-gnueabi to gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf. My base is Legato-Dist-Source-mdm9x15-SWI9X15Y_07.11.09.00. Using poky-linux there is no problem everything compile as it should. I found somewhere in internet that it is necessary in main directory make
- git clone git://git.linaro.org/openembedded/meta-linaro.git
- Add in build_bin/conf/local.conf following lines
TCMODE = “external-linaro”
EXTERNAL_TOOLCHAIN = “/path/to/linaro”
Unfortunately this two lines generate problems
Updating MANGOH_WIFI_REPO to /home/voloviq/Compilation_Folder/Legato/yocto/mangOH/WiFi
Updating KBRANCH_DEFAULT_MDM9X15 to standard/swi-mdm9x15-yocto-1.7-swi-le55
Updating KMETA_DEFAULT_MDM9X15 to meta-yocto-1.7-swi-le55
Build image of minimal rootfs (for swi-mdm9x15).
ERROR: Traceback (most recent call last):
File “/home/…/yocto/poky/bitbake/lib/bb/cookerdata.py”, line 174, in wrapped
return func(fn, *args)
File “/home/…/yocto/poky/bitbake/lib/bb/cookerdata.py”, line 184, in parse_config_file
…
ParseError: ParseError at /home/…/yocto/poky/meta/conf/distro/defaultsetup.conf:7: Could not include required file conf/distro/include/tcmode-external-linaro.inc
ERROR: Unable to parse conf/bitbake.conf: ParseError at /home/…/yocto/poky/meta/conf/distro/defaultsetup.conf:7: Could not include required file conf/distro/include/tcmode-external-linaro.inc
In meta-linaro->meta…toolchain I found missing tcmode-external-linaro.inc but how to handle this.
Why I want to change compiler, the answer is easy
/opt/swi/y17-ext/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:10:29: fatal error: gnu/stubs-hard.h: No such file or directory
include <gnu/stubs-hard.h>
^
compilation terminated.
…
C++11 disabled.
ERROR: Qt requires a C++11 compiler and yours does not seem to be that.
Please upgrade.
I’m stuck currently.
Thanks
Best Regards
Voloviq