LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-15-2007, 02:56 PM   #1
maldojr88
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Rep: Reputation: 0
Broken symbolic link


hey guys...i got my laptop a few days ago...and ive installed fedora 6 on it...i also have ubuntu on my other laptop which works perfectly smooth...

the problems lies in that i was attempting to install ndiswrapper to be able to install the drivers for my wireless card...

then i got an error saying that it cant find the kernel build files...

well after some research i have discovered that there is nothing on the

/usr/src folder....nothing at all...

so i went to the


/lib/modules/<someNumber>/

here i found some files...one of them was the "build"

so in the command line i type

$ file build

and it says :

build: broken symbolic link (and it goes on)



who do i fix this fatal error...please be as specific as possible...

if the task is too complex...just tell me to install again or somthing because some websites had really complex subjects about fixing broken links...

thank you in advanced (the problem is on the fedora 6 computer)
 
Old 09-15-2007, 03:09 PM   #2
maldojr88
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Broken symbolic link

hey guys...i got my laptop a few days ago...and ive installed fedora 6 on it...i also have ubuntu on my other laptop which works perfectly smooth...

the problems lies in that i was attempting to install ndiswrapper to be able to install the drivers for my wireless card...

then i got an error saying that it cant find the kernel build files...

well after some research i have discovered that there is nothing on the

/usr/src folder....nothing at all...

so i went to the


/lib/modules/<someNumber>/

here i found some files...one of them was the "build"

so in the command line i type

$ file build

and it says :

build: broken symbolic link (and it goes on)



who do i fix this fatal error...please be as specific as possible...

if the task is too complex...just tell me to install again or somthing because some websites had really complex subjects about fixing broken links...

thank you in advanced (the problem is on the fedora 6 computer)
 
Old 09-15-2007, 05:55 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
A very common question here on the forums. You need to install the kernel source if you are building ndiswrapper. Fedora does not install the kernel source during the install. Why I do not know. Its been that way even before when it was Redhat. At any point if it is still the orginal installed cd then on the install disc is a file called kernel-devel-*****.rpm and maybe kernel-headers-*****.rpm. You need to install them or at least the kernel-devel rpm. To do that as root goto the location of the rpm on the install disc and run this command.
rpm -ivh kernel-devel*.rpm
Do the same if the headers file exist.

Now you can build ndiswrapper.

Also don't double post.
http://www.linuxquestions.org/questi...97#post2892997

Brian

Last edited by Brian1; 09-15-2007 at 06:23 PM.
 
Old 09-15-2007, 08:43 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
You just need to:

yum install kernel-devel
 
  


Reply


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
Broken symbolic link maldojr88 Linux - Laptop and Netbook 1 09-15-2007 05:55 PM
/lib/modules/2.6.15-1.2054_FC5/build: broken symbolic link sjw01748 Linux - Newbie 1 01-16-2007 05:32 AM
/lib/modules/2.6.15-1.2054_FC5/build: broken symbolic link sjw01748 Linux - Kernel 1 01-15-2007 10:19 AM
How do I fix a broken Symbolic Link? dickgregory Linux - Newbie 4 11-07-2004 08:08 PM
How can I fix an ungodly amount of broken symbolic links? spoonz Slackware 1 05-07-2004 03:04 PM


All times are GMT -5. The time now is 09:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration