> > My kernel version is 2.4.20 (Red Hat 8.0) and far as I remember , module.h > wants "2.4.9" or something. compile your module with 2.4.20 header files, if you are running kernel version 2.4.20. For example, if you have kernel 2.4.20 sources in /usr/src/linux-2.4.20 then compile your module as follows: gcc -Wall -c hello.c -I /usr/src/linux-2.4.20/include this should solve your problem. > The following attempts did not succeed: > > 1. Make menuconfig.............. > Set version information on modules = "NO" Keep it "YES" Regards Mohanlal -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/