Google
  Web www.spinics.net

Re: Nvidia drivers + gingin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, May 27, 2003 at 05:25:48PM -0700, Chris Chuter wrote:
> Any one out there had any luck installing the nvidia kernel drivers? I haven't
> done an extensive investigation, yet. But, it appears to be a YACE (yet another
> compile error):
> 
> 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 -mcmodel=kernel -DNTRM
> -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4180    -DNV_UNIX  -DNV_LINUX 
> -DNV_INT64_OK  -DNV_64_BITS  -DNVCPU_X86_64   -I.
> -I/lib/modules/2.4.20-9.2/build/include -Wno-cast-qual nv.c
> In file included from nv-linux.h:28,
>                  from nv.c:14:
> /lib/modules/2.4.20-9.2/build/include/linux/module.h:300: parse error before
> "UTS_RELEASE"
> nv.c: In function `nv_alloc_pages':
> nv.c:2344: warning: cast to pointer from integer of different size
> make: *** [nv.o] Error 1
> 
> 
> Perhaps it's a simple case of looking at the wrong linux source headers, but
> changing them to use /usr/src/* doesn't help. 
> 
> This is a gingin64 install of 'everything' from the custom install setup.

This is usually due to something going wrong with /boot/kernel.h or
/usr/src/linux-2.4/include/linux/rhconfig.h.  What does your
/boot/kernel.h look like?

Cheers,

Matt
msw@xxxxxxxxxx
--
Matt Wilson
Manager, Base Operating Systems
Red Hat, Inc.




[Search]     [Home]     [Kernel List]     [Linux ia64]     [Linux X86_64]     [Red Hat Install]     [Red Hat Migration]     [Red Hat Development]     [Red Hat 9 Bible]     [Red Hat 9 Mailing List]     [Fedora Legacy]     [Yosemite News]