I want to compile a Kernel module.
What is the minimal set of packages that I need to download to succeed?
You need build-essential and kernel headers.
sudo apt-get install linux-headers-$(uname -r) build-essential
At a minimum, you will need gcc and the kernel headers (linux-libc-dev ).
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
2 years ago
1 year ago