#include

int init_module(void)
{
printk("<1>Hello world
");
return 0;
}

void cleanup_module(void)
{
printk("<1>Goodbye world
");
}

컴파일을 했는데 이런말이 나오네요
[root@hera test]# cc -D_KERNEL_ -DMODULE -Wall -O2 -
l/usr/include/linux/ -c hello.c -o hello
hello.c:1: warning: `MODULE' redefined
*Initialization*:1: warning: this is the location of the previous
definition
In file included from hello.c:2:
/usr/include/linux/module.h:60: parse error before `atomic_t'
/usr/include/linux/module.h:60: warning: no semicolon at end of struct
or union
/usr/include/linux/module.h:60: warning: no semicolon at end of struct
or union
/usr/include/linux/module.h:62: parse error before `}'
/usr/include/linux/module.h:62: warning: data definition has no type or
storage class
/usr/include/linux/module.h:91: parse error before `}'
hello.c: In function `init_module':
hello.c:6: warning: implicit declaration of function `printk'

어떻게해야하나요..첨부터 막히는데..ㅠ.ㅠ 좀 도와주세요
와우리눅스 파란2를 쓰고 있습니다.