Advertisement
Guest User

Untitled

a guest
Feb 17th, 2017
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c: In function 'os_lock_user_pages': [2/1543]
  2. /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c:120:48: warning: passing argument 4 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conver
  3. sion]
  4. page_count, write, force, user_pages, NULL);
  5. ^
  6. In file included from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-pgprot.h:17:0,
  7. from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-linux.h:17,
  8. from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c:15:
  9. /nix/store/x2cai50grwrks62bk4cmn89dl0vngvnv-linux-4.9.9-dev/lib/modules/4.9.9/source/include/linux/mm.h:1280:6: note: expected 'struct page **' but argument is of type 'NvBool {aka
  10. unsigned char}'
  11. long get_user_pages(unsigned long start, unsigned long nr_pages,
  12. ^
  13. /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c:120:55: error: passing argument 5 of 'get_user_pages' from incompatible pointer type [-Werror=incompatible-poin
  14. ter-types]
  15. page_count, write, force, user_pages, NULL);
  16. ^
  17. In file included from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-pgprot.h:17:0,
  18. from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-linux.h:17,
  19. from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c:15:
  20. /nix/store/x2cai50grwrks62bk4cmn89dl0vngvnv-linux-4.9.9-dev/lib/modules/4.9.9/source/include/linux/mm.h:1280:6: note: expected 'struct vm_area_struct **' but argument is of type 'st
  21. ruct page **'
  22. long get_user_pages(unsigned long start, unsigned long nr_pages,
  23. ^
  24. In file included from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-linux.h:18:0,
  25. from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c:15:
  26. /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-mm.h:45:41: error: too many arguments to function 'get_user_pages'
  27. #define NV_GET_USER_PAGES get_user_pages
  28. ^
  29. /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c:119:11: note: in expansion of macro 'NV_GET_USER_PAGES'
  30. ret = NV_GET_USER_PAGES((unsigned long)address,
  31. ^
  32. In file included from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-pgprot.h:17:0,
  33. from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/common/inc/nv-linux.h:17,
  34. from /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nvidia/os-mlock.c:15:
  35. /nix/store/x2cai50grwrks62bk4cmn89dl0vngvnv-linux-4.9.9-dev/lib/modules/4.9.9/source/include/linux/mm.h:1280:6: note: declared here
  36. long get_user_pages(unsigned long start, unsigned long nr_pages,
  37. ^
  38. cc1: some warnings being treated as errors
  39. make[3]: *** [/nix/store/x2cai50grwrks62bk4cmn89dl0vngvnv-linux-4.9.9-dev/lib/modules/4.9.9/source/scripts/Makefile.build:294: /tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel/nv
  40. idia/os-mlock.o] Error 1
  41. make[2]: *** [/nix/store/x2cai50grwrks62bk4cmn89dl0vngvnv-linux-4.9.9-dev/lib/modules/4.9.9/source/Makefile:1490: _module_/tmp/nix-build-nvidia-x11-367.57-4.9.9.drv-0/kernel] Error
  42. 2
  43. make[2]: Leaving directory '/nix/store/x2cai50grwrks62bk4cmn89dl0vngvnv-linux-4.9.9-dev/lib/modules/4.9.9/build'
  44. make[1]: *** [Makefile:150: sub-make] Error 2
  45. make[1]: Leaving directory '/nix/store/x2cai50grwrks62bk4cmn89dl0vngvnv-linux-4.9.9-dev/lib/modules/4.9.9/source'
  46. make: *** [Makefile:81: modules] Error 2
  47. builder for ‘/nix/store/wz45jxzw3kmd644whhg6lawkldcmndgz-nvidia-x11-367.57-4.9.9.drv’ failed with exit code 2
  48. cannot build derivation ‘/nix/store/6yckyzap2y9v5vzvi4c5rmairlmj9c9a-kernel-modules.drv’: 1 dependencies couldn't be built
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement