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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-07-03, 05:30 PM   #1
peeples
Registered User
 
Join Date: Mar 2003
Posts: 3
Default modversion.h: No such file or directory

I am using Debian sid. I have installed the Nvidia drivers before for my 2.4.18 kernel. I just downloaded the kernel source for 2.4.20, and built it. Made the soft link in /usr/src for linux to point to the 2.4.20 source. When I built the kernel I did it the "Linux way" (make mrproper, make menuconfig, make dep, make bzImage, make modules, make modules_install, make install) because I don't know how to do it the Debian way. The kernel boots just fine. In fact, the 4191 GLX did just fine with its' make install. However, when I tried to do the make install for the NVIDIA_kernel directory, I get the following:

In file included from nv.c:14:
nv-linux.h:24:31: linux/modversions.h: No such file or directory
make: *** [nv.o] Error 1

I know for a fact that modversions.h is in /usr/src/kernel-source-2.4.20/include/linux

Any ideas how to fix this?

TIA
peeples is offline   Reply With Quote
Old 03-07-03, 06:50 PM   #2
peeples
Registered User
 
Join Date: Mar 2003
Posts: 3
Default Never mind

Well, I got that resolved. Now I get a lot of "unresolved symbols in /lib/modules/2.4.20/kernel/drivers/video/nvidia.o"

I'll do a search on this board for answers...
peeples is offline   Reply With Quote
Old 03-07-03, 06:59 PM   #3
BekA
Registered User
 
Join Date: Mar 2003
Posts: 3
Default

Hi,

just edit the file nv-linux.h (from the drivers)
and replace #include <linux/modversion.h> by #include "/usr/src/kernel-source-2.4.20/include/linux/modversion.h"

I think it's the easiest way (U could also do a softlink from /usr/src/kernel-source-2.4.20/include/linux/modversion.h to /usr/include/modversion.h
BekA is offline   Reply With Quote
Old 03-07-03, 07:07 PM   #4
BekA
Registered User
 
Join Date: Mar 2003
Posts: 3
Default unresolved symbols

are you sure you used the right modversion.h during the compilation of the driviers ?
BekA is offline   Reply With Quote
Old 03-08-03, 08:20 AM   #5
peeples
Registered User
 
Join Date: Mar 2003
Posts: 3
Default Problem solved

I went ahead and added a soft link, then I just re-compiled my kernel from scratch, rebooted, and immediately compiled the Nvidia driver. All works fine now.
peeples 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
The Rise of Object-based File Systems for HPC News Archived News Items 0 05-09-12 01:10 PM
Unofficial nVidia HOWTO [RPM version] Rob C. NVIDIA Linux 78 04-09-03 07:44 AM
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 05:15 AM
Can't install NVIDIA_kernel.XXXX.XXXX.src or regular rpm noeffort NVIDIA Linux 15 12-17-02 01:22 PM
Nvidia 1.0-2960 and Red Hat 7.3 Kernal 2.4.18-5 Cheetah NVIDIA Linux 30 08-23-02 10:50 AM

All times are GMT -5. The time now is 05:33 PM.


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