Google
  Web www.spinics.net

Re: Nvidia drivers + gingin

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


Matt, thanks for the pointers. It appears that the linux source included with
gingin64 is missing the define tag for non-smp systems (in version.h in the
linux source dirs).

Is gingin64 not ready for single cpu AMD64 systems?

If I add the define (e.g. ifndef UTS_RELEASE, define UTS_RELEASE "2.4.20-9.2")
to the source in the Nvidia kernel drivers, things compile, but I get many
unresolved symbols. So my guess is that gingin64 is missing a few modules
needed for the nvidia kernel module. Would you concur, Matt?

-chris

--- Matt Wilson <msw@xxxxxxxxxx> wrote:
> 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.


=====
"Any sufficiently advanced technology is indistinguishable from magic." -Arthur C. Clarke
Chris Chuter
Magic Earth, LLC
cchuter@xxxxxxxxx
http://www.magic-earth.com/

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com




[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]