View Single Post
Old 02-22-07, 02:33 AM   #3
zzzhong
Registered User
 
Join Date: Feb 2007
Posts: 2
Default Re: Compile problem of 7184 driver in 2.6.20 (patch included)

It's a standard way. First, save the patch file along with original 7184 driver package. extract the driver by "-x" and run "patch < patch-file". If patch is OK, run "nvidia-installer". See commands below

Code:
[root@bobogw nvidia]# sh NVIDIA-Linux-x86-1.0-7184-pkg1.run  -x       
Creating directory NVIDIA-Linux-x86-1.0-7184-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-7184
........................................................................................................
........................................................................................................
.................

[root@bobogw nvidia]# cd NVIDIA-Linux-x86-1.0-7184-pkg1
[root@bobogw NVIDIA-Linux-x86-1.0-7184-pkg1]# patch -p1 < ../NVIDIA-Linux-x86-1.0-7184-pkg1.patch  
patching file usr/src/nv/Makefile.kbuild
patching file usr/src/nv/nv-linux.h
patching file usr/src/nv/nv.c

[root@bobogw NVIDIA-Linux-x86-1.0-7184-pkg1]# ./nvidia-installer
zzzhong is offline   Reply With Quote