PDA

View Full Version : How to use Ubuntu Kernel Headers



nehalahoti28
August 28th, 2012, 02:45 PM
I'm writng a list program using kernel header list.h but facing issues.

Can anyone please provide me a tutorial to start it ?

I'm getting below error:
error: list.h: No such file or directory

Szor3n
August 28th, 2012, 03:03 PM
It sounds like your kernel headers may not be installed. Also keep in mind, you need to include linux/list.h not simply list.h.

nehalahoti28
August 30th, 2012, 01:30 PM
It sounds like your kernel headers may not be installed. Also keep in mind, you need to include linux/list.h not simply list.h.
Thanx for replying!!
I have modified the file list.h n nw it's working.