View previous topic :: View next topic |
Author |
Message |
Apex_Axel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jun 2004 Posts: 6
|
Posted: Mon Jun 14, 2004 9:40 pm Post subject: Make Menuconfig and /usr/src/linux/ |
|
|
Ok well i was recompiling my kernel to include my soundcard drivers, following a tutorial i found somewhere... cant find it now :/ but anyway i typed the following commands as per the tutorial:
Code: |
cd /usr/src
rm linux
ln -s Gentoo-2.6.5-r1-06-14-2004 linux
|
Well everything worked great to recompile, and sound is working, but now i would like to check my kernel config, so i tried to go to /usr/src/linux again to do make menuconfig, which returned the following:
bash: cd: /usr/src/linux: No such file or directory
but when i typed ls in /usr/src i get:
linux linux-2.6.5-gentoo-r1 xorg-x11-6.7.0
So my question is, what did i do wrong, how can i fix it, and what should i do differently next time i compile a kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
spb Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/20036972384156d941bd94f.jpg)
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Mon Jun 14, 2004 9:43 pm Post subject: |
|
|
That ln line should be Code: | ln -s linux-2.6.5-gentoo linux | As for the errors you're getting, it's quite possible to create a symlink to a non-existant file, which you did, but when you try to read it you'll get not found errors, because the target doesn't exist. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grimm26 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/77136029440c8ec5dde412.png)
Joined: 23 May 2004 Posts: 313 Location: Chicagoland, IL
|
Posted: Mon Jun 14, 2004 9:47 pm Post subject: |
|
|
The real question is what does ls -l /usr/src show? _________________ "Blessed is he who finds happiness in his own foolishness, for he will always be happy". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Apex_Axel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jun 2004 Posts: 6
|
Posted: Mon Jun 14, 2004 10:08 pm Post subject: |
|
|
Here is what ls -l /usr/src shows, so basically i created a symlink to the wrong file? Hmf didnt even know what a symlink was until i looked it up just now...
ls -l /usr/src
total 8
lrwxrwxrwx 1 root root 26 Jun 14 16:04 linux -> Gentoo-2.6.5-r1-06-14-2004
drwxr-xr-x 19 root root 4096 Jun 14 15:43 linux-2.6.5-gentoo-r1
drwxr-xr-x 3 root root 4096 Jun 13 17:19 xorg-x11-6.7.0
Aha well at least i know what the ln command does, managed to fix it by removing the linux link, then making a new one with the right path this time Thanks for the help! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|