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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:12 EST