Re: compile (newbie)

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

 



On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@xxxxxxxxxxxxx>
wrote:

> hi, how could i compile raid1.c?
> 
> i have kernel headers, kernel source, kernel binary
> all my md (raid1,raid5,raid0,all md options on make menuconfig) are modules
> 
> could i just goto md directory and
> gcc raid1.c
> ?
> 

 From the top level in the kernel tree run

  make drivers/md/raid1.o
 
 or
  make drivers/md/raid1.ko

 to get a kernel module that you can load (if you are running a compatible
 kernel).

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux