/lib/modules/kernel/build file broken
Hi,
I am trying to write a simple "hello world" module from Linux Device Drivers of Rubini, but whenever i am giving make command error comes up as build file is broken... my makefile is given below ifneq ($(KERNELRELEASE),) obj-m := hello.o else KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules endif what should i do? i am using fedora 9... |
Welcome to LQ.
Take care, that the package 'kernel-devel' is installed. Installs to /usr/src/kernels/ , and the link 'build' in /lib/modules/Žuname -rŽ)/ is a link to that "package" uname -r ( to see version ) # yum search kernel-devel # yum install kernel-devel-Žuname -rŽ .... |
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 11:06 PM. |