On Mon, 13 Mar 2017 15:38:07 +0530, SIMRAN SINGHAL said:

> >> # modinfo iio_dummy_evgen.ko
> >> filename:

> >> vermagic:       4.11.0-rc1+ SMP mod_unload modversions
> >>
> >>
> >> $ uname -r
> >> 4.10.0-rc3+

> Greg, I got that I have to build the module against the kernel I am using.
> But, How can I do this?

You can do this in two different ways:

1) You're running a 4.10.0-rc3+ kernel.  Get the matching 4.10.0-rc3+ source
tree and build the module against that.

2) You built the module from a 4.11.0-rc1+ tree.  Build a kernel from that tree,
boot that, and then try to load the module.


Attachment: pgp55wm8YLAJ5.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to