Thanks for help
I am trying to compile simple hello world module, but it never works below is
my makefile,
obj-m := intrmodule.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
on giving make I got the following error
ts7000:/home/eclipse/mod# make
make -C /lib/modules/2.6.21-ts/build M=/home/eclipse/mod modules
make: *** /lib/modules/2.6.21-ts/build: No such file or directory. Stop.
make: *** [all] Error 2
what changes I have to do to compile the module.
--- In "charliem_1216" <> wrote:
>
> --- In mike ingle <finndmike62@> wrote:
> >
> > Kernel module required. See adcxxx.xxx in the files section of this
> > group. It is an excellent starting point. There are 2 versions 1 4 2.4
> > kernel, and 1 for 2.6 I believe (I used the 2.4) also
> > http://www.xml.com/ldd/chapter/book/ will help for 2.4 kernels. There is
> > a versionfor 2.6 kernels but it isn't avail for free online.
>
> Yes, it is:
> http://lwn.net/Kernel/LDD3/ (and LDD2 for 2.4 kernels)
>
> It is an excellent guide.
>
> regards ......... Charlie
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|