Re: No linux/module.h

From: Jiri Slaby
Date: Wed Sep 26 2007 - 16:56:06 EST

On 09/26/2007 10:25 PM, Kristof Provost wrote:
> On 2007-09-26 11:29:33 (+0100), mahamuni ashish <ash_lkp@xxxxxxxxxxx> wrote:
>> I am writing simple kernel module.
>> I have included linux/module.h
>> compiler gives me error that no such file, I also
>> searched it on my machine.
>> It really doesn't exist. I am using fedora 6.
>> How do I install required libraries.
> I suspect you either have an incorrect makefile or you don't have the
> kernel source code on your system. The header file can be found in the
> kerel source: include/linux/module.h

He needs kernel-devel, I guess.

Jiri Slaby (jirislaby@xxxxxxxxx)
Faculty of Informatics, Masaryk University
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at