nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Install error (http://www.nvnews.net/vbulletin/showthread.php?t=18068)

tomle 09-15-03 09:24 AM

Install error
 
This logfile is created when i try to run the installer script:
I'm also setting the CC enviroment variable to match the gcc version which was used to compile my kernel


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Sep 11 18:58:34 2003

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : /usr/src/kernel-headers-2.2.20-idepci/include/
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Using the kernel include path
'/usr/src/kernel-headers-2.2.20-idepci/include/' as specified by the
'--kernel-include-dir' commandline option.
-> Kernel include path: '/usr/src/kernel-headers-2.2.20-idepci/include/'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/usr/src/kernel-header
s-2.2.20-idepci/include/'...
echo \#define NV_COMPILER \"`gcc272 -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc272 -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL_
_ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHL
EVEL=4496 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I
/usr/src/kernel-headers-2.2.20-idepci/include/ -Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:35: warning: #warning NVIDIA is considering dropping support for
linux-2.2
nv-linux.h:36: warning: #warning kernels. While end users are free to mainta
in their
nv-linux.h:37: warning: #warning own patches, or stick with current drivers,
our new
nv-linux.h:38: warning: #warning drivers will not work "out of the box." If
you are
nv-linux.h:39: warning: #warning concerned about lack of support for 2.2 ker
nels,
nv-linux.h:40: warning: #warning please let us know at linux-bugs@nvidia.com
; we would
nv-linux.h:41: warning: #warning like to know how many users would be seriou
sly
nv-linux.h:42: warning: #warning impacted by this decision.
In file included from nv.c:14:
nv-linux.h:402: #error "Couldn't determine number of arguments expected by r
emap_page_range!"
make: *** [nv.o] 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.

What causes this errormessage, and is it possible to fix it ?

regards
Thomas

LordMorgul 09-15-03 02:43 PM

Not sure about the error, but just wanted to check:
You're setting CC to match, but do also actually have that version of gcc installed? You should have the full compiler package installed so it can really use it.

tomle 09-15-03 04:04 PM

got my 2.4 kernel up and working after posting this message, worked just fine under this kernel .. (which is compiled with the newest gcc version)

regards
Thomas


All times are GMT -5. The time now is 04:54 PM.

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