Ubuntu Forums Archive Viewer

How to use Ubuntu Kernel Headers

Archived thread 2049325 from Ubuntu Application Development. Markdown source: Ubuntu_Application_Development/thread_2049325_How_to_use_Ubuntu_Kernel_Headers.md

Original URL About this archive
#1

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

#2

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.

#3

Szor3n said: 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.