zephyriot / zephyr-issues

0 stars 0 forks source link

[NRF][BT] Makefile:946: recipe for target 'include/generated/generated_dts_board.h' failed #1933

Closed nashif closed 7 years ago

nashif commented 7 years ago

Reported by guiwu guo:

I try to build the sample/bluetooth/central_hr by command of "make BOARD=nrf52_pca10040", it build fail , the log is show like below. And I try to build some other bluetooth sample, it seem it will be also fail, when I use the BOARD as nrf52_pca10040.

{code:java} GEN ./Makefile CHK include/generated/version.h UPD include/generated/version.h DTC dts/arm/nrf52_pca10040.dts_compiled CHK include/generated/generated_dts_board.h Traceback (most recent call last): File "/home/hbl/parkinglot/zephyr/scripts/extract_dts_includes.py", line 6, in import yaml ImportError: No module named 'yaml' /home/hbl/parkinglot/zephyr/Makefile:946: recipe for target 'include/generated/generated_dts_board.h' failed make[2]: [include/generated/generated_dts_board.h] Error 1 make[2]: Leaving directory '/home/hbl/parkinglot/zephyr/samples/bluetooth/central/outdir/nrf52_pca10040' Makefile:177: recipe for target 'sub-make' failed make[1]: [sub-make] Error 2 make[1]: Leaving directory '/home/hbl/parkinglot/zephyr' /home/hbl/parkinglot/zephyr/Makefile.inc:82: recipe for target 'all' failed make: *** [all] Error 2

{code}

(Imported from Jira ZEP-2092)

nashif commented 7 years ago

by Maureen Helm:

Looks like you're missing the python yaml package. Try installing it with: {{$ sudo apt-get install python3-yaml}}

nashif commented 7 years ago

by guiwu guo:

Oh! it build pass now, thinks for your help.

nashif commented 7 years ago

Related to GH-1928