Skip to main content
Visitor II
June 26, 2019
Question

Why prepare the Linux® kernel source code error?

  • June 26, 2019
  • 2 replies
  • 1485 views

I want to why the error and how to solve the error.

    This topic has been closed for replies.

    2 replies

    Graduate II
    June 26, 2019

    Install the packages and libraries the build process requires to do its job.

    Here ensure you have bison.​

    User.42Author
    Visitor II
    June 27, 2019

    Thanks,I have found the mistake and solve the problem. Maybe I have lost some steps. Thanks!!!!!

    Technical Moderator
    June 26, 2019

    Hi,

    Did you properly install and source the SDK ?

    Follow carefully user guide here :

    https://wiki.st.com/stm32mpu/wiki/Cross-compile_with_OpenSTLinux_SDK

    For package requirement please see this link ;

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

     Hope it help

    Olivier

    Graduate II
    June 26, 2019

    In my experience different distributions have different package names, this might have improved in recent years, but most anyone building a kernel should know these type of issue are due to dependencies their stock installation is lacking.

    0690X000008jFTAQA2.jpg

    #MyCvSaysIKnowLinux #CantCompileAKernel