Re: Kernel version and modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Amit Nadgar <vangough_spinlock@yahoo.com> wrote:
> guys,
>   I have written a module and compiled and executed it
> on kernel 2.4.7-10. Now I have downloaded the source
> for 2.4.18 , compiled it booted through it. I compiled
> my module with 2.4.18 as my current kernel. When I do
> an insmod it says the module was meant for 2.4.7-10
> and the current kernel is 2.4.18. How do I make my
> module execute on 2.4.xx kernel? Can anybody provide
> some assisstance in this matter?

Well, it seems you tried to do the correct thing.  Recompiling your
module under the new kernel is all you need to do.  I'd suggest
double-checking your Makefile to be sure you haven't hard-coded in
the path to your "old" kernel.

Best of luck!

Harmony,

--Christine


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux