Re: hello.c help

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

 



> 2.  What is the possible cause of the above loading
> error for hello.c?

The cause is that you compiled the moidule against 2.6 kernel and are
trying to load it on 2.4 running kernel.

> 3.  Do I have to have linux 2.6.11.5 running in order
> to load module hello.ko?

You need to run the same kernel version for whcih the module was
compiled. Only modules compiled for the running kernel version can be
loaded on to running kernel.

-gd

--
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