|
cant find header-linux/module.h
hii....
i just tried to write a simple device driver program...
#define MODULE
#include <linux/module.h>
int init_module (void) /* Loads a module in the kernel */
{
printk("Hello kernel n");
return 0;
}
void cleanup_module(void) /* Removes module from kernel */
{
printk("GoodBye Kerneln");
}
when i compiled i got the error like this...
##gcc -c sree.c
sree.c:2:26: error: linux/module.h: No such file or directory
##
i then installed kernel-headers and kernel-devel,but still no change..
does any one knw which package contains this header????i am using fedora 7
thnx in advance...
|