Kernel Compilation ( Header file not found)
Hi,
I am using Fedora 11 and recently I compiled kernel 2.6.32.8. I was trying to make some change in the kernel and I have included #include<linux/mmzone.h. file . But when I tried to compile it gives "No such file or directory". I checked that this file is not in /usr/include/linux but it is there in /usr/src/linux-2.6.32.8/include/linux. I getting same error for some other header file too.
I have not idea what to do it to make. I do not want to give full path. Suggest what to do.
Okay let me put the question in this way.
When there is a header file say <linux/xyz.h> then how system finds the header file.
My problem is that this header file <linux/xyz.h> is not in original /usr/include/linux but it is present at /usr/src/linux-2.6.32.8/include/linux. I want header files to be taken from the new location too.
In which all files I have to make changes. Do I have to create certain rule for this.
Please suggest.
Last edited by ravishekhar.82; 02-24-2010 at 12:48 AM.
|