Driver 331.38 Installation Failure - Debian Jessie (x64) Kernel 3.12-1

I’m trying to manually install the 331.38 driver and I keep getting DKMS and installation failures.

[code]
DKMS make.log for nvidia-331.38 for kernel 3.12-1-amd64 (x86_64)
Wed Feb 5 13:11:07 EST 2014
NVIDIA: calling KBUILD…
make[1]: Entering directory `/usr/src/linux-headers-3.12-1-common’
make -C /lib/modules/3.12-1-amd64/build
KBUILD_SRC=/usr/src/linux-headers-3.12-1-common
KBUILD_EXTMOD="/var/lib/dkms/nvidia/331.38/build" -f /usr/src/linux-headers-3.12-1-common/Makefile
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo >&2;
echo >&2 " ERROR: Kernel configuration is invalid.";
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo >&2 " Run ‘make oldconfig && make prepare’ on kernel src to fix it.";
echo >&2 ;
/bin/false)
mkdir -p /var/lib/dkms/nvidia/331.38/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia/331.38/build/.tmp_versions/*
make -f /usr/src/linux-headers-3.12-1-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia/331.38/build
cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv.o /var/lib/dkms/nvidia/331.38/build/nv.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv.c:13:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv.c:13:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv.c:13:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia/331.38/build/nv-acpi.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-acpi.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

/var/lib/dkms/nvidia/331.38/build/nv-acpi.c: At top level:
/var/lib/dkms/nvidia/331.38/build/nv-acpi.c:70:9: warning: initialization from incompatible pointer type [enabled by default]
.remove = nv_acpi_remove,
^
/var/lib/dkms/nvidia/331.38/build/nv-acpi.c:70:9: warning: (near initialization for ‘nv_acpi_driver_template.ops.remove’) [enabled by default]
cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia/331.38/build/nv-chrdev.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-chrdev.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-chrdev.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-chrdev.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-cray.o /var/lib/dkms/nvidia/331.38/build/nv-cray.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-cray.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-cray.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-cray.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-drm.o /var/lib/dkms/nvidia/331.38/build/nv-drm.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-drm.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-drm.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-drm.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

In file included from /usr/src/linux-headers-3.12-1-common/include/drm/drm_crtc.h:32:0,
from /usr/src/linux-headers-3.12-1-common/include/drm/drmP.h:701,
from /var/lib/dkms/nvidia/331.38/build/nv-drm.c:19:
/usr/src/linux-headers-3.12-1-common/include/linux/fb.h: In function ‘fb_pad_aligned_buffer’:
/usr/src/linux-headers-3.12-1-common/include/linux/fb.h:650:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < s_pitch; j++)
^
cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia/331.38/build/nv-gvi.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-gvi.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-gvi.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-gvi.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia/331.38/build/nv-i2c.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-i2c.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-i2c.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-i2c.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia/331.38/build/nv-mempool.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mempool.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mempool.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mempool.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-mlock.o /var/lib/dkms/nvidia/331.38/build/nv-mlock.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mlock.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mlock.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mlock.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-headers-3.12-1-common/include -Iinclude -I/usr/src/linux-headers-3.12-1-common/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.12-1-common/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.12-1-common/include/linux/kconfig.h -I/var/lib/dkms/nvidia/331.38/build -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia/331.38/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“331.38” -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=“nvidia” -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia/331.38/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia/331.38/build/nv-mmap.c
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/bitops.h:522:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/kernel.h:10,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mmap.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-headers-3.12-1-common/include/asm-generic/bitops/const_hweight.h:27:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
#define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
^
/usr/src/linux-headers-3.12-1-common/include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
^
In file included from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/cpumask.h:4:0,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-headers-3.12-1-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.12-1-common/include/linux/preempt.h:9,
from /usr/src/linux-headers-3.12-1-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.12-1-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.12-1-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/timex.h:56,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:17,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mmap.c:15:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-headers-3.12-1-common/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
int len = nl ? nl - buf : strlen(buf);
^
In file included from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.12-1-common/include/linux/stddef.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/types.h:5,
from /usr/src/linux-headers-3.12-1-common/include/uapi/linux/capability.h:16,
from /usr/src/linux-headers-3.12-1-common/include/linux/capability.h:15,
from /usr/src/linux-headers-3.12-1-common/include/linux/sched.h:13,
from /usr/src/linux-headers-3.12-1-common/include/linux/utsname.h:5,
from /var/lib/dkms/nvidia/331.38/build/nv-linux.h:44,
from /var/lib/dkms/nvidia/331.38/build/nv-mmap.c:15:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.12-1-common/arch/x86/include/asm/uaccess_64.h:62:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/usr/src/linux-headers-3.12-1-common/include/linux/compiler.h:152:40: note: in definition of macro ‘likely’

define likely(x) __builtin_expect(!!(x), 1)

                                    ^

cc -Wp,-MD,/var/lib/dkms/nvidia/331.38/build/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.12-1-common/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux
make.log (176 KB)

Don’t use the installer, install the driver from the experimental repo and it will work.

please explain… I have another post where 319.76 which is the most recent available in the Debian Jessie (testing) repository is causing me problems. Besides that, I prefer to stay current, not behind, on display drivers.

towo@Druck-Buero:~$ LANG=C apt-cache policy nvidia-driver
nvidia-driver:
  Installed: (none)
  Candidate: 331.38-2.siduction.1
  Version table:
     331.38-2.siduction.1 0
        500 http://packages.siduction.org/fixes/ unstable/non-free amd64 Packages
     331.38-2 0
          1 http://http.debian.net/debian/ experimental/non-free amd64 Packages
          1 http://ftp.de.debian.org/debian/ experimental/non-free amd64 Packages
     331.38-0.siduction.3 0
        500 http://packages.siduction.org/experimental/ unstable/non-free amd64 Packages
     319.82-1 0
        100 http://http.debian.net/debian/ sid/non-free amd64 Packages
     319.76-1 0
        500 http://ftp.de.debian.org/debian/ testing/non-free amd64 Packages

What’s hard to understand in “use the driver from experimental repo”?

How do I get only the nvidia driver from experimental without having my whole system thinking it needs to upgrade to sid?

I managed to use:

sh ./NVIDIA-Linux-x86_64-331.38.bin --no-unified-memory

and then no DKMS but I did install 32-bit compatibility libraries. That is the only way it would complete. The 331.38 driver is running, but I have no CUDA.

Here is the logfile from the failed CUDA.
nvidia-installer.log.CUDA_Fails.log (188 KB)