Problem in First-Patch-Tutorial
valdis.kletnieks at vt.edu
valdis.kletnieks at vt.edu
Mon Mar 13 14:49:01 EDT 2017
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170313/ead1c738/attachment.bin
More information about the Kernelnewbies
mailing list