LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-15-2004, 05:07 PM   #1
Mahony
Member
 
Registered: Jan 2004
Location: Glasgow
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173

Rep: Reputation: 30
Problem with nvidia driver


When I un the file I get the error:

ERROR: Unable to build the NVIDIA kernel module.

My log file:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr 16 23:05:32 2004

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 source path : /usr/src/linux-2.4.25-gentoo
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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/usr/src/linux-2.4.25-gentoo' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.4.25-gentoo'
-> Performing cc_version_check with CC="gcc".
-> 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 module SYSSRC=/usr/src/linux-2.4.25-gentoo
'...
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
parentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DM
ODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__K
ERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
5336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/
src/linux-2.4.25-gentoo/include -Wno-cast-qual -Wno-error nv.c
In file included from nv.c:14:
nv-linux.h:48:31: linux/modversions.h: No such file or directory
In file included from /usr/src/linux-2.4.25-gentoo/include/linux/prefetch.h:
13,
from /usr/src/linux-2.4.25-gentoo/include/linux/list.h:6,
from /usr/src/linux-2.4.25-gentoo/include/linux/module.h:12
,
from nv-linux.h:52,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/processor.h:75: error: `CONFIG_NR_C
PUS' undeclared here (not in a function)
In file included from /usr/src/linux-2.4.25-gentoo/include/asm/smp.h:17,
from /usr/src/linux-2.4.25-gentoo/include/linux/smp.h:14,
from /usr/src/linux-2.4.25-gentoo/include/linux/sched.h:23,
from /usr/src/linux-2.4.25-gentoo/include/linux/mm.h:4,
from /usr/src/linux-2.4.25-gentoo/include/linux/slab.h:14,
from nv-linux.h:61,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/mpspec.h:205: error: `CONFIG_NR_CPU
S' undeclared here (not in a function)
In file included from /usr/src/linux-2.4.25-gentoo/include/asm/smp.h:21,
from /usr/src/linux-2.4.25-gentoo/include/linux/smp.h:14,
from /usr/src/linux-2.4.25-gentoo/include/linux/sched.h:23,
from /usr/src/linux-2.4.25-gentoo/include/linux/mm.h:4,
from /usr/src/linux-2.4.25-gentoo/include/linux/slab.h:14,
from nv-linux.h:61,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/apic.h:88: error: `CONFIG_NR_CPUS'
undeclared here (not in a function)
In file included from /usr/src/linux-2.4.25-gentoo/include/linux/smp.h:14,
from /usr/src/linux-2.4.25-gentoo/include/linux/sched.h:23,
from /usr/src/linux-2.4.25-gentoo/include/linux/mm.h:4,
from /usr/src/linux-2.4.25-gentoo/include/linux/slab.h:14,
from nv-linux.h:61,
from nv.c:14:
/usr/src/linux-2.4.25-gentoo/include/asm/smp.h:66: error: `CONFIG_NR_CPUS' u
ndeclared here (not in a function)
/usr/src/linux-2.4.25-gentoo/include/asm/smp.h:66: confused by earlier error
s, bailing out
make[1]: *** [nv.o] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.



Running Gentoo.

Anyone?
 
Old 04-16-2004, 06:11 AM   #2
Mahony
Member
 
Registered: Jan 2004
Location: Glasgow
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173

Original Poster
Rep: Reputation: 30
UP

Anyone?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
nVidia driver problem ? puishor Linux - Hardware 1 09-01-2005 12:38 PM
nvidia driver problem OstaX Linux - Hardware 5 11-26-2004 06:34 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM
Nvidia Driver problem Pathian Linux - Hardware 2 12-31-2003 08:59 PM
NVIDIA driver problem BraxKung Linux - Newbie 21 04-15-2003 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration