Skip to main content
User.42
Associate
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

Tesla DeLorean
Guru
June 26, 2019

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

Here ensure you have bison.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
User.42
User.42Author
Associate
June 27, 2019

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

Olivier GALLIEN
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

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.
Tesla DeLorean
Guru
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

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..