View previous topic :: View next topic |
Author |
Message |
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Mon Aug 31, 2015 8:21 am Post subject: [SOLVE]Failed to emerge x11-drivers/nvidia-drivers-355.06-r1 |
|
|
I was trying to rebuild nvidia for a new kernel 4.2.0 and...
(there is no problem with this driver for kernel 4.1.6)
Code: | make -f /usr/src/linux-4.2.0-gentoo/scripts/Makefile.modpost
find /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -i ./Module.symvers -I /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel/Module.symvers -o /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel/Module.symvers -S -w -s -T -
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'flush_workqueue'
/usr/src/linux-4.2.0-gentoo/scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
/usr/src/linux-4.2.0-gentoo/Makefile:1389: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/usr/src/linux-4.2.0-gentoo'
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.2.0-gentoo'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
* ERROR: x11-drivers/nvidia-drivers-355.06-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`.
* The complete build log is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/build.log'.
* The ebuild environment file is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/environment'.
* Working directory: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel'
* S: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/'
>>> Failed to emerge x11-drivers/nvidia-drivers-355.06-r1, Log file:
>>> '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/build.log'
* Messages for package x11-drivers/nvidia-drivers-355.06-r1:
* Gentoo supports kernels which are supported by NVIDIA
* which are limited to the following kernels:
* <sys-kernel/gentoo-sources-4.2
* <sys-kernel/vanilla-sources-4.2
*
* You are free to utilize epatch_user to provide whatever
* support you feel is appropriate, but will not receive
* support as a result of those changes.
*
* Do not file a bug report about this.
* Messages for package x11-drivers/nvidia-drivers-355.06-r1:
* ERROR: x11-drivers/nvidia-drivers-355.06-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-355.06-r1::gentoo'`.
* The complete build log is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/build.log'.
* The ebuild environment file is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/temp/environment'.
* Working directory: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/kernel'
* S: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-355.06-r1/work/'
|
Last edited by Xywa on Thu Sep 03, 2015 11:53 am; edited 1 time in total |
|
Back to top |
|
|
bathtor n00b
Joined: 13 Jun 2015 Posts: 6
|
|
Back to top |
|
|
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Sep 03, 2015 11:53 am Post subject: |
|
|
Fixed in kernel 4.2.0-gentoo-r1 |
|
Back to top |
|
|
|