Вам нужны встроенные и ядровые заголовки.
sudo apt-get install linux-headers-$(uname -r) build-essential