1

Driver is not compiling in RedHat6.0 due to kernal source directory in makefile

view story
linux-howto

http://www.linuxquestions.org – Dear all, I was working in redhat 5.2 kernal 2.6. My driver code was compiling properly on that. But when i switched to RedHat6.0 Driver code is not compiling. It give error in makefile. my make file is as follows, " obj-m := ITP_DMA_DRIVER.o all: make -C /lib/modules/`uname -r`/build M=`pwd` modules clean: make -C /lib/modules/`uname -r`/build M=`pwd` clean " but it gives error as "/lib/modules/kernal/build: No such file or directory is found". Even when goes for opening the /lib/modules/kernal-2.6.32/build ,"build' is created as broken link instead of link to folder (HowTos)