I am trying " Linux Kernel Module Programming - Compiling the Module " as in this youtube video.
First I created a
hello.c program. As a second step need to type command
#gedit Makefile. It opens a window which is empty in gedit.
I tried to copy the same commands but running make command
its showed error :
make:*** No rule to make target 'make', needed by 'all'. Stop.
Searching some Ubuntu forms I tried:
sudo apt-get install build essentials sudo apt-get install make sudo apt-get install autoconf automake
Every time I executed this command some packages got installed.
I went and checked in:
I can see 'Makefile' when typed
ls command, but still I have the same problem
make command is not still working as
gedit Makefile command open a blank editor.
Any help is greatly appreciated.