17.08.2015 11:17, luca pedrielli пишет:
or is the new kernel the culprit?

/var/lib/dkms/nvidia340/340.76-1/build/nv-pat.c:38:5: error: implicit 
declaration of function ‘read_cr4’ [-Werror=implicit-function-declaration]
      *cr4 = read_cr4();
      ^
/var/lib/dkms/nvidia340/340.76-1/build/nv-pat.c:39:5: error: implicit 
declaration of function ‘write_cr4’ [-Werror=implicit-function-declaration]
      if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80);
      ^
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/nvidia340/340.76-1/build/nv-pat.o] Error 1
make[1]: *** [_module_/var/lib/dkms/nvidia340/340.76-1/build] Error 2
make[1]: Leaving directory `/usr/src/linux-4.1.3-nrjQL-desktop-3omv'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [nvidia.ko] Error 1

In ROSA, we added the following patch some time ago:

https://abf.io/import/nvidia340/blob/rosa2014.1/nvidia340-fix-build-with-kernel-4.0.patch

Regards,
Eugene

_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to