Re: Issue compiling Kernel Module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgpeX7BCt34Pe.pgp
Description: PGP signature

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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux