모듈 컴파일시에 에러가 납니다...

글쓴이: 익명 사용자 / 작성시간: 월, 2002/08/19 - 1:05오후
모듈을 컴파일 하면 에러가 납니다..
에러내용
In file included from hello.c2
/usr/include/linux/module.h60 parse error before `atomic_t'
/usr/include/linux/module.h60 warning no semicolon at end of struct or union
/usr/include/linux/module.h60 warning no semicolon at end of struct or union
/usr/include/linux/module.h62 parse error before `}'
/usr/include/linux/module.h62 warning data definition has no type or storage class
/usr/include/linux/module.h91 parse error before `}'
hello.c In function `init_module'
hello.c9 warning implicit declaration of function `printk'
make *** [hello.o] 오류 1
무슨 에러인지 알려주세요...부탁드립니다.
Forums:
댓글 달기