Cassia Yuri Tatibana a écrit :

> Hello,
>
> I am studying the kernel modules in order to develop some work in this
> field later. At the moment I am following the Kernel Programming Guide,
> wrote by Ori Pomerantz. I mean, I am trying, cause I couldn't make even
> the hello world module. As I do 'make hello' I got this messages:
>
> gcc hello.o -o hello
> /usr/lib/crt1.o: in function '_start':
> /usr/lib/crt1.o(.txt+0x18): undefined reference to 'main':
> hello.o: In function 'init_module'
> hello.o(.txt+0xf): undefined reference to 'printk':
> hello.o: undefined reference to 'cleanup_module':
> hello.o(.txt+0x33): undefined reference to 'printk':
> collect2: ld returned 1 exit status
> make *** [hello] Error1
>
> Don't seem to be a code error but the source code is available in
> www.linuxdoc.org/LDP/lkmpg/node11.html
> I am stuck in it, if anyone have a tip for me, please e-mail-me!

Which makefile did you use ?

    - Nicolas

-- [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/

Reply via email to