LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Broken symbolic link (https://www.linuxquestions.org/questions/linux-kernel-70/broken-symbolic-link-584930/)

maldojr88 09-15-2007 02:56 PM

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)

maldojr88 09-15-2007 03:09 PM

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)

Brian1 09-15-2007 05:55 PM

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

macemoneta 09-15-2007 08:43 PM

You just need to:

yum install kernel-devel


All times are GMT -5. The time now is 01:07 PM.