cancel
Showing results for 
Search instead for 
Did you mean: 

Why prepare the Linux® kernel source code error?

User.42
Associate

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

4 REPLIES 4

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
Olivier GALLIEN
ST Employee

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.

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 Venmo
Up vote any posts that you find helpful, it shows what's working..

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