Re: help!!!Using Windows 10 WSL (Windows Subsystem for Linux) build error


Carles Cufi
 

Hi there,

 

The issue is not with Zephyr but with your Windows version. You need to update to the Windows 10 Creator’s Edition, or any build higher than 15002.

 

Regards,

 

Carles

 

 

From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...] On Behalf Of ? ?
Sent: 04 July 2017 17:56
To: zephyr-devel@...
Subject: [Zephyr-devel] help!!!Using Windows 10 WSL (Windows Subsystem for Linux) build error

 

      Anyone help!Zephyr zephyr-zephyr-v1.8.0/zephyr-zephyr-v1.7.0 build error with Using Windows 10 WSL (Windows Subsystem for Linux).

 

zz@DESKTOP-ZZ:/mnt/c/zephyr-zephyr-v1.8.0/samples/hello_world$ make BOARD=arduino_101

make[1]: Entering directory `/mnt/c/zephyr-zephyr-v1.8.0'

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: Syntax error: ")" unexpected

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: Syntax error: ")" unexpected

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: Syntax error: ")" unexpected

dirname: missing operand

Try 'dirname --help' for more information.

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: Syntax error: ")" unexpected

make[2]: Entering directory `/mnt/c/zephyr-zephyr-v1.8.0/samples/hello_world/outdir/arduino_101'

  CHK     include/generated/generated_dts_board.conf

  Using /mnt/c/zephyr-zephyr-v1.8.0 as source for kernel

  CHK     include/generated/version.h

  CHK     include/generated/generated_dts_board.h

  CHK     misc/generated/configs.c

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc: Syntax error: ")" unexpected

make[3]: *** [arch/x86/core/offsets/offsets.o] Error 2

make[2]: *** [prepare] Error 2

make[2]: Leaving directory `/mnt/c/zephyr-zephyr-v1.8.0/samples/hello_world/outdir/arduino_101'

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/mnt/c/zephyr-zephyr-v1.8.0'

make: *** [all] Error 2

zz@DESKTOP-ZZ:/mnt/c/zephyr-zephyr-v1.8.0/samples/hello_world$ make BOARD=nucleo_l476rg

make[1]: Entering directory `/mnt/c/zephyr-zephyr-v1.8.0'

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: Syntax error: ")" unexpected

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: Syntax error: ")" unexpected

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: Syntax error: ")" unexpected

dirname: missing operand

Try 'dirname --help' for more information.

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: Syntax error: ")" unexpected

make[2]: Entering directory `/mnt/c/zephyr-zephyr-v1.8.0/samples/hello_world/outdir/nucleo_l476rg'

  DTC     dts/arm/nucleo_l476rg.dts_compiled

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: Syntax error: ")" unexpected

make[3]: *** [dts/arm/nucleo_l476rg.dts_compiled] Error 2

  Using /mnt/c/zephyr-zephyr-v1.8.0 as source for kernel

  CHK     include/generated/version.h

  DTC     dts/arm/nucleo_l476rg.dts_compiled

/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: 1: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc: Syntax error: ")" unexpected

make[3]: *** [dts/arm/nucleo_l476rg.dts_compiled] Error 2

make[2]: *** [include/generated/generated_dts_board.h] Error 2

make[2]: Leaving directory `/mnt/c/zephyr-zephyr-v1.8.0/samples/hello_world/outdir/nucleo_l476rg'

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/mnt/c/zephyr-zephyr-v1.8.0'

make: *** [all] Error 2

发送自 Windows 10 邮件应用

 

Join devel@lists.zephyrproject.org to automatically receive all group messages.