Skip to main content
JSpra
Associate III
July 24, 2020
Solved

linux-5.4.31 kernel build fail

  • July 24, 2020
  • 3 replies
  • 2576 views

Hi,

I'm getting errors when building the latest kernel for Developer-Package's linux-5.4.31. (Please see error below). Anyone else successfully built this version?

/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/sources/arm-ostl-linux-gnueabi/linux-stm32mp-5.4.31-r0/linux-5.4.31/scripts/dtc/yamltree.c:9:10: fatal error: yaml.h: No such file or directory

 #include <yaml.h>

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Indeed, yaml package is a new package request to build latest openstlinux-5.4-dunfell.

sudo apt-get install yaml on your host station likely fix the problem.

see :

https://wiki.st.com/stm32mpu/wiki/PC_prerequisites#Install_extra_packages

Olivier

3 replies

JSpra
JSpraAuthor
Associate III
July 24, 2020

I sorted it out, it was on my end. Sorry to bother you!

You can close this!

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
July 27, 2020

Indeed, yaml package is a new package request to build latest openstlinux-5.4-dunfell.

sudo apt-get install yaml on your host station likely fix the problem.

see :

https://wiki.st.com/stm32mpu/wiki/PC_prerequisites#Install_extra_packages

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
JSpra
JSpraAuthor
Associate III
July 28, 2020

Thanks Oliver,

Yeah, I caught that, helps to read instructions. Skipped right past that since I was assuming prerequisites were same as 20-02-19 release. Silly me for making assumptions.

Much appreciated!