I also get the error:
In file included from /usr/include/bits/posix1_lim.h:153,
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
So I assume the headers or something are missing. I checked the slackware website and the testing section has got packages for kerel 30.5.
If I installed the kernel from source, do I still need to install any headers/sources? Isn't it just a question of making some symlinks?
I made a symlink (/usr/src/linux) of the kernel directory (/usr/src/linux-22.214.171.124). Was it a good thing to do?