Error when compiling 2.4.26(can't find the include files)
I recently tried to compile 2.6.6 and refused to even make menuconfig because it was unable to find some files. So i decided to try with 2.4.26. The menuconfig was Ok, but then after "make dep" it returned the same error like 2.6.6 (it was complaining about missing <limits.h>. I found the file that required it and I edited it:
from:
#include <linux/limits.h>
to:
#include </usr/src/linux/include/linux/limits.h>
It worked for make dep, but when I do make bzImage it complains about other include files and this is because it doesn't know the path to them. I can't edit hundred of files so I need to find a way to tell the compiler or make or whatever needs this files the path to them. I don't know why it can't find them itself.
The question is how to specify the path to this files or am i doing all of this wrong?
|