To use some kernel headers, such as cpu.h in C encoding, I want to set the kernel headers to the / usr / include / directory. To do this, I use the command "make headers_install". But the system throws the following error. In any case, have an idea how to solve it?
make headers_install
CHK include/linux/version.h
make[2]: *** No rule to make target `/usr/src/linux-headers-3.0.0-17-generic/ubuntu/include/linux/aufs_type.h', needed by `/usr/src/linux-headers-3.0.0-17-generic/usr/include/linux/.install'. Stop.
make[1]: *** [linux] Error 2
make: *** [headers_install] Error 2
My kernel version is: 3.0.0-17-generic Do I need to install anything else for "make headers_install" to work for success?
bobby source
share