I'm using Ubuntu 10.10 and the installed kernel for driver programming. In rubini's book it is mentioned to create a
.o file from a
.c file, but I'm not getting it.
obj-m := eg_drv1.o, but when I try and build the
.c file I get this:
error: make: *** No targets. Stop.
I'm completely confused.
First question I have is how do I convert a
.c file to
.o file and then to
.ko file to use the module?