|./hello.o: kernel-module version mismatch | ./hello.o was compiled for kernel version |2.4.9-9 | while this kernel is version 2.4.18-3. | try to compile with: gcc -D__KERNEL -DMODULE -I/usr/src/linux-`uname -r`/include or replace "`uname -r`" with the kernel version against your module should be loaded. -- Daniele. "I could have made money this way, and perhaps amused myself writing code. But I knew that at the end of my career, I would look back on years of building walls to divide people, and feel I had spent my life making the world a worse place." Richard Stallman -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/