On Fri, 5 Jul 2002 18:15:17 +0530 "Rupa" <rupa.ramakrishna@ionidea.com> wrote: R> In my source file, i have included R> #include <linux/version.h> You don't need it. As long as you include linux/module.h, linux/version is recursively included. R> and also i complied using this option R> gcc -D__MODULE__ -I/usr/include/linux-2.4/include -c <modulename> And you should get the "unknown kernel version" error. __MODULE__ is the wrong macro to define, try MODULE and the error will not occur. Throw a __KERNEL__ and you'll be fine. Felipe -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/