Ok so I checked my kernel version:
Code: Select all
# eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.22-gentoo-r8
[2] linux-2.6.22-gentoo-r9
And I selected the one i use:
Code: Select all
src # eselect kernel set linux-2.6.22-gentoo-r8
Then I checked to make sure it worked:
Code: Select all
# eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.22-gentoo-r8*
[2] linux-2.6.22-gentoo-r9
Then I created the new link:
Code: Select all
src # ln -sfn linux-2.6.22-gentoo-r8
Then I tried to:
And this is what I get which is the same as before:
Code: Select all
src # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: --menuconfig all
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
/usr/share/genkernel/gen_determineargs.sh: line 35: [: : integer expression expected
* Linux Kernel .. for x86...
* ERROR: Error: No kernel .config specified, or file not found!
* -- Grepping log... --
* Linux Kernel .. for x86...
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: --menuconfig all
* ERROR: Error: No kernel .config specified, or file not found!
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
So I decided to check my symlink and its correct:
Code: Select all
src # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 Nov 6 12:45 /usr/src/linux -> linux-2.6.22-gentoo-r8
And the output of this wasnt blinking anymore:
Code: Select all
src # ls /usr/src/linux
Module.symvers block fs ipc mm security vmlinux
System.map crypto include kernel net sound
arch drivers init lib scripts usr
So again if anyone can help it would be great.
Gentoo and I have an On-Off relationship....