mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: li nux <lnxluv@yahoo.com>
Cc: "Espen  \"Fjellv?r\" Olsen" <espenfjo@gmail.com>,
	linux <linux-kernel@vger.kernel.org>
Subject: Re: compiling "hello world" kernel module on 2.6 kernel
Date: Sun, 8 May 2005 20:32:44 +0200	[thread overview]
Message-ID: <20050508183244.GC8182@mars.ravnborg.org> (raw)
In-Reply-To: <20050507142027.61160.qmail@web60522.mail.yahoo.com>

On Sat, May 07, 2005 at 07:20:26AM -0700, li nux wrote:
> Thanks Espen, but it didnt worked.
> Please tell me where i am wrong:
> hello.c is at /local/usr/linux-2.6.5-7.162
> i did a cd to /local/usr/linux-2.6.5-7.162
> created makefile called Makefile.1 as u suggested.
> and did a make -f Makefile.1

Wrong.
Put hello.c somewhere in you home directory.
The Makefile shall be placed in same directory.

Restore any files you have overwritten in the kernel dir (like the
Makefile)
Then it will work out.

If not post full details including the output of the make command with
V=1 included: $(MAKE) -C $(KERNELDIR) V=1 M=$(PWD)

	Sam

  reply	other threads:[~2005-05-08 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-07 14:20 li nux
2005-05-08 18:32 ` Sam Ravnborg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-07 13:19 li nux
2005-05-07 14:05 ` Espen Fjellvær Olsen

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=20050508183244.GC8182@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=espenfjo@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lnxluv@yahoo.com \
    /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

Powered by JetHome