Re: Problem with inserting module.....

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

 



K S Sandeep wrote:

hello everybody,

          i have compiled succesfully the hello world!! sample
module. But when i try to insert it into the kernel, using insmod the
following message is displayed.

" hello: disagrees about the version of symbol struct_module
  insmod: error inserting 'hello.ko' : -1 invalid module format "


anybody has any idea where i have gone wrong.... please help

thanks in advance ,
sandeep.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



This occurs when there is a mismatch in the kernel header version that is included and the version of the kernel u are running

What is ur kernel version and what is the path of the kernel header include files ?

-G

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