March 13, 2017
6:49 p.m.
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.