Hi, As i remember, Before you should do make menuconfig , save config file. make dep. #include <linux/config.h> Rupa wrote: > Hello, > > > > I compiled sample kernel module in linux. When i tryed to load the > module it is showing the following error: > > # insmod ./myprog.o > > ./myprog.o: couldn't find the kernel version the module was > compiled for. > > Can any one help me to load the module. > > Regards, > R.Rupa > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/