Dave Nebinger schreef: >> "/usr/src/ -> linux-2.6.11-gentoo-r4" >> >> "/usr/src/linux-2.6.11-gentoo-r4" exists > > > You need to link /usr/src/linux to /usr/src/linux-2.6.11-gentoo-r4, > as in: > > # cd /usr/src # ln -sf linux-2.6.11-gentoo-r4 linux > > Dave >
Or, dicing it down even further: /usr/src/linux is not a folder. "linux" is a symlink in the /usr/src/ folder. This symlink, because it is targeted, either manually or automatically, to the last-installed kernel source-- which is not necessarily the same as the currently running kernel-- is used by applications which need to know what version of the kernel to compile against. What your error is saying is that it cannot determine what kernel source to compile against, because the 'linux' symlink in /usr/src (/usr/src/linux, thus) does not exist, or is not valid (does not point to a kernel source). In your case, it does not seem to exist. Holly -- gentoo-user@gentoo.org mailing list