Re: NVIDIA binary-only driver patch for 2.5.40

From: Bob McElrath (bob+linux-kernel@mcelrath.org)
Date: Wed Oct 02 2002 - 17:56:51 EST


Bill Huey [billh@gnuppy.monkey.org] wrote:
> On Wed, Oct 02, 2002 at 11:10:06AM -0500, Bob McElrath wrote:
> > Here is an updated patch to the binary-only drivers provided by NVIDIA
> > (version 1.0-3123) for kernel 2.5.40. I have tested it for both 2D and
> > 3D and it seems to work fine. (Warcraft III under linux 2.5.40 should
> > be a good enough test, no?)
>
> It doesn't exactly compile correctly:
>
> root@gnuppy> /linux1/NVIDIA/NVIDIA_kernel-1.0-3123% 21# make
> echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-
> D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
> 3 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.5.40/build/include -Wno-cast-qual nv.c
> In file included from /lib/modules/2.5.40/build/include/linux/irq.h:19,
> from /lib/modules/2.5.40/build/include/asm/hardirq.h:6,
> from /lib/modules/2.5.40/build/include/linux/interrupt.h:25,
> from nv-linux.h:59,
> from nv.c:14:
> /lib/modules/2.5.40/build/include/asm/irq.h:16: irq_vectors.h: No such file or directory
> make: *** [nv.o] Error 1
> root@gnuppy> /linux1/NVIDIA/NVIDIA_kernel-1.0-3123% 22#

oh yeah...that...

I forgot I made a link from arch/i386/mach-generic/irq_vectors.h to
include/asm/irq_vectors.h.

The above error is in include/asm/irq.h and not a problem with the
nvidia driver itself. (poke poke kernel maintainers)

Cheers,
-- Bob

Bob McElrath (bob+linux-kernel@mcelrath.org)
Univ. of Wisconsin at Madison, Department of Physics

    "The purpose of separation of church and state is to keep forever from
    these shores the ceaseless strife that has soaked the soil of Europe in
    blood for centuries." -- James Madison



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:36 EST