From mboxrd@z Thu Jan 1 00:00:00 1970 From: idoit.ief@gmail.com (Tayssir Alkowatly) Date: Wed, 27 Apr 2011 12:44:08 +0300 Subject: Compiling single module In-Reply-To: <20110426132919.GA14149@kroah.com> References: <528700.12482.qm@web39307.mail.mud.yahoo.com> <20110426132919.GA14149@kroah.com> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 > 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