define MODULE
#include
int init_module(void) {printk("<1>hello world\n"); return 0; }
void cleanup_module(void) {printk("<2>goodbye world\n"): }
出错信息是:
hello.c:1: parse error before "MODULE"
in file include from hello.c:2:
/usr/include/linux/module.h:26: syntax error before "struct"
望高手解决,我刚学的。