Make error in linux device driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Make error in linux device driver
- From: Gaurav Soni <grvlinux@xxxxxxxxx>
- Date: Mon, 8 Mar 2010 21:26:06 +0530
Hi List,
I am beginner in Linux device driver development ,I am facing problem when i m giving make command error description is:
make -C /lib/modules/2.6.23.17-88.fc7/build M=/root/LinuxDeviveDriver/lkmmodules modules
make: *** /lib/modules/2.6.23.17-88.fc7/build: No such file or directory. Stop.
make: *** [default] Error 2.
*****My Makefile is ******
INSTALL_DIR=modules
ifneq (${KERNELRELEASE},)
obj-m :=lkm_02.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
@rm -rf ${INSTALL_DIR}
@mkdir ${INSTALL_DIR}
@mv -f *.o *.ko *.mod.c .*.cmd ${INSTALL_DIR}
clean:
rm -rf ${INSTALL_DIR}
endif
Please Help me to resolve this problem.
With Regards.
Gaurav Soni
+91-9868010624
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]