From: cranium2003 <cranium2003@yahoo.com>
To: kernel newbies <kernelnewbies@nl.linux.org>
Cc: kernerl mail <linux-kernel@vger.kernel.org>
Subject: Makefile problem
Date: Tue, 21 Mar 2006 03:21:32 -0800 (PST) [thread overview]
Message-ID: <20060321112132.36531.qmail@web38002.mail.mud.yahoo.com> (raw)
Hi,
I have some Makefile questions
1)Why a kernel module in 2.6 kernel cannot be compiled
with single gcc command? Why it requires Makefile in
current directory so that i can use Makefile?
2) why following command used to compile 2.4 kernel
module fails on 2.6 kernel
gcc -D__KERNEL__ -DMODULE -DLINUX -O2 -Wall
-Wstrict-prototypes -I/lib/modules/`uname
-r`/build/include -c -o example.ko example.c
3) Is that because of gcc cannot create .ko file??
then what header changes occurred from .o to .ko
module implementaion?
Thanks & Regards,
cranium
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next reply other threads:[~2006-03-21 11:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 11:21 cranium2003 [this message]
2006-03-21 11:42 ` Arjan van de Ven
-- strict thread matches above, loose matches on Subject: below --
2003-12-19 13:25 Michele RECCANELLO
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=20060321112132.36531.qmail@web38002.mail.mud.yahoo.com \
--to=cranium2003@yahoo.com \
--cc=kernelnewbies@nl.linux.org \
--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
all inboxes | Powered by JetHome®