Hi Hemen, On 1/23/07, Hemen Kapadia <hemen.kapadia@xxxxxxx> wrote:
Hello, I am trying to compile the following code on a system which has been booted with RHEL stock kernel. If I boot the same system with a custom kernel compiled from the source downloaded from kernel.org it compiles like a charm. However if I boot the system on the RHEL stock kernel (2.6.9-42.EL) no object is created in the working directory.
Are you sure you have the kernel header files for you stock kernel ? You require them for building and loading kernel modules. That is why you can buildthe module from the vanilla kernel. Thanks, Raseel. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/