[SOLVED] Kernel 3.11.0 not working NVIDIA 319.49

Hi:

Errors compilation for NVIDIA Drivers in file nvidia-installer.log:

from /root/NVIDIA-Linux-x86-319.49/kernel/os-interface.c:26:
/usr/src/linux-headers-3.11.0/include/linux/cpumask.h: En la función ‘cpumask_parse’:
/usr/src/linux-headers-3.11.0/include/linux/cpumask.h:603:26: aviso: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.11.0/arch/x86/include/asm/uaccess.h:537:0,
from /usr/src/linux-headers-3.11.0/include/linux/poll.h:11,
from /root/NVIDIA-Linux-x86-319.49/kernel/nv-linux.h:115,
from /root/NVIDIA-Linux-x86-319.49/kernel/os-interface.c:26:
/usr/src/linux-headers-3.11.0/arch/x86/include/asm/uaccess_32.h: En la función ‘copy_from_user’:
/usr/src/linux-headers-3.11.0/arch/x86/include/asm/uaccess_32.h:208:6: aviso: comparación entre expresiones enteras signed y unsigned [-Wsign-compare]
/root/NVIDIA-Linux-x86-319.49/kernel/os-interface.c: En la función ‘os_get_system_memory_size’:
/root/NVIDIA-Linux-x86-319.49/kernel/os-interface.c:255:21: error: ‘num_physpages’ no se declaró aquí (primer uso en esta función)
/root/NVIDIA-Linux-x86-319.49/kernel/os-interface.c:255:21: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece
/root/NVIDIA-Linux-x86-319.49/kernel/os-interface.c:256:1: aviso: el control alcanza el final de una función que no es void [-Wreturn-type]
make[4]: *** [/root/NVIDIA-Linux-x86-319.49/kernel/os-interface.o] Error 1
make[3]: *** [module/root/NVIDIA-Linux-x86-319.49/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
→ Error.

Any ideas?

Thanks

Ah, my operating system is Debian SID/Jessie.

in nv-linux.h
replace
#define NV_NUM_PHYSPAGES num_physpages
with
#define NV_NUM_PHYSPAGES totalram_pages

totalram_pages is a wrong call/function, see the other thread.

Oooook. Looking in the codes. :) Thanks!

WORKING…