Reputation: 4547
We have customized intel core-i7-64 machine and we developed Yocto image and SDK for the hardware.
After sourcing the environment script and running make modules_prepare
, I get the following warning:
Makefile:956: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
The same error happens when I compile out of tree modules. How can I remove this error? What all packages should we need to add to avoid this.
Upvotes: 2
Views: 2389
Reputation: 923
Install libelf-dev
and elfutils
package. If you are using Ubuntu or any Debian variant then use the following command to install them.
sudo apt install libelf-dev
Upvotes: 2