Re: Compiling single module

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

 



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@xxxxxxxxx>
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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
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