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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-23-02, 01:40 PM   #1
THE LoW
Registered User
 
Join Date: Dec 2002
Posts: 3
Default can't compile kernel module

o.k, I'm quite a newbie to Linux, so if I don't express something the right way or have forgotten something VERY obvious, plz don't shoot me down in flames immediately

my problem:
debian:/home/harald/disk3/NVIDIA_kernel-1.0-4191# make install
cc -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_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.18/build/include -Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:24: linux/modversions.h: No such file or directory
make: *** [nv.o] Error 1


Why does it stop there (/me feels soooo stupid, but )
I am running a basic installation of Debian woody r0 with an self-compiled 2.4.18 kernel.
__________________
"There are two ways, we can go on - my way, or the highway"

Joe Cabot, Reservoir Dogs
THE LoW is offline   Reply With Quote
Old 12-23-02, 06:42 PM   #2
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Do you have your kernel sources installed in /usr/src/linux?

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 12-24-02, 12:51 AM   #3
THE LoW
Registered User
 
Join Date: Dec 2002
Posts: 3
Default

Nope, haven't (because Debian policy to create a new kernel, is to compile it, stuff it into a .deb package and install it from there, so I put the sources into /usr/local/src/kernel/kernel-source-2.4.18/.) Anyway, I've created a symlink /urs/local/src/linux~ to that directory now. Still cancels with "modversions.h: No such file or directory". Locate tells me, that such a file doesn't exist.

EDIT: ouuuch, of course I created a symlink /usr/src/linux~
__________________
"There are two ways, we can go on - my way, or the highway"

Joe Cabot, Reservoir Dogs

Last edited by THE LoW; 12-24-02 at 01:12 AM.
THE LoW is offline   Reply With Quote
Old 12-24-02, 01:50 AM   #4
onemanpanel
Registered User
 
Join Date: Dec 2002
Posts: 1
Default how do i attain debian kernel sources?

i'm having a similar problem (unable to 'make install' due to lack of 'linux/modversions.h'). how can i attain the linux kernel sources for debian?

thanks.
onemanpanel is offline   Reply With Quote
Old 12-24-02, 02:23 AM   #5
THE LoW
Registered User
 
Join Date: Dec 2002
Posts: 3
Default

deselect => they're in the "opt devel" section (kernel-source)

Now that you ask, it comes to me the GREAT idea, to maybe install the kernel-HEADER-files, too...
/me blushes
__________________
"There are two ways, we can go on - my way, or the highway"

Joe Cabot, Reservoir Dogs
THE LoW 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
Unable to compile kernel module on 3.7 kernel giaur NVIDIA Linux 3 01-03-13 11:11 AM
[BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic rockob NVIDIA Linux 36 09-26-12 07:48 AM
upgrade to xorg server 1.13 damaged Geforce 7300 GT KDE NVIDIA Linux 2 09-07-12 08:04 AM
Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) ssnyder NVIDIA Linux 1 07-01-12 08:14 PM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM

All times are GMT -5. The time now is 11:59 AM.


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