>> Edit article
이름
제목
패스워드
전 지금 한빛미디어에서 나온 Linux device drivers 라는 책을 공부하고 있습니다... 책에 2.2.x kernel에서 예제가 된다구 해서.... suse를 2.2.18로 부팅한 다음에 compile한 것이거든요... sorce는 무지 간단하던데... #define MODULE #include <linux/module.h> int init_module(void) { printk("<1>Hello, world"); return 0; } void cleanup_module(void) { printk("<1>Goodbye cruel world"); } 위 소스를 compile한 후 insmod hello.o를 하면 다음과 같은 error message가 나옵니다. hello.o was compiled for kernel version 2.4.2 while this kernel is version 2.2.18 그래서 kernel 2.4.2에서 하면 hello.o was compiled for kernel version 2.4.2 whiel this kernel is version 2.4.2-4G 라는 message가 나옵니다... 현재 전 suse 7.1k를 사용하고 있습니다... 고수님들 도와주세요...
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved