LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-10-2003, 03:17 PM   #1
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
Too many levels of symbolic links


I'm trying to install the radeon 9700 drivers and its quite a pain. When I try to run make.sh, it tells me:

[I]Error:
kernel includes at /usr/src/linux-2.4.19-35mdk/include do not match current kernel.
they are versioned as ""
instead of "2.4.19-16mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux[/l]

I noticed that there is a directory in /lib/modules that has a different kernel number (2.4.19-16mdk).
In this directory is a symlink that links to the old kernel number (build -> linux-2.4.19-16mdk), and in my /usr/src/linux directory is a symlink that links 2.4.19-35mdk to itself. As you can see from the above error message, I need to get this symlink problem corrected, but I'm quite confused as to how to go about doing this. All help is much appreciated.
 
Old 10-10-2003, 03:24 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try changing the /usr/src/linux symlink to /usr/src/linux-2.4.19-16mdk
 
Old 10-10-2003, 03:32 PM   #3
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Original Poster
Rep: Reputation: 30
Okay, but how do I do that? (sorry, Im new to this
 
Old 10-10-2003, 04:32 PM   #4
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
ln -s /usr/src/linux /usr/src/linux-2.4.19-16mdk

you can test this by using ls -l which will show everything in long detailed format.

If it scrolls by too fast, use ls -l | more

I may have given the ln command backwards, so if I did, use
ln -s /usr/src/linux-2.4.19-16mdk /usr/src/linux instead
 
Old 10-10-2003, 06:09 PM   #5
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Original Poster
Rep: Reputation: 30
Thanks a lot. I was able to get everything working just fine. Once again, thank you.
 
  


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
mount: Too many levels of symbolic links jpotex Slackware 7 02-13-2005 08:00 AM
two many levels of symbolic links walkant Linux - Software 3 07-14-2004 11:05 AM
Two many levels of symbolic links walkant Linux - Software 1 07-10-2004 09:14 AM
two many levels of symbolic links walkant Linux - Software 1 07-10-2004 08:54 AM
Too many levels of symbolic links dwater Linux - Software 2 03-31-2004 05:49 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration