RE: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-11 Thread Tuytschaever, Tom
Hi, As Thomas said you need to install the dev package. Usually in Red Hat there is a package called 'kernel-devel' (just search for it through red hat network) Make sure you install de package matching your kernel (running 'uname -a' should help you with this) Regards, Tom DISCLAIMER: Unles

Re: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-10 Thread Thomas Petazzoni
Le Mon, 10 Dec 2007 22:16:46 +0530, Pradeep Singh <[EMAIL PROTECTED]> a écrit : > So may be best way left is to compile a new kernel in that case, no? No, if you simply want to develop external modules, the best/simplest way is to install your distro kernel development package. For example, unde

Re: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-10 Thread Erik Mouw
On Mon, Dec 10, 2007 at 03:48:21PM +0100, Thomas Petazzoni wrote: > Le Mon, 10 Dec 2007 19:05:52 +0530, > "amol verule" <[EMAIL PROTECTED]> a écrit : > > > hi aravind > > /lib/modules/kernel_version/build is a softlink to source code of > > kernel.. create softlink to kernel source ...then try onc

Re: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-10 Thread Pradeep Singh
On Mon, 10 Dec 2007 15:48:21 +0100 Thomas Petazzoni <[EMAIL PROTECTED]> wrote: > Le Mon, 10 Dec 2007 19:05:52 +0530, > "amol verule" <[EMAIL PROTECTED]> a écrit : > > > hi aravind > > /lib/modules/kernel_version/build is a softlink to source code of > > kernel.. create softlink to kernel source .

Re: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-10 Thread Thomas Petazzoni
Le Mon, 10 Dec 2007 19:05:52 +0530, "amol verule" <[EMAIL PROTECTED]> a écrit : > hi aravind > /lib/modules/kernel_version/build is a softlink to source code of > kernel.. create softlink to kernel source ...then try once again No, the symlink should already exists. If it doesn't, then your kerne

Re: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-10 Thread Erik Mouw
On Mon, Dec 10, 2007 at 05:02:26PM +0530, Thippeswamy, Aravind wrote: > I am facing problems while I try to compile a simple "Hello > World" Kernel module. I am using RHEL 5 (2.6.12.x kernel). > > This is the program that I am trying to compile. > > /*

Re: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-10 Thread amol verule
hi aravind /lib/modules/kernel_version/build is a softlink to source code of kernel.. create softlink to kernel source ...then try once again regards amol On Dec 10, 2007 5:02 PM, Thippeswamy, Aravind <[EMAIL PROTECTED]> wrote: > Hi, > > > > I am facing problems while I try to compil

Is there a different process fofr building kernel modules for RHEL5 or FC 7?

2007-12-10 Thread Thippeswamy, Aravind
Hi, I am facing problems while I try to compile a simple "Hello World" Kernel module. I am using RHEL 5 (2.6.12.x kernel). This is the program that I am trying to compile. /* Hello World Kernel Module */ #define