Or, if you have kernel sources installed, the following symlinks in /usr/include are fine (if they're not created automatically by the kernel-source package). This can be done instead of installing kernel-headers, saving space. lrwxrwxrwx 1 root root 26 Sep 1 23:27 asm -> /usr/src/linux/include/asm lrwxrwxrwx 1 root root 28 Sep 1 23:27 linux -> /usr/src/linux/include/linux