Hello
I've just started studying how to make kernel modules for future works.
The base book I am reading is the Kernel Module Programming by Ori
Pomerantz. Though, I couldn't even complete the first lesson, hello world
module! As I do 'make hello', I get this:
[root@christian1 modulos]# make hello
gcc hello.o -o hello
/usr/lib/crt1.o: In function '_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to 'main'
hello.o: In function 'init_module':
hello.o(.text+0xf): undefined reference to 'printk'
hello.o: In function 'clenup_module':
hello.o(.text+0x33): undefined reference to 'printk'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
I guess the problem is not in the source code, but it is availabe in
www.linuxdoc.org/LDP/lkmpg/node11.html
So, if anyone have some answer to me, please e-mail-me!
Thankyou
Cassia Yuri Tatibana
<[EMAIL PROTECTED]>
"Life is hard,
after all it kills you."
Katherine Hepburn
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/