| Summary: | nvidia-drivers won't compile with gentoo-sources-4.7.0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Fred Krogh <fkrogh> |
| Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | hardened |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Result from emerge --info '=x11-drivers/nvidia-drivers-367.35-r1::gentoo
The ebuild log emerge -pqv '=x11-drivers/nvidia-drivers-367.35-r1::gentoo The environment The .config file named as config |
||
Created attachment 441774 [details]
The ebuild log
Created attachment 441776 [details]
emerge -pqv '=x11-drivers/nvidia-drivers-367.35-r1::gentoo
Created attachment 441778 [details]
The environment
Looks like your kernel isn't configured. Your error message explicitly says how to attempt to fix that aspect "Run 'make oldconfig && make prepare' on kernel src to fix it."
Either way, from the ebuild:
if use kernel_linux && kernel_is ge 4 7; then
ewarn "Gentoo supports kernels which are supported by NVIDIA"
ewarn "which are limited to the following kernels:"
ewarn "<sys-kernel/gentoo-sources-4.7"
ewarn "<sys-kernel/vanilla-sources-4.7"
ewarn ""
ewarn "You are free to utilize epatch_user to provide whatever"
ewarn "support you feel is appropriate, but will not receive"
ewarn "support as a result of those changes."
ewarn ""
ewarn "Do not file a bug report about this."
ewarn ""
fi
I have done those things -- twice. I'll try deleting copying over an old .config, and try again, and will post again if it should work, I see no reason it should. Created attachment 441780 [details]
The .config file named as config
Sorry, that last comment was meant to say, it is not working as expected. *** This bug has been marked as a duplicate of bug 586066 *** |
Created attachment 441772 [details] Result from emerge --info '=x11-drivers/nvidia-drivers-367.35-r1::gentoo Getting this error: test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; But I have an autoconf.h in /usr/src/linux-4.7.0-gentoo/include/generated/