Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 10-15-07, 12:26 AM   #1
Registered User
Join Date: Feb 2005
Location: Malaysia
Posts: 95
Default [Driver 71.85] Cannot compile under kernel

I just upgraded to kernel and have found that I can no longer compile the 71.85 driver. Attached is the log. I'd appriciate it if someone can help me with this. Thanks.

-- start of log --
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Oct 15 13:17:33 2007

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
7185). As part of installing this driver (version: 1.0-7185), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/'
-> Kernel output path: '/lib/modules/'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/
ource SYSOUT=/lib/modules/'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/ KBUILD_VERBOSE=1 -
C /lib/modules/ SUBDIRS=/usr/src/NVIDIA-Linux-x86-1.0-71
85-pkg1/usr/src/nv modules
make -C /lib/modules/ \
KBUILD_SRC=/usr/src/linux- \
KBUILD_EXTMOD="/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv" -f /usr/
src/linux- modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
mkdir -p /usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/.tmp_versions
rm -f /usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/.tmp_versions/*
make -f /usr/src/linux- obj=/usr/src/NVIDIA-L
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /usr/src/NVIDIA-Lin
cc -Wp,-MD,/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/.nv.o.d -no
stdinc -isystem /usr/lib/gcc/i486-slackware-linux/3.4.6/include -D__KERNEL__
-Iinclude -Iinclude2 -I/usr/src/linux- -include include/linu
x/autoconf.h -I/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv -Wall -Wu
ndef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -We
rror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3 -freg-
struct-return -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -I/u
sr/src/linux- -Iinclude/asm-i386/mach-
default -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/src/NVIDI
A-Linux-x86-1.0-7185-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Wer
ror -O -fno-com
mon -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__K
" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /usr/src/NVIDIA-Linux-x86-1.0
-7185-pkg1/usr/src/nv/.tmp_nv.o /usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/
In file included from include/linux/list.h:8,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:53,
from include/linux/utsname.h:35,
from /usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv-
from /usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c: At top level:
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:93: error: syntax er
ror before '*' token
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:93: warning: type de
faults to `int' in declaration of `nv_pte_t_cache'
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:93: warning: data de
finition has no type or storage class
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c: In function `nvos_c
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:392: warning: passin
g arg 1 of `kmem_cache_alloc' from incompatible pointer type
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c: In function `nvos_f
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:429: warning: passin
g arg 1 of `kmem_cache_free' from incompatible pointer type
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c: In function `nvidia
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:1332: error: too man
y arguments to function `kmem_cache_create'
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:1332: warning: assig
nment from incompatible pointer type
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:1459: warning: passi
ng arg 1 of `kmem_cache_destroy' from incompatible pointer type
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:1466: error: void va
lue not ignored as it ought to be
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c: In function `nvidia
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:1491: error: void va
lue not ignored as it ought to be
/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.c:1596: warning: passi
ng arg 1 of `kmem_cache_destroy' from incompatible pointer type
make[4]: *** [/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.o] Error
make[3]: *** [_module_/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv] Er
ror 2
make[2]: *** [modules] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> 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.
RAMChYLD is offline   Reply With Quote
Old 10-15-07, 01:34 AM   #2
Registered User
Join Date: Feb 2007
Posts: 113
Default Re: [Driver 71.85] Cannot compile under kernel

Why you don't use 71.86.01?
towo| is offline   Reply With Quote
Old 10-15-07, 01:39 AM   #3
Registered User
Join Date: Feb 2005
Location: Malaysia
Posts: 95
Default Re: [Driver 71.85] Cannot compile under kernel

Hmmm... I have no idea 71.86.01 was out. Guess I was somehow blind :P. Thanks, I'll try to compile that and see if it works.
RAMChYLD is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 03:59 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.