From: Nick Warne <nick@linicks.net>
To: linux-kernel@vger.kernel.org
Subject: Re: 'hello world' module
Date: Sat, 11 Jun 2005 17:54:45 +0100 [thread overview]
Message-ID: <200506111754.46016.nick@linicks.net> (raw)
Robert Hancock wrote:
> Nick Warne wrote:
>> 2.4.31, GCC 3.4.4
>>
>> Build like:
>>
>> gcc -D__KERNEL__ -I/usr/src/linux/include -DMODULE -Wall -O2 -c hello.c
>> -o hello.o
>
> That compilation method will not work on 2.6. You have to use the kernel
> makefiles to build the module. See:
>
> http://linuxdevices.com/articles/AT4389927951.html
I see. Sorry for the bum steer; I haven't messed about with 2.6.x much in
development - I am still [trying to learn] learning 2.4.x.
How do you guys keep up with it all?
Great link, thanks.
Nick
--
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."
next reply other threads:[~2005-06-11 16:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-11 16:54 Nick Warne [this message]
2005-06-11 17:06 ` 'hello world' module Jan Engelhardt
-- strict thread matches above, loose matches on Subject: below --
2005-06-13 17:50 Nick Warne
[not found] <4egz4-2tj-15@gated-at.bofh.it>
2005-06-11 16:25 ` Robert Hancock
2005-06-11 16:31 ` Jan Engelhardt
2005-06-11 15:53 Nick Warne
2005-06-11 12:11 Ilan S.
2005-06-11 18:17 ` Sam Ravnborg
2005-06-11 20:25 ` Jan Engelhardt
2005-06-12 19:17 ` Sam Ravnborg
2005-06-11 19:43 ` Jesper Juhl
2005-06-13 20:09 ` Edward Macfarlane Smith
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=200506111754.46016.nick@linicks.net \
--to=nick@linicks.net \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox