Re: version disagreement in insmod

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

 



Hi,

kanishk rastogi a écrit :

> while inserting my compiled module it gives error
> 
> insmod: error inserting 'virtape.ko': -1 Invalid
> module format
> 
> dmesg shows:
> virtape: disagrees about version of symbol
> struct_module
> 
> how can i rectify it.

By compiling your module against the kernel you're using. Can you please
show us the Makefile you're using ?

Sincerly,

Thomas
-- 
Thomas Petazzoni
thomas.petazzoni@xxxxxxxx

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