lkml.org 
[lkml]   [2004]   [Sep]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 24 Sep 2004 23:45:46 -0600
FromRobert Hancock <>
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2008