||03-30-2013 04:14 PM
Problem compiling kernel on Slackware
I use Slackware 14.0. Trying to remove unnecessary files I uninstalled kernel-src package. I already had the source, cloned from git. But after I removed it, seems, that standard Include directories, pointing to /usr/src/linux were corrupted. And now I can't run make menuconfig to compile the new kernel:
# make menuconfig
In file included from /usr/include/sys/socket.h:40:0,
/usr/include/bits/socket.h:384:24: fatal error: asm/socket.h: No such file or directory
How to restore C_INCLUDE_PATH variable, so the compiler could find the include files from kernel source?