LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


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

Rep: Reputation: 0
/lib/modules/2.6.15-1.2054_FC5/build: broken symbolic link


Hello:

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!

Thanks

\Steve
 
Old 01-15-2007, 10:19 AM   #2
Lenard
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: 58
Install the kernel devel rpm package(s); yum install kernel-devel
 
  


Reply



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
broken link in /lib/modules/2.6.8-2-386 jojotx0 Debian 3 11-25-2006 08:58 AM
ldconfig /usr/local/lib/ is not a symbolic link gbowden Slackware 3 05-21-2006 08:15 PM
symbolic link in /lib alice95089 Linux - Software 1 02-07-2005 08:28 PM
How do I fix a broken Symbolic Link? dickgregory Linux - Newbie 4 11-07-2004 08:08 PM
IdConfig: /usr/lib/.... is not a symbolic link. _tomMmy_ Linux - Software 0 08-23-2004 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:24 AM.

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