On Mar 8, 2017, at 9:02 AM, A Molina-SW Dev via Zephyr-users <zephyr-users@...> wrote:
I was testing out building the v1.6.0 kernel using SDK v0.9 for BOARD=arduino_101 and it failed. I was able to build it using the SDK v0.8.2, but it failed to flash via openOCD.
I´m using Ubuntu 16.04.2 LTS 64-bit as build host.
alexm@ubu1504:~/swdev/zephyr/samples/hello_world$ git branch * (HEAD detached at v1.6.0) master
alexm@ubu1504:~/swdev/zephyr/samples/hello_world$ make O=/home/alexm/swdev/zephyr_build BOARD=arduino_101 flash
Using /home/alexm/swdev/zephyr/boards/x86/arduino_101/arduino_101_defconfig as base Merging /home/alexm/swdev/zephyr/kernel/configs/unified.config Merging prj.conf # # configuration written to .config # make[1]: Entering directory '/home/alexm/swdev/zephyr' make[2]: Entering directory '/home/alexm/swdev/zephyr_build' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig make[2]: /home/alexm/swdev/zephyr-sdk-0.9/sysroots/i686-pokysdk-linux/usr/bin/iamcu-poky-elfiamcu/i586-poky-elfiamcu-gcc: Command not found make[2]: /home/alexm/swdev/zephyr-sdk-0.9/sysroots/i686-pokysdk-linux/usr/bin/iamcu-poky-elfiamcu/i586-poky-elfiamcu-gcc: Command not found /bin/sh: 1: /home/alexm/swdev/zephyr-sdk-0.9/sysroots/i686-pokysdk-linux/usr/bin/iamcu-poky-elfiamcu/i586-poky-elfiamcu-gcc: not found dirname: missing operand Try 'dirname --help' for more information. make[2]: /home/alexm/swdev/zephyr-sdk-0.9/sysroots/i686-pokysdk-linux/usr/bin/iamcu-poky-elfiamcu/i586-poky-elfiamcu-gcc: Command not found
Seems like something isn’t right with your zephyr-sdk-0.9 install. What do you get for:
ls /home/alexm/swdev/zephyr-sdk-0.9/sysroots/i686-pokysdk-linux/usr/bin/iamcu-poky-elfiamcu