LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   installinf nvidia driver?????????? (https://www.linuxquestions.org/questions/linux-general-1/installinf-nvidia-driver-37774/)

JoC 12-09-2002 06:08 PM

installing nvidia driver??????????
 
um....... i got this when i did :


make install in the dir that i un zip the .tar.gz to


In file included from nv-linux.h.24,
from nv..c:14:
/usr/include/linux/mondeversions.h:1:2: # moudules should never use headers system headers but rather headers from an appropriate kernel-source package. change -I/usr/src/linux/include (or simalar) to -I/lib/modules/$9uname -r0/build/include to build against the currently-running kernel
make: *** [nv.o] Error 1

and is there a "cut" option from a console?

DavidPhillips 12-09-2002 06:20 PM

you need the source for your currently running kernel
and it needs to be in /usr/src/linux


Code:

david@slacker:~$ uname -r
2.4.19-lq4
david@slacker:~$ ls -l /usr/src
total 32424
-rw-r--r--    1 root    root        33409 Dec  6 23:35 config
drwxr-xr-x  14 root    root        4096 May 31  2002 linux/
drwxr-xr-x  16 503      root        4096 Dec  9 13:50 linux-2.4.19-lq/
-rw-------    1 david    users    33113918 Dec  6 23:34 linux-2.4.19-lq4.tar.gz
drwxr-xr-x    7 root    root        4096 Feb 23  2002 rpm/

david@slacker:/usr/src$ su -
Password:

And so it was, later,
As the miller told his tale,
That her face, at first just ghostly,
Turned a whiter shade of pale.
                -- Procol Harum

root@slacker:/usr/src# mv /usr/src/linux /usr/src/linux.old
root@slacker:/usr/src# ln -s /usr/src/linux-2.4.19-lq /usr/src/linux
root@slacker:/usr/src# ls -l linux
lrwxrwxrwx    1 root    root          24 Dec  9 18:17 linux -> /usr/src/linux-2.4.19-lq/


DavidPhillips 12-09-2002 06:26 PM

It is my recomendation that after building this kernel module you put the other source back to /usr/src/linux

for other programs it is advisable to use the source that your libs were built on, but not too many people pay much attention to that anymore


root@slacker:/usr/src# rm linux
root@slacker:/usr/src# mv linux.old linux

DavidPhillips 12-09-2002 09:19 PM

cut option??

JoC 12-10-2002 07:21 AM

Sorry and i do this how? is it just a matter of me finding the source for my kernel and moving it to that location above? sorry for being such a noob in the general fourm!!

as for the "CUT" option i was refering to like a "cut and paste" or "copy and paste"


Update 12-10-02

The GLX nvidia file installed fine from what i can see! now i just have to figure out how to extract my source for the kernel and put it /over/there and...... sorry i am still abit lost as to sources and the like! i have found where i need to put it!! (/usr/src/redhat) now i just need to find it!

thanks again

DavidPhillips 12-10-2002 05:04 PM

don't put it in /usr/src/redhat

look at the post above, it's /usr/src/linux

download the kernel-source rpm for your kernel version that is shown by this

uname -r

when you install the kernel-source rpm you will have /usr/src/linux-2.4???

and a link /usr/src/linux > /usr/src/linux-2.4???


then it will work ok

DavidPhillips 12-10-2002 05:08 PM

Copy is select, which is done with the left mouse button

paste is done with the center mouse button

I don't think cut is needed in a console

JoC 12-10-2002 10:06 PM

sorry i t was the closest folder i seen to matching linux i thought that you might be refering to distro there. um i was able to install the GLX driver but since then my box has been restarted by someone and now when i boot all i get is a screen that is just about to load my opening screen with your mouse pointer in the middle ( before your login ) and it keeps looping at the point!


any ideas?

thanks

DavidPhillips 12-10-2002 11:27 PM

did you already edit the XF86Config-4 file as it shows in the instructions?

If you did you need to get the driver installed or change the driver back to nv


did you get the kernel-source rpm yet

if you post your output of

uname -r

I can get you a link to it


or you can just go to google.com


type this in for a search
put in the output of uname -r instead of 2.4.18-14

kernel-source-2.4.18-14.rpm


or look at rpmfind.net

for kernel-source-2.4.18-14.rpm

JoC 12-11-2002 06:27 AM

NO i have not got the Rpm yet i was planning on doing that. I went out for a bit and came back home to my computer booted up in windows. You see my brother is very computer iliterit and the only thing he knows how to do is play Counter Strike. he does not understand when i leave notes at my computer telling him not to reboot.

so basically i installed the NVIDIA GLX part went out planing to come back and finish up and now i can't

JoC 12-11-2002 06:54 AM

if installing RH again is the quickest and easyiest way to fix this i could care less!! i have only set up e-mail and d/l the nvidia drivers it is not like i would be losing anything! and it takes like 15 mins to install so.....

DavidPhillips 12-11-2002 03:28 PM

It will be exactly as it was before if you install it again the same way

All you need to do is put the cd in if you have it and install the kernel-source

or download it

JoC 12-11-2002 04:42 PM

And i would do that by? upgrading the kernel-source from the cd or is there just an option to install?

on my way to try!

thanks again!

DavidPhillips 12-11-2002 07:24 PM

no you don't have the kernel source installed or you would have /usr/src/linux > /usr/src/linux-2.4???

it on the cdrom in RPMS

just run the command

rpm -iv filename

this will install the file filename

of cource filename will be the rpm on the cd

which is going to be the output of uname -r appended to kernel-source- prepending .rpm



As I said before if your output of uname -r must match the kernel-source version or you will need to download it


All times are GMT -5. The time now is 12:26 PM.