First kernal module
Hi,
I try to build my own kernal module with simple init & cleanup functions.I create a make file.(both are taken from sample examples in internet).When i try to compile using 'make' command. The 'bash:command not found'error is displayed. I dont know whether i missed any kernal package. Help me to solve this issue. |
Try whether your system has 'make' using command 'whereis make'. If its not showing any path then you have to get it explicitly
|
Welcome to LQ.
Which "Linux OS" are you using ? ? http://www.linuxquestions.org/linux/...Ask_a_Question http://linuxsilo.net/docs/smart-questions_en.html ... Like Fedora 17, Ubuntu 12.04, etc. A "standard" kernel module Makefile ( for hello.c ) : Code:
obj-m := hello.o |
First kernal module
Hi,
The version is 2.6.15 as read by giving the command 'uname -a'. when i try with 'whereis make' cmd, it shows 'make:'.Explicittly mean any package or... |
Quote:
What we need is what distribution you are using. |
?
Could it be Fedora 5 ? The command : 'cat /etc/redhat-release' will show. |
When its a "bash issue:", then its clear that the 'make' hasn't been installed yet
|
First Kernal module
Hi,
It is ubuntu...whether it is a seperate package or something... |
# 8
The command : cat /etc/issue .. will usually reply with 'Ubuntu <version>' |
First Kernal Module
Hi,
It shows ubuntu 6.06.1 LTS...for the command cat /etc/issue.... |
Quote:
I would recommend atleast 8.04 LTS. |
Sounds like you need to install make
|
In any case, try
Code:
apt-get install build-essential |
First Kernal Module
Hi,
I will upgrade to latest soon... But for the current issue, it shows that the package is missing or obsoleted...shall i get that package alone.. |
Quote:
|
All times are GMT -5. The time now is 11:01 PM. |