cancel
Showing results for 
Search instead for 
Did you mean: 

compilation error of kernel in previous ecosystem 4.1

developer2
Senior

Hi,

i'm trying to compile kernel from Ecosystem 4.1 , i'm downloading :

https://www.st.com/en/embedded-software/stm32mp1dev.html#get-software

... version 4.1.0, kernel is linux-stm32mp-5.15.67-stm32mp-r2-r0/linux-5.15.67

error from compilation :

 

 

  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.[ch]
  HOSTCC  scripts/dtc/yamltree.o
scripts/dtc/yamltree.c:9:10: fatal error: yaml.h: No such file or directory
    9 | #include <yaml.h>
      |          ^~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:112: scripts/dtc/yamltree.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1458: scripts_dtc] Error 2

 

 

it seems that there is missing support for yaml in SDK stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23, in directory x86_64-ostl_sdk-linux,

is there a way how to append yaml support into x86_64-ostl_sdk-linux ? or is ecosystem 4.1 not compilable ?

Kind regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions
developer2
Senior

problem solved,

i started again from clean and it's successfully compiling ...

possibly issue occurred because i tried other versions of Developer package and i forgot to refresh environment to different SDK ... case closed ...

 

View solution in original post

1 REPLY 1
developer2
Senior

problem solved,

i started again from clean and it's successfully compiling ...

possibly issue occurred because i tried other versions of Developer package and i forgot to refresh environment to different SDK ... case closed ...