bonyshine
March 31st, 2010, 08:21 PM
hi all !
i'm totally new to programming in linux, and i begin with driver programming.
i have ubuntu 9.04.
i made my first module
exactly as in this tutorial http://www.linuxtopia.org/online_books/Linux_Kernel_Module_Programming_Guide/index.html
i've read the makefile i've somewhat understood it.
i made makefile and the source code hello.c then go to the directory and type make
it gives me make:nothing can be done for 'all'
i've read in some tutorials that i need linux kernel headers but i could'n download them
and i think ubuntu doesn't need it because it knew the make command.
so please tell me what the exact procedure to do.
i'm totally new to programming in linux, and i begin with driver programming.
i have ubuntu 9.04.
i made my first module
exactly as in this tutorial http://www.linuxtopia.org/online_books/Linux_Kernel_Module_Programming_Guide/index.html
i've read the makefile i've somewhat understood it.
i made makefile and the source code hello.c then go to the directory and type make
it gives me make:nothing can be done for 'all'
i've read in some tutorials that i need linux kernel headers but i could'n download them
and i think ubuntu doesn't need it because it knew the make command.
so please tell me what the exact procedure to do.