LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-15-2007, 09:19 AM   #1
LQ Newbie
Registered: Jan 2007
Location: Hopkinton, MA
Distribution: Fedora 5
Posts: 8

Rep: Reputation: 0
Question /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.

Help please!


Old 01-16-2007, 06:32 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Install the kernel development tools as per the release-notes;

su -c 'yum install kernel-{PAE,xen,kdump}-devel'


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/lib/modules/2.6.15-1.2054_FC5/build: broken symbolic link sjw01748 Linux - Kernel 1 01-15-2007 11:19 AM
broken link in /lib/modules/2.6.8-2-386 jojotx0 Debian 3 11-25-2006 09:58 AM
symbolic link in /lib alice95089 Linux - Software 1 02-07-2005 09:28 PM
How do I fix a broken Symbolic Link? dickgregory Linux - Newbie 4 11-07-2004 09:08 PM
IdConfig: /usr/lib/.... is not a symbolic link. _tomMmy_ Linux - Software 0 08-23-2004 08:12 AM

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration