Summary: | nvidia-kernel cannot find kernel sources | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gabriel Devenyi <ace> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gabriel Devenyi
2004-08-06 15:08:22 UTC
seems as though this line is making it fail make IGNORE_CC_MISMATCH="yes" SYSSRC="${KERNEL_DIR}" SYSOUT="${KV_OUTPUT}" \ clean module V=1 || die "Failed to build module" when I set SYSOUT="/usr/src/kernel-out" the directory I set the kernel sources to output to, it installs fine, seems KV_OUTPUT is not getting setup correctly. To quote your original comment
>>> Unpacking source...
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.7-ck6 found in /usr/src/linux
* which outputs to /usr/src/linux
* By not using the kernel's ability to output to an alternative
* directory, some external module builds may fail.
* See <insert link to user doc here>
KV_OUTPUT and hence SYSOUT is dynamically determined from the kernel sources, this works in accordance with how kbuild is meant to be implemented. The output directory is found from /usr/src/linux/Makefile and the KBUILD_OUTPUT variable... is this set on your system?
Well I changed it to compile into the same directory and it works fine. My old kernel build command was 'make O=/usr/src/kernel-out -j3' so does that change the makefile, or do I have to do it manually? See sys-kernel/config-kernel It will make the appropriate changes... resolving bug. sys-kernel/config-kernel is masked out (says its broken). |