From: NeilBrown <neilb@suse.de>
To: Roberto Spadim <roberto@spadim.com.br>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: compile (newbie)
Date: Sat, 5 Feb 2011 17:02:26 +1100 [thread overview]
Message-ID: <20110205170226.675850ae@notabene.brown> (raw)
In-Reply-To: <AANLkTinHswHzC5cE5cH3YtS1XMcL2FRY-Jt_Nvvq04wd@mail.gmail.com>
On Sat, 5 Feb 2011 02:12:37 -0200 Roberto Spadim <roberto@spadim.com.br>
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
next prev parent reply other threads:[~2011-02-05 6:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-05 4:12 compile (newbie) Roberto Spadim
2011-02-05 6:02 ` NeilBrown [this message]
2011-02-05 14:33 ` Roberto Spadim
2011-02-05 14:50 ` Roberto Spadim
2011-02-05 15:40 ` Mathias Burén
2011-02-05 15:43 ` Roberto Spadim
2011-02-05 16:19 ` Roberto Spadim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110205170226.675850ae@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=roberto@spadim.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox