Skip to main content
Visitor II
March 21, 2024
Solved

compilation error of kernel in previous ecosystem 4.1

  • March 21, 2024
  • 1 reply
  • 996 views

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,

 

    This topic has been closed for replies.
    Best answer by developer2

    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 ...

     

    1 reply

    developer2AuthorAnswer
    Visitor II
    March 22, 2024

    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 ...