From: vijayalakshmi krishnamurthy <linaxmi@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: prblm with first module prog
Date: Mon, 17 Dec 2001 02:20:56 -0800 (PST) [thread overview]
Message-ID: <20011217102056.1779.qmail@web21205.mail.yahoo.com> (raw)
hi all
I'm a novice ,here I tried the first module prog
given in the tutorial in the link
http://www.linuxdoc.org/LDP/lkmpg/
i followed all the instructions, verfied with
header files but on running make i get
1.fist.c: In function `init_module':
2.fist.c:11: warning: implicit declaration of
function `printk_Rsmp_1b7d4074'
3.cc -Wall -DMODULE -D__KERNEL__ -DLINUX -c
fist.c
4.echo insmod fist.o to turn it on
5.insmod fist.o to turn it on
6.echo rmmod fist to turn it off
7.rmmod fist to turn it off
8.echo
9.
10.echo X & kernel prog do not mix.
11.X
12./bin/sh: kernel: command not found
13.make: *** [fist.o] Error 127
when I redirected my make file o/p from terminal only
lines 4 - 11 were in the
redirected file. the rest were in the console. can
somebody explain me the reason.
why do they echo the insmod & rmmod & other things? i
dont getit.
All kind of explanations R welcome
thanx in advance
lakshmi
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
next reply other threads:[~2001-12-17 10:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 10:20 vijayalakshmi krishnamurthy [this message]
[not found] <01121712435301.02022@manta>
2001-12-17 12:07 ` vijayalakshmi krishnamurthy
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=20011217102056.1779.qmail@web21205.mail.yahoo.com \
--to=linaxmi@yahoo.com \
--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®