Skip to main content
JSpra
Associate III
Jul 24, 2020 4:10 PM UTC
Solved

linux-5.4.31 kernel build fail

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.
Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Jul 27, 2020 11:01 AM UTC

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

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.

3 replies

JSpra
JSpraAuthor
Associate III
Jul 24, 2020 9:33 PM UTC

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

You can close this!

Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Jul 27, 2020 11:01 AM UTC

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

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
Jul 28, 2020 12:25 AM UTC

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!