i did opkg install kernel-headers and opkg install kernel-dev successfully.
NOW,
i am using the following code....simple hello world kernel module
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
static int __init hello_start(void)
{
printk(KERN_INFO "Loading hello module...\n");
printk(KERN_INFO "Hello world\n");
return 0;
}
static void __exit hello_end(void)
{
printk(KERN_INFO "Goodbye Mr.\n");
}
module_init(hello_start);
module_exit(hello_end);
but while make .... it say the module.h and kernel.h are not present.
can you tell me what to do next?