Compiling single module

Tayssir Alkowatly idoit.ief at gmail.com
Wed Apr 27 05:44:08 EDT 2011


Hi All

I hope I'm enriching the discussion and not hijacking it

So what is the difference between
1- make M=./drivers/staging/tm6000 modules
2- make ./drivers/staging/tm6000/tm6000.ko

because from (1) I get linking error (ld: no input files), while I get a
module that cannot be inserted (Invalid format, no symbols in module_layout)
from (2) on kernel 2.6.35

Cheers,

Tayssir


2011/4/26 Greg KH <greg at kroah.com>

> On Tue, Apr 26, 2011 at 05:41:12AM -0700, Ezequiel García wrote:
> > I think maybe this is because I need to enable the module by on config.
> > Am I right?
>
> Yes.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110427/c4695f93/attachment.html 


More information about the Kernelnewbies mailing list