nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Dec 10 02:54:44 2014
installer version: 346.22

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
    ./nvidia-installer

Using: nvidia-installer ncurses user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> License accepted.
-> Installing NVIDIA driver version 346.22.
-> There appears to already be a driver installed on your system (version: 
346.16).  As part of installing this driver (version: 346.22), the existing 
driver will be uninstalled.  Are you sure you want to continue? (Answer: 
Continue installation)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/3.18.0-shark2/source'
-> Kernel output path: '/lib/modules/3.18.0-shark2/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; /usr/bin/make clean'...
-> Building NVIDIA kernel module:
   executing: 'cd ./kernel; /usr/bin/make module 
SYSSRC=/lib/modules/3.18.0-shark2/source 
SYSOUT=/lib/modules/3.18.0-shark2/build -j8  NV_BUILD_MODULE_INSTANCES='...
   NVIDIA: calling KBUILD...
   make[1]: вход в каталог «/usr/src/linux-headers-3.18.0-shark2»
   /usr/bin/make -C /lib/modules/3.18.0-shark2/build 
KBUILD_SRC=/usr/src/linux-headers-3.18.0-shark2 \
   -f /usr/src/linux-headers-3.18.0-shark2/Makefile modules
   make[2]: вход в каталог «/usr/src/linux-headers-3.18.0-shark2»
   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 /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_versions ; 
rm -f /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_versions/*
   /usr/bin/make -f /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build 
obj=/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel
     cc -Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nv-acpi.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe 
-Wno-sign-compare -fno-asynchronous-unwind-table
   s -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx 
-fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized 
--param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector 
-Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments 
-g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)"  
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_nv-acpi.o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c
     cc 
-Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nv-chrdev.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -W
   no-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 
-mno-3dnow -mno-avx -fno-delete-null-pointer-checks -Os 
-Wno-maybe-uninitialized --param=allow-store-data-races=0 
-Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable 
-fomit-frame-pointer -fno-var-tracking-assignments -g 
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)"  
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_nv-chrdev.o 
/tmp/selfgz1502
   /NVIDIA-Linux-x86_64-346.22/kernel/nv-chrdev.c
     cc -Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nv-cray.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_CRC
   32=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 
-fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized 
--param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector 
-Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments 
-g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)"  
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1502/NVIDIA-Linux-x86_6
   4-346.22/kernel/.tmp_nv-cray.o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-cray.c
     cc -Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nv-dma.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTI
   ONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=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 -fno-delete-null-pointer-checks 
-Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 
-Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable 
-fomit-frame-pointer -fno-var-tracking-assignments -g 
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)"  
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)
   " -c -o /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_nv-dma.o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-dma.c
     cc -Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nv-drm.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_
   CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 
-DCONFIG_AS_CRC32=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 -fno-delete-null-pointer-checks -Os 
-Wno-maybe-uninitialized --param=allow-store-data-races=0 
-Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable 
-fomit-frame-pointer -fno-var-tracking-assignments -g 
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm
   )"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_nv-drm.o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-drm.c
     cc -Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nv-gvi.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outg
   oing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 
-DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=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 
-fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized 
--param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector 
-Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments 
-g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=
   #s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_nv-gvi.o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-gvi.c
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:15:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-chrdev.c:15:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
     cc -Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nvlink.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_
   FXSAVEQ=1 -DCONFIG_AS_CRC32=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 -fno-delete-null-pointer-checks -Os 
-Wno-maybe-uninitialized --param=allow-store-data-races=0 
-Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable 
-fomit-frame-pointer -fno-var-tracking-assignments -g 
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvlink)"  
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfg
   z1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_nvlink.o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink.c
     cc -Wp,-MD,/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.nv-i2c.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include 
-I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include 
-Iarch/x86/include/generated  -I/usr/src/linux-headers-3.18.0-shark2/include 
-Iinclude -I/usr/src/linux-headers-3.18.0-shark2/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/usr/src/linux-headers-3.18.0-shark2/include/uapi -Iinclude/generated/uapi 
-include /usr/src/linux-headers-3.18.0-shark2/include/linux/kconfig.h   
-I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -D__KERNEL__ -Wall -Wundef 
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 
-mno-80387 -mno-fp-ret-in-387 -march=core2 -mno-red-zone -mcmodel=kernel 
-funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1
    -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=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 
-fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized 
--param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector 
-Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments 
-g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
-Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG 
-U_DEBUG -DNDEBUG   -I/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel -Wall 
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
-DNV_VERSION_STRING=\"346.22\" -Wno-unused-function -Wuninitialized 
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__  
-DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  
-D"KBUILD_MODN
   AME=KBUILD_STR(nvidia)" -c -o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/.tmp_nv-i2c.o 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-i2c.c
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-cray.c:15:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-dma.c:15:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-drm.c:15:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-gvi.c:15:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-i2c.c:15:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest.h:2:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:15,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink-linux.h:14,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink.c:13:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/conftest/functions.h:25:2: 
error: #error acpi_walk_namespace() conftest failed!
    #error acpi_walk_namespace() conftest failed!
     ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink-linux.h:14,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink.c:13:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-gvi.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-i2c.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-drm.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-chrdev.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-cray.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-dma.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h: In 
function ‘queue_write_trylock’:
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/include/asm-generic/qrwlock.h:93:35: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
             cnts, cnts | _QW_LOCKED) == cnts);
                                      ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink-linux.h:14,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink.c:13:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-gvi.c:15:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-drm.c:15:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-i2c.c:15:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-chrdev.c:15:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:15:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-cray.c:15:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/stddef.h:1:0,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/stddef.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/posix_types.h:4,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/types.h:13,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/types.h:5,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/uapi/linux/capability.h:16,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/capability.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/sched.h:15,
                    from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/utsname.h:5,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:44,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-dma.c:15:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_from_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:712:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h: In 
function ‘copy_to_user’:
   /usr/src/linux-headers-3.18.0-shark2/arch/x86/include/asm/uaccess.h:730:26: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
     if (likely(sz < 0 || sz >= n))
                             ^
   /usr/src/linux-headers-3.18.0-shark2/include/linux/compiler.h:159:40: note: 
in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-gvi.c:15:0:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink-linux.h:14:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink.c:13:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-drm.c:15:0:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-i2c.c:15:0:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:15:0:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-chrdev.c:15:0:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-dma.c:15:0:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   In file included from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-cray.c:15:0:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h: At top level:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:306:6: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #if (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 6)
         ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:308:8: warning: 
"NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined [-Wundef]
    #elif (NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT == 7)
           ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:314:2: error: 
#error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
    #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
     ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:71:5: warning: 
initialization from incompatible pointer type
        .ids = ACPI_VIDEO_HID,
        ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:71:5: warning: 
(near initialization for ‘nv_acpi_driver_template.ids’)
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:77:9: warning: 
initialization from incompatible pointer type
            .remove = nv_acpi_remove_two_args,
            ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:77:9: warning: 
(near initialization for ‘nv_acpi_driver_template.ops.remove’)
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c: In function 
‘nv_acpi_add’:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:238:62: warning: 
passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type
                acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
                                                                 ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/acpi.h:43:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:285,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/acpi/acpi_bus.h:43:1: note: 
expected ‘long long unsigned int *’ but argument is of type 
‘nv_acpi_integer_t *’
    acpi_evaluate_integer(acpi_handle handle,
    ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c: In function 
‘nv_acpi_event’:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:388:48: warning: 
passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type
                                                   &state);
                                                   ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/acpi.h:43:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:285,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/acpi/acpi_bus.h:43:1: note: 
expected ‘long long unsigned int *’ but argument is of type 
‘nv_acpi_integer_t *’
    acpi_evaluate_integer(acpi_handle handle,
    ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c: In function 
‘nv_acpi_methods_init’:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:564:5: error: 
implicit declaration of function ‘NV_ACPI_WALK_NAMESPACE’ 
[-Werror=implicit-function-declaration]
        NV_ACPI_WALK_NAMESPACE(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
        ^
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c: In function 
‘nv_acpi_ddc_method’:
   /tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:1232:67: 
warning: passing argument 4 of ‘acpi_evaluate_integer’ from incompatible 
pointer type
            status = acpi_evaluate_integer(dev->handle, "_ADR", NULL, 
&device_id);
                                                                      ^
   In file included from 
/usr/src/linux-headers-3.18.0-shark2/include/linux/acpi.h:43:0,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-linux.h:285,
                    from 
/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.c:15:
   /usr/src/linux-headers-3.18.0-shark2/include/acpi/acpi_bus.h:43:1: note: 
expected ‘long long unsigned int *’ but argument is of type 
‘nv_acpi_integer_t *’
    acpi_evaluate_integer(acpi_handle handle,
    ^
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-cray.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-cray.o] 
Ошибка 1
   make[3]: *** Ожидание завершения заданий…
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-drm.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-drm.o] 
Ошибка 1
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-chrdev.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-chrdev.o] 
Ошибка 1
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-i2c.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-i2c.o] 
Ошибка 1
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-dma.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-dma.o] 
Ошибка 1
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-gvi.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-gvi.o] 
Ошибка 1
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nvlink.o] 
Ошибка 1
   cc1: some warnings being treated as errors
   /usr/src/linux-headers-3.18.0-shark2/scripts/Makefile.build:257: 
ошибка выполнения рецепта для цели 
«/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.o»
   make[3]: *** [/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel/nv-acpi.o] 
Ошибка 1
   /usr/src/linux-headers-3.18.0-shark2/Makefile:1381: ошибка 
выполнения рецепта для цели 
«_module_/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel»
   make[2]: *** [_module_/tmp/selfgz1502/NVIDIA-Linux-x86_64-346.22/kernel] 
Ошибка 2
   make[2]: выход из каталога 
«/usr/src/linux-headers-3.18.0-shark2»
   Makefile:145: ошибка выполнения рецепта для 
цели «sub-make»
   make[1]: *** [sub-make] Ошибка 2
   make[1]: выход из каталога 
«/usr/src/linux-headers-3.18.0-shark2»
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   nvidia-modules-common.mk:248: ошибка выполнения 
рецепта для цели «module»
   make: *** [module] Ошибка 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file 
'/var/log/nvidia-installer.log' for details.  You may find suggestions on 
fixing installation problems in the README available on the Linux driver 
download page at www.nvidia.com.

Reply via email to