Your problem is that Nvidia experiences errors when building for this kernel. It needs a new patch, try contacting people here:
https://devtalk.nvidia.com/default/topic/968448/linux/304-135-driver-does-not-build-on-4-10-kernels/2
https://devtalk.nvidia.com/default/topic/995636/-patches-378-13-4-10-and-4-11-rc5/
Or you could use a patch for 4.10 and install 4.10 kernel.
Your problem is that Nvidia experiences errors when building for this kernel. It needs a new patch, try contacting people here:
https:/ /devtalk. nvidia. com/default/ topic/968448/ linux/304- 135-driver- does-not- build-on- 4-10-kernels/ 2
https:/ /devtalk. nvidia. com/default/ topic/995636/ -patches- 378-13- 4-10-and- 4-11-rc5/
Or you could use a patch for 4.10 and install 4.10 kernel.