Do you have the agpgart module loaded?  Try to do a modprobe agpgart.  Then 
try to recompile the kernel module, but if you look in the README there is an 
option SYSINCLUDE= that you will need to use.  If you don't then when 
compiling it will try to use /usr/include instead of the actual source.  So I 
just did a make SYSINCLUDE=/usr/src/linux/include with the agpgart module 
loaded and it compiled fine.  So actually removing the headers wasn't the 
right move.  This was already discussed on the pinstripe list because I was 
going through the exact same problem that you were.  I also tried removing 
the headers and making symlinks and a lot of other noise, even downgrading 
gcc.  So you may want to do a re-install to make sure that all is back in 
place and then do what I suggested above, that should do you ok.   Excuse me 
while I ramble on a little.  Whew.
  
On Fri, 18 Aug 2000, you wrote:
> Attempting to get NVIDIA_kernel .94 and NVIDIA_GLX .94 running under 6.9
> (something that *many* will want to do):
>
> Problem
> -------
> kernel-headers-2.4.0-0.16 causes the build of the kernel module to die
> horrifically (and, even it it happened to work it would produce an NVIDIA
> module incapable of functioning).  Solution, remove kernel-headers?
>
> rpm -e kernel-headers
> error: removing these packages would break dependencies:
>         kernel-headers   is needed by glibc-devel-2.1.91-18
>         kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.91-18
>         kernel-headers   is needed by glibc-devel-2.1.91-18
>         kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.91-18
>         kernel-headers   is needed by glibc-devel-2.1.91-18
>         kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.91-18
>         kernel-headers   is needed by glibc-devel-2.1.91-18
>         kernel-headers >= 2.2.1 is needed by glibc-devel-2.1.91-18
>
> So, I'll just do it by hand:
>
> cd /usr/include
> rm -f linux asm
> ln -s ../src/linux-2.2.16/include/linux
> ln -s ../src/linux-2.2.16/include/asm
>
> The 2.2.16 sources are from the kernel-sources module in 6.9.
>
> Then build the NV_kernel module, which compiles just fine.  Now, I need to
> install the kernel module:
>
> # /sbin/insmod NVdriver
> Using /lib/modules/2.2.16/video/NVdriver
> /lib/modules/2.2.16/video/NVdriver: kernel-module version mismatch
>   /lib/modules/2.2.16/video/NVdriver was compiled for kernel version
> 2.2.16-17 while this kernel is version 2.2.16.
>
> Huh?  Okay, well I'll just go into modversion_u.h and change it to
> 2.2.16; it fails on symbols now; argh.
>
> Solution
> --------
>
> (is there one?)

-- 
---------------------
Steve Dixon
Dpn, Incorporated
System Administrator
Phone - 702.873.3282
Email - [EMAIL PROTECTED]
---------------------



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to