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

Newegg Daily Deals

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

I just upgraded to kernel 2.6.23.1 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/2.6.23.1.Clem/source'
-> Kernel output path: '/lib/modules/2.6.23.1.Clem/build'
-> 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/2.6.23.1.Clem/s
ource SYSOUT=/lib/modules/2.6.23.1.Clem/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.23.1.Clem/build KBUILD_VERBOSE=1 -
C /lib/modules/2.6.23.1.Clem/source SUBDIRS=/usr/src/NVIDIA-Linux-x86-1.0-71
85-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.23.1.Clem/build \
KBUILD_SRC=/usr/src/linux-2.6.23.1 \
KBUILD_EXTMOD="/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv" -f /usr/
src/linux-2.6.23.1/Makefile 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; \
/bin/false)
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-2.6.23.1/scripts/Makefile.build obj=/usr/src/NVIDIA-L
inux-x86-1.0-7185-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /usr/src/NVIDIA-Lin
ux-x86-1.0-7185-pkg1/usr/src/nv/nv_compiler.h
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-2.6.23.1/include -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-2.6.23.1/include/asm-i386/mach-default -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
ERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DM
ODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7185 -DNV_UN
IX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNA
L_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESEN
T -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAG
E_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VM
AP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)
" -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/
src/nv/nv.c
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-
linux.h:19,
from /usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv/nv.
c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
/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
reate_alloc':
/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
ree_alloc':
/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
_init_module':
/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
_exit_module':
/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
1
make[3]: *** [_module_/usr/src/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/src/nv] Er
ror 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
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, 02:34 AM   #2
towo|
Registered User
 
Join Date: Feb 2007
Posts: 113
Default Re: [Driver 71.85] Cannot compile under kernel 2.6.23.1

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

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
Reply


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 04:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 11:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 09:22 PM

All times are GMT -5. The time now is 02:38 AM.


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