Results 1 to 10 of 11
i get this error
Code:
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.15.1
* ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-04-2006 #1
emerge -uvD world error
i get this error
Code:* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.15.1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar <VARIABLE> <CONFIGFILE> * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources. * If you are using KBUILD_OUTPUT, please set the environment var so that * it points to the necessary object directory so that it might find .config. !!! ERROR: media-sound/alsa-driver-1.0.10-r2 failed. !!! Function linux-info_pkg_setup, Line 534, Exitcode 1 !!! Unable to calculate Linux Kernel version !!! If you need support, post the topmost build error, NOT this status message.
- 02-07-2006 #2
- 02-07-2006 #3
Have you tried with just -uv without the D?
Have you tried, "emerge gentoo-sources"?How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 02-07-2006 #4
Have you actually build from that kernel source? It seems to have a problem finding your kernel configuration (.config file)
- 02-12-2006 #5Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
cd /usr/src/linux
make menuconfig > exit > save yes
emerge uDv world will now workProud to be a GNU/Gentoo Linux user!
- 02-28-2006 #6
- 02-28-2006 #7
Make sure /usr/src/linux points to your current working kernel.
If that doesn't match your 'uname -r' then delete the symlink and create one that points to your current kernel. then do the make menuconfig, exit, save, and it should work.Code:ls -l /usr/src/linux
- 03-02-2006 #8so what do i write?
Originally Posted by gruven
- 03-02-2006 #9
to make the symlink match your current kernel, then you would do a
then, do aCode:uname -r
Then, you will find the source for the current running kernel that matched your uname -r.Code:cd /usr/src
You would delete the symlink
and recreate the symlink from the source code of the current running kernelCode:del /usr/src/linux
substitute the kernel source directory for 'uname -r' without the single quotes. This is all in the installation manual.Code:ln -s 'uname -r' linux
- 03-02-2006 #10
i want to update my kernel then do that...so how do i update my kernel?


Reply With Quote
