[SOLVED] Cannot install NVIDIA-Linux-x86_64-340.32.run driver on Dell T5810

I have an NVIDIA Quandro K620 in a Dell T5810 workstation. I’m current running Ubuntu 14.04 LTS. Below are the contents of nvidia-installer.log. I’ve tried looking here: Chapter 4. Installing the NVIDIA Driver but I’m lost, honestly. Any help would be appreciated.

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Thu Feb 11 18:05:30 2016
installer version: 340.32

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

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
→ License accepted.
→ Installing NVIDIA driver version 340.32.
→ Running distribution scripts
executing: ‘/usr/lib/nvidia/pre-install’…
→ done.
→ The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation)
→ Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
→ Performing CC sanity check with CC=“/usr/bin/cc”.
→ Kernel source path: ‘/lib/modules/3.19.0-49-generic/build’
→ Kernel output path: ‘/lib/modules/3.19.0-49-generic/build’
→ Performing rivafb check.
→ Performing nvidiafb check.
→ Performing Xen check.
→ Performing PREEMPT_RT check.
→ Cleaning kernel module build directory.
executing: ‘cd ./kernel; /usr/bin/make clean’…
→ Building NVIDIA kernel module:
executing: ‘cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/3.19.0-49-generic/build SYSOUT=/lib/modules/3.19.0-49-generic/build NV_BUILD_MODULE_INSTANCES=’…
NVIDIA: calling KBUILD…
make[1]: Entering directory /usr/src/linux-headers-3.19.0-49-generic' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_versions ; rm -f /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_versions/* /usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel cc -Wp,-MD,/tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/ge nerated/uapi -include ./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 -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -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_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -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 -D CC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.32\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -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 /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/.tmp_nv.o /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./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:15, from include/linux/utsname.h:5, from /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:159:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./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:15, from include/linux/utsname.h:5, from /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv-linux.h:44, from /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:159:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:159:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv.c: In function ‘nvidia_unlocked_ioctl’: /tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv.c:1827:29: error: ‘struct file’ has no member named ‘f_dentry’ return nvidia_ioctl(file->f_dentry->d_inode, file, cmd, i_arg); ^ make[2]: *** [/tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel/nv.o] Error 1 make[1]: *** [_module_/tmp/selfgz2640/NVIDIA-Linux-x86_64-340.32/kernel] Error 2 make[1]: Leaving directory /usr/src/linux-headers-3.19.0-49-generic’
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [nvidia.ko] Error 1
→ Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Use a recent driver version, like 340.96, why should 340.32 support kernel 3.19?

Your were correct. My initial search for a driver led me to an NVIDIA page for an older version. I have now installed version 361.28 and it is functioning. Thank you.