Thread (24 messages) 24 messages, 8 authors, 2017-03-19

Problem in First-Patch-Tutorial

From: valdis.kletnieks at vt.edu <hidden>
Date: 2017-03-13 18:49:01

On Mon, 13 Mar 2017 15:38:07 +0530, SIMRAN SINGHAL said:
quoted
quoted
# modinfo iio_dummy_evgen.ko
filename:
quoted
quoted
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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help