/lib/modules/2.6.15-1.2054_FC5/build: broken symbolic link
I am definitely a newbie!
I created this Makefile in my /home/myname/modules directory:
obj-m := hello.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
Within this directory I have the file hello.c
When I execute a make -f Makefile the following error is displayed:
make : *** /lib/modules/2.6.15-1.2054_FC5/build:
No such file or directory.
Using the file browser I moved to directory
lib/modules/2.6.15-1.2054_FC5. In this direcoty the build & source links are displayed but each has a red circle with a
single line through it on the right of the icon and also a red circle with a red line and yellow pencil though it on the left of the icon. Within the browser if I double click the build link a popup window displays The Link "build" is Broken. Move it to Trash? This link can't be used because its target "/usr/src/kernels/2.6.15-1.2054_FC5-i686" doesn't exist.
If I double click The Link "source" a popup window displays The Link "source" is Broken. Move it to Trash? This link can't be used because its target "/usr/src/kernels/2.6.15-1.2054_FC5-i686" doesn't exist.
I could see where a similar problem had been experienced by
"deesto" on 9-02-2006 but I could not see how the error was resolved.
Install the kernel devel rpm package(s); yum install kernel-devel
|All times are GMT -5. The time now is 11:31 AM.|