Messages in this thread | | | Date | Fri, 24 Sep 2004 23:45:46 -0600 | From | Robert Hancock <> | Subject | Re: Problem in loading Module |
| |
What kernel headers are you compiling the module against? They must match the actual kernel you are using. If you are using Red Hat kernel 2.4.20-6 then you must compile against Red Hat 2.4.20-6 kernel headers.
----- Original Message ----- From: "Dinesh Ahuja" <mdlinux7@yahoo.co.in> Newsgroups: fa.linux.kernel To: <linux-kernel@vger.kernel.org> Sent: Friday, September 24, 2004 9:28 PM Subject: Problem in loading Module
>I have recently purchased book "Linux Device Drivers" > By Alessandro Rubini. I am very keen to learn the > Kernel Programming and this is my step towards Kernel > Programming. > > I request you to all to guide me whenever I get stuyck > up in my learning process. > > I was facing problem in loading a module example > hello.o in my Red Hat Linux Kernel 2.4.20-6. > > It gives me an error that module has been compiled for > Kernel 2.4.20 and you are trying to run it on Kernel > 2.4.20-6 [which is a kernel comes with Red Hat 9.0] > > Please guide me over this issue so that I can proceed > further in learning process. > > Thanks & Regards > Dinesh > > > > ________________________________________________________________________ > Yahoo! India Matrimony: Find your life partner online > Go to: http://yahoo.shaadi.com/india-matrimony > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |