A newbie here. I am trying to set up Eclipse for Linux Kernel Programming. The guide says set the project location as the root directory of the kernel. Where's the root directory of the kernel now? According to Linux file hierarchy system, it lists /lib as the root directory for shared libraries and kernel modules. I also see /lib32 and /lib64. However, I tried selecting /lib as the location and eclipse doesn't allow me to create the project.
Asked
Active
Viewed 5,632 times
1 Answers
2
For develop a kernel module you need the headers of kernel , you can install a package kernel-headers-KERNEL_VERSION
like kernel-headers-3.2.0-25
and the root directory is /usr/src/linux-headers-KERNEL_VERSION

richie-torres
- 525
-
Thanks for the reply. I need to create an eclipse project in the root directory. However, it does not allow me to! Would you know how to give permission to the user? – user592748 Jun 22 '12 at 20:05
-
Ok, I found how to change permissions to a folder – user592748 Jun 22 '12 at 20:17