Hullo All,
I am a newbie to Linux, and getting enormously interested ever since I have been introduced to Linux through a school course.
Coming to my problem, I am trying to create a loadable kernel module, a simple dummy module, just to get a hang of building modules.
When I try to compile my module C file, I get an error:
It is not present in the include directory, but when I searched for it, I found it in another path: /usr/src/linux-heders-2.6.22-14/include/linux/
What should I do to compile my module? How do I make the header file available to the module code?
I am using Kubuntu, and Linux 2.6 by the way.
Thanks in advance.
I am a newbie to Linux, and getting enormously interested ever since I have been introduced to Linux through a school course.
Coming to my problem, I am trying to create a loadable kernel module, a simple dummy module, just to get a hang of building modules.
When I try to compile my module C file, I get an error:
Code:
Cannot find file or directory: linux\module.h
What should I do to compile my module? How do I make the header file available to the module code?
I am using Kubuntu, and Linux 2.6 by the way.
Thanks in advance.
Comment