From: Nishanth Aravamudan <nacc@us.ibm.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] Question re make
Date: Sun, 09 Oct 2005 05:08:13 +0000 [thread overview]
Message-ID: <20051009050813.GD5972@us.ibm.com> (raw)
In-Reply-To: <200510081802.35521.lkml@oxley.org>
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
On 08.10.2005 [20:08:03 +0100], Felix Oxley wrote:
>
> > You are "make"ing an object file, not a .c file. Makefiles' syntax is
> > for the target, not the source.
> >
> > make drivers/telephony/ixj.o
> >
> I had tried this all ready and forgot to mention it, but it didn't work at the
> time.
Were you trying to build ixj as a module? You might have needed
make drivers/telephony/ixj.ko
Not sure, though.
> > Please read the Makefile before posting.
> >
> Which file should I read?
The top-level Makefile gives a good overview of available
targets/syntax. The drivers/telephony/Makefile probably has some
indication of available targets specific to that directory.
> > make M=drivers/telephony
> >
>
> This does the trick!
Great!
> > > and
> > > # cc driver/telephony/ixj.cjust gives hundreds of errors.
> >
> > This is just plain silly and why we have a Makefile system in the first
> > place.
> >
> I know, but I was just trying to exaplan all the methods I had tried.
> I think I must have cocked something up before but it is better now.
Glad you got it figured out.
Thanks,
Nish
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2005-10-09 5:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-08 17:02 [KJ] Question re make Felix Oxley
2005-10-08 18:01 ` Nish Aravamudan
2005-10-08 19:08 ` Felix Oxley
2005-10-09 5:08 ` Nishanth Aravamudan [this message]
2005-10-10 21:15 ` lounprime
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=20051009050813.GD5972@us.ibm.com \
--to=nacc@us.ibm.com \
--cc=kernel-janitors@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.