[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] Problems with kernel modules



Hello

I was trying out some kernel module programming. I just keyed in the
hello.c  program from the Linux Kernel Module programming examples. When I
tried compiling it with
gcc -Wall -c hello.c 
I get the following warning:
hello.c: In function `init_module':
hello.c:12: warning: implicit declaration of function `printk_R1b7d4074'
********************************
when I say insmod hello.o nothing gets printed

What could be the reason??

TIA


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.