Results 1 to 3 of 3
I am installing an application on the server, and it wants to compile some modules. I get this question:
What is the location of the directory of C header files ...
- 03-20-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 35
Where are the C header files in Linux?
I am installing an application on the server, and it wants to compile some modules. I get this question:
What is the location of the directory of C header files that match your running
kernel?
Is there some standard answer to that?
/usr/src/linux/include seems not to be correct.
- 03-20-2008 #2
Should be /usr/src/linux{VERSION}. On some distros it /usr/src/kernels/kernel{VERSION}. You need to have the kernel-source package that matches the same version of the kernel you are running on your system.
- 03-20-2008 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 35
Thank you.
I installed the kernel-source from the Debian DVD via synaptic package installer and found it at /usr/src/linux-headers-2.6.18-6-amd64/include
It worked


Reply With Quote
