cancel
Showing results for 
Search instead for 
Did you mean: 

linux-5.4.31 kernel build fail

JSpra
Associate III

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>

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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.

View solution in original post

3 REPLIES 3
JSpra
Associate III

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

You can close this!

Olivier GALLIEN
ST Employee

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
Associate III

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!