Advertisement
alexanius

nvidia-drivers error

Apr 2nd, 2017
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | None | 0 0
  1. # emerge nvidia-drivers -q
  2. ...
  3. x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include -I/usr/src/linux-4.10.8-gentoo/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.10.8-gentoo/include -I./include -I/usr/src/linux-4.10.8-gentoo/arch/x86/include/uapi -I/usr/src/linux-4.10.8-gentoo/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.10.8-gentoo/include/linux/kconfig.h -I/usr/src/linux-4.10.8-gentoo//var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/common/inc -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"378.13\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Wno-sign-compare -Wno-format-extra-args -Werror=undef -I/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/.tmp_nv-pat.o /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c
  4. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c: In function ‘nvidia_cpu_callback’:
  5. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:213:14: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function)
  6. case CPU_DOWN_FAILED:
  7. ^
  8. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:213:14: note: each undeclared identifier is reported only once for each function it appears in
  9. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:220:14: error: ‘CPU_DOWN_PREPARE’ undeclared (first use in this function)
  10. case CPU_DOWN_PREPARE:
  11. ^
  12. In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:15:0:
  13. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c: In function ‘nv_init_pat_support’:
  14. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/common/inc/nv-linux.h:391:34: error: implicit declaration of function ‘register_cpu_notifier’ [-Werror=implicit-function-declaration]
  15. #define register_hotcpu_notifier register_cpu_notifier
  16. ^
  17. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:258:17: note: in expansion of macro ‘register_hotcpu_notifier’
  18. if (register_hotcpu_notifier(&nv_hotcpu_nfb) != 0)
  19. ^
  20. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c: In function ‘nv_teardown_pat_support’:
  21. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/common/inc/nv-linux.h:388:36: error: implicit declaration of function ‘unregister_cpu_notifier’ [-Werror=implicit-function-declaration]
  22. #define unregister_hotcpu_notifier unregister_cpu_notifier
  23. ^
  24. /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.c:283:9: note: in expansion of macro ‘unregister_hotcpu_notifier’
  25. unregister_hotcpu_notifier(&nv_hotcpu_nfb);
  26. ^
  27. cc1: some warnings being treated as errors
  28. make[3]: *** [/usr/src/linux-4.10.8-gentoo/scripts/Makefile.build:295: /var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel/nvidia/nv-pat.o] Error 1
  29. make[2]: *** [/usr/src/linux-4.10.8-gentoo/Makefile:1490: _module_/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel] Error 2
  30. make[2]: Leaving directory '/usr/src/linux-4.10.8-gentoo'
  31. make[1]: *** [Makefile:150: sub-make] Error 2
  32. make[1]: Leaving directory '/usr/src/linux-4.10.8-gentoo'
  33. make: *** [Makefile:81: modules] Error 2
  34. * ERROR: x11-drivers/nvidia-drivers-378.13::gentoo failed (compile phase):
  35. * emake failed
  36. *
  37. * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-378.13::gentoo'`,
  38. * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-378.13::gentoo'`.
  39. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/build.log'.
  40. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/environment'.
  41. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel'
  42. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/'
  43.  
  44. * Messages for package x11-drivers/nvidia-drivers-378.13:
  45.  
  46. * Gentoo supports kernels which are supported by NVIDIA
  47. * which are limited to the following kernels:
  48. * <sys-kernel/gentoo-sources-4.10
  49. * <sys-kernel/vanilla-sources-4.10
  50. *
  51. * You are free to utilize epatch_user to provide whatever
  52. * support you feel is appropriate, but will not receive
  53. * support as a result of those changes.
  54. *
  55. * Do not file a bug report about this.
  56. *
  57.  
  58. * Messages for package x11-drivers/nvidia-drivers-378.13:
  59.  
  60. * ERROR: x11-drivers/nvidia-drivers-378.13::gentoo failed (compile phase):
  61. * emake failed
  62. *
  63. * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-378.13::gentoo'`,
  64. * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-378.13::gentoo'`.
  65. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/build.log'.
  66. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/temp/environment'.
  67. * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/kernel'
  68. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-378.13/work/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement