Announcement

Collapse
No announcement yet.

Kernel updates gives error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kernel updates gives error

    After using Kubuntu 14.04 for over a month now I see some strange behavior. Every time when there is a kernel update I'm getting errors about something related to dkms.

    Code:
    Error! Bad return status for module build on kernel: 3.13.0-46-generic (x86_64)
    Consult /var/lib/dkms/nvidia-331/331.113/build/make.log for more information.
    However, when I want to browse the file it doesn't exist for some reason. Also the kernel is installing as it should be and when I reboot my machine it seems that the kernel is working fine but it gives me these errors. Should I be worried about the errors or can I simply ignore them, Ubuntu didn't gave this messages.

    Edit: I'm using a GT640 with the nvidia-331 package driver.

    #2
    My first instinct is to ignore these messages! If there are no other symptoms it probably doesn't indicate an actual problem.

    I also don't have that specific file, but there are make.log files at locations like /var/lib/dkms/nvidia-331/331.113/3.13.0-45-generic/x86_64/log/make.log - can you find such a file and does it have more information?
    I'd rather be locked out than locked in.

    Comment


      #3
      Hello, I have a log in /var/lib/dkms/nvidia-331/331.113/3.13.0-46-generic/x86_64/log/.

      With this content:

      Code:
      DKMS make.log for nvidia-331-331.113 for kernel 3.13.0-46-generic (x86_64)
      wo feb 25 14:04:10 CET 2015
      NVIDIA: calling KBUILD...
      make[1]: Map '/usr/src/linux-headers-3.13.0-46-generic' wordt binnengegaan
      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/331.113/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-331/331.113/build/.tmp_versions/*
      make -f scripts/Makefile.build obj=/var/lib/dkms/nvidia-331/331.113/build
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv.o /var/lib/dkms/nvidia-331/331.113/build/nv.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv.c:13:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-acpi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-331/331.113/build/nv-acpi.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-acpi.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-acpi.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-acpi.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-chrdev.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-331/331.113/build/nv-chrdev.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-chrdev.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-chrdev.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-chrdev.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-cray.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-331/331.113/build/nv-cray.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-cray.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-cray.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-cray.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-drm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-331/331.113/build/nv-drm.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-drm.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-drm.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-drm.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-gvi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-331/331.113/build/nv-gvi.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-gvi.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-gvi.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-gvi.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-331/331.113/build/nv-i2c.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-i2c.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-i2c.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-i2c.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-mempool.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-331/331.113/build/nv-mempool.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-mempool.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-mempool.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-mempool.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-mlock.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-mlock.o /var/lib/dkms/nvidia-331/331.113/build/nv-mlock.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-mlock.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-mlock.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-mlock.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-mmap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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/331.113/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-331/331.113/build/nv-mmap.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-mmap.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-mmap.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-mmap.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-p2p.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_p2p)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-331/331.113/build/nv-p2p.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-p2p.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-p2p.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-p2p.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-pat.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_pat)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-331/331.113/build/nv-pat.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-pat.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-pat.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-pat.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-procfs.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_procfs)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-331/331.113/build/nv-procfs.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-procfs.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-procfs.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-procfs.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-usermap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_usermap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-331/331.113/build/nv-usermap.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-usermap.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-usermap.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-usermap.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-331/331.113/build/nv-vm.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-vm.c:14:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-vm.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-vm.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-vtophys.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_vtophys)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-331/331.113/build/nv-vtophys.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-vtophys.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-vtophys.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-vtophys.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_os-interface.o /var/lib/dkms/nvidia-331/331.113/build/os-interface.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/os-interface.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/os-interface.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/os-interface.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.os-pci.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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(os_pci)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_os-pci.o /var/lib/dkms/nvidia-331/331.113/build/os-pci.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/os-pci.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/os-pci.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/os-pci.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.os-registry.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_os-registry.o /var/lib/dkms/nvidia-331/331.113/build/os-registry.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/os-registry.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/os-registry.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/os-registry.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.os-smp.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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(os_smp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_os-smp.o /var/lib/dkms/nvidia-331/331.113/build/os-smp.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/os-smp.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/os-smp.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/os-smp.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.os-usermap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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(os_usermap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_os-usermap.o /var/lib/dkms/nvidia-331/331.113/build/os-usermap.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/os-usermap.c:15:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/os-usermap.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/os-usermap.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv_uvm_interface.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_uvm_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv_uvm_interface.o /var/lib/dkms/nvidia-331/331.113/build/nv_uvm_interface.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv_uvm_interface.c:21:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv_uvm_interface.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv_uvm_interface.o"; fi; fi;
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nv-frontend.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -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_frontend)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-331/331.113/build/.tmp_nv-frontend.o /var/lib/dkms/nvidia-331/331.113/build/nv-frontend.c
      In file included from include/uapi/linux/stddef.h:1:0,
                       from include/linux/stddef.h:4,
                       from /usr/src/linux-headers-3.13.0-46-generic/include/uapi/linux/posix_types.h:4,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/capability.h:16,
                       from include/linux/capability.h:15,
                       from include/linux/sched.h:13,
                       from include/linux/utsname.h:5,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-linux.h:44,
                       from /var/lib/dkms/nvidia-331/331.113/build/nv-frontend.c:13:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:612:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
      /usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/asm/uaccess.h:630:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (likely(sz < 0 || sz >= n))
                                ^
      include/linux/compiler.h:152:40: note: in definition of macro ‘likely’
       # define likely(x) __builtin_expect(!!(x), 1)
                                              ^
        if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/nvidia-331/331.113/build/nv-frontend.o != "scripts/mod/empty.o" ]; then /usr/src/linux-headers-3.13.0-46-generic/scripts/recordmcount  "/var/lib/dkms/nvidia-331/331.113/build/nv-frontend.o"; fi; fi;
        /usr/bin/ld.bfd -m elf_x86_64   -r -o /var/lib/dkms/nvidia-331/331.113/build/nvidia.o /var/lib/dkms/nvidia-331/331.113/build/nv-kernel.o /var/lib/dkms/nvidia-331/331.113/build/nv.o /var/lib/dkms/nvidia-331/331.113/build/nv-acpi.o /var/lib/dkms/nvidia-331/331.113/build/nv-chrdev.o /var/lib/dkms/nvidia-331/331.113/build/nv-cray.o /var/lib/dkms/nvidia-331/331.113/build/nv-drm.o /var/lib/dkms/nvidia-331/331.113/build/nv-gvi.o /var/lib/dkms/nvidia-331/331.113/build/nv-i2c.o /var/lib/dkms/nvidia-331/331.113/build/nv-mempool.o /var/lib/dkms/nvidia-331/331.113/build/nv-mlock.o /var/lib/dkms/nvidia-331/331.113/build/nv-mmap.o /var/lib/dkms/nvidia-331/331.113/build/nv-p2p.o /var/lib/dkms/nvidia-331/331.113/build/nv-pat.o /var/lib/dkms/nvidia-331/331.113/build/nv-procfs.o /var/lib/dkms/nvidia-331/331.113/build/nv-usermap.o /var/lib/dkms/nvidia-331/331.113/build/nv-vm.o /var/lib/dkms/nvidia-331/331.113/build/nv-vtophys.o /var/lib/dkms/nvidia-331/331.113/build/os-interface.o /var/lib/dkms/nvidia-331/331.113/build/os-pci.o /var/lib/dkms/nvidia-331/331.113/build/os-registry.o /var/lib/dkms/nvidia-331/331.113/build/os-smp.o /var/lib/dkms/nvidia-331/331.113/build/os-usermap.o /var/lib/dkms/nvidia-331/331.113/build/nv_uvm_interface.o /var/lib/dkms/nvidia-331/331.113/build/nv-frontend.o 
      (cat /dev/null;   echo kernel//var/lib/dkms/nvidia-331/331.113/build/nvidia.ko;) > /var/lib/dkms/nvidia-331/331.113/build/modules.order
      make -f /usr/src/linux-headers-3.13.0-46-generic/scripts/Makefile.modpost
        find /var/lib/dkms/nvidia-331/331.113/build/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -a -i /usr/src/linux-headers-3.13.0-46-generic/Module.symvers -I /var/lib/dkms/nvidia-331/331.113/build/Module.symvers  -o /var/lib/dkms/nvidia-331/331.113/build/Module.symvers -S -w  -s -T -
      WARNING: could not find /var/lib/dkms/nvidia-331/331.113/build/.nv-kernel.o.cmd for /var/lib/dkms/nvidia-331/331.113/build/nv-kernel.o
        cc -Wp,-MD,/var/lib/dkms/nvidia-331/331.113/build/.nvidia.mod.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include  -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-headers-3.13.0-46-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-46-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-46-generic/include/linux/kconfig.h -Iubuntu/include  -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_X86_X32_ABI -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=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-331/331.113/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"331.113\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\"  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE  -c -o /var/lib/dkms/nvidia-331/331.113/build/nvidia.mod.o /var/lib/dkms/nvidia-331/331.113/build/nvidia.mod.c
        /usr/bin/ld.bfd -r -m elf_x86_64 -T /usr/src/linux-headers-3.13.0-46-generic/scripts/module-common.lds --build-id  -o /var/lib/dkms/nvidia-331/331.113/build/nvidia.ko /var/lib/dkms/nvidia-331/331.113/build/nvidia.o /var/lib/dkms/nvidia-331/331.113/build/nvidia.mod.o
      make[1]: Map '/usr/src/linux-headers-3.13.0-46-generic' wordt verlaten
      NVIDIA: left KBUILD.
      In the meantime I found a bug report on Launchpad and I also found some people reporting this issue on other forums so I'm suspecting a bug or something.

      Comment


        #4
        ya I saw that last night for the first time ,,,,,,,,, but do not remember what install I was in ,,,,,,,,,,,I guess it was 14.10 ,,,,,,,I dident install nvidia in 15.04 yet ,,,,,,, or maby it was the netrunner ,,,,,,,I have not seen it in the 14.04 installs .

        but lt seams ok the nvidia module did build for the kernel and was used

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          I got this same error upon updating to the newest kernel but now I get no video. I can log in to the tty screens but no gui. Unfortunately, I don't know how to fix this. Any suggestions?

          Comment


            #6
            Looks like the kernel change didn't pickup the nvidia driver. dkms is supposed to take care of that. If you have wired Internet access....At the Console (tty) login as root and apt-get update then apt-get install dkms. It may be necessary to remove dkms first, but try the installation first.

            Note: If you can get to the GRUB selection screen you may be able to get to the GUI by adding xdrvr=nouveau to the GRUB boot parameters. (At the GRUB boot screen highlight the correct OS then just type xdrvr=nouveau and hit Enter)
            From there you can use the kubuntu tool to install nvidia and/or dkms.
            GigaByte GA-965G-DS3, Core2Duo at 2.1 GHz, 4 GB RAM, ASUS DRW-24B1ST, LiteOn iHAS 324 A, NVIDIA 7300 GS, 500 GB and 80 GB WD HDD

            Comment


              #7
              Originally posted by luckyone View Post
              Looks like the kernel change didn't pickup the nvidia driver. dkms is supposed to take care of that. If you have wired Internet access....At the Console (tty) login as root and apt-get update then apt-get install dkms. It may be necessary to remove dkms first, but try the installation first.

              Note: If you can get to the GRUB selection screen you may be able to get to the GUI by adding xdrvr=nouveau to the GRUB boot parameters. (At the GRUB boot screen highlight the correct OS then just type xdrvr=nouveau and hit Enter)
              From there you can use the kubuntu tool to install nvidia and/or dkms.
              It turns out this is a known issue, bug report at bottom. While looking at the bug reports I saw that a fix had already been released for 340.76 so I downloaded that from nvidia and installed it.

              https://bugs.launchpad.net/ubuntu/+s...cs-drivers-331

              Comment


                #8
                I have similar problem. I use old kernel because it doesn't update with normal Moun updates automatically. Kernel updates just don't show up for update. They don't show up also in Terminal with pt-get upgrade command. While updating in terminal with command
                Code:
                sudo apt-get install linux-headers-3.13.0-49 linux-headers-3.13.0-49-generic
                I get errors. Please, have a look at this log
                http://pastebin.com/mqG66NPG

                I looked at some bugs from above ling but I'm not sure what is wrong in mu case. I can't point any specific output that indicates what exactly is wrong.

                With 3.13.0-52 I have the same problem.

                Comment


                  #9
                  Kernel 3.13 is long-term UNSTABLE on my hardware. I couldn't get video working right until 3.15 so have held back those packages using Synaptic. Whenever something relies on a newer build I have to do a apt-get dist-upgrade

                  Anywho, why not just use a newer kernel? dpkg -i the three files and that's it. I'm using 4.0 with 14.04 no problems.

                  $ inxi -xx -S
                  System: Host: gateway3000 Kernel: 4.0.0-997-generic x86_64 (64 bit, gcc: 4.6.3)
                  Desktop: KDE 4.13.3 (Qt 4.8.6) dm: lightdm Distro: Ubuntu 14.04 trusty

                  Comment

                  Working...
                  X