Issue compiling Kernel Module
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Wed Jan 8 20:21:50 EST 2014
On Thu, 09 Jan 2014 03:00:11 +0530, Arun M Kumar said:
> all:
> make -C /home/arun/Linux_Source M=`pwd`
The directory the -C parameter points at has to be a Linux source
tree that has had at least a 'make prepare' run inside it.
In addition, to actually *use* the module, you'll need to modprobe it
into a kernel built in that directory (in other words, you need to build
against the source tree of the kernel you plan to be running). So
you'll need to do a 'make <something>config', then a 'make' and then
install and boot that kernel in order to actually test your module.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140108/a8277442/attachment.bin
More information about the Kernelnewbies
mailing list