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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-07-04, 08:31 AM   #1
SED
Registered User
 
Join Date: Sep 2004
Posts: 3
Unhappy Plz Help! Can't compile NVidia Kernel

Hi,

I'm having a problem compiling the NVidia Driver kernel. I'm also new to Linux so I'm not too sure on anything.

These are my specs:
Distribution: Debian
Kernel: 2.4.18fd
Graphics card: Winfast Leadtek GForce4 4800SE 128MB
MB: ASUS A7N8X Deluxe (nforce2)

I downloaded kernel-source 2.4.18 of the Debian website then installed it and extracted its contents to /usr/src/kernel-source 2.4.18/

I ran NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-source-path /usr/src/kernel-source 2.4.18

This is the error I get.

I have attached the whole nvidia-instaler.log but here is the acutual building of the kernel module where the error occurs:
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernel-source-2.4.1
8 SYSOUT=/usr/src/kernel-source-2.4.18'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT
64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -I. -I/usr/src/kernel-source-
2.4.18/include -Wno-cast-qual -Wno-error nv.c
In file included from nv.c:14:
nv-linux.h:48: linux/modversions.h: No such file or directory
make[1]: *** [nv.o] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
Attached Files
File Type: txt nvidia-installer.txt (3.0 KB, 128 views)
SED 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
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
NVIDIA kernel not loading on boot-up, but insmod loads it Kyle NVIDIA Linux 3 09-10-02 12:01 AM
Reinstalling nVidia Drivers after a kernel compile Rukkh NVIDIA Linux 5 08-22-02 01:29 AM

All times are GMT -5. The time now is 12:44 AM.


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