Re: nvidia and 2.5.70 kernel

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

 



On Sun, 1 Jun 2003, Christian Zander wrote:

> Makefile.kbuild is the preferred Makefile for Linux 2.5, but doesn't
> integrate well with the NVIDIA installer. Users will want to extract
> and patch the .run file and build/install the module using the plain
> Makefile(s) instead (make in the top-level NVIDIA directory). Those
> who have previously installed the NVIDIA driver and just wish to get
> it running on Linux 2.5 can build/install the 2.5 module from src/nv
> using 'make', assuming that Makefile.kbuild was previously selected.
> NVIDIA also still provides the NVIDIA_kernel archives (afaik), which
> can be downloaded instead of the .run file.

whoops, i take it all back, using Makefile.nvidia works fine just
running a "make install", but if you try that with the Makefile.kbuild
symlink'ed to the Makefile, you get:

cd usr/src/nv; make install
make[1]: Entering directory `/tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv'
make[2]: Entering directory `/usr/src/linux-2.5.70'
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
  Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=1
  CC [M]  /tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nv.o
In file included from /tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nv.c:14:
/tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nv-linux.h:192:2: #error "Couldn't determine number of arguments expected by remap_page_range!"
/tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nv.c: In function `nv_kern_mmap':
/tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nv.c:1240: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
make[3]: *** [/tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv/nv.o] Error 1
make[2]: *** [/tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.70'
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make[1]: Leaving directory `/tmp/NVIDIA-Linux-x86-1.0-4363/usr/src/nv'
make: *** [kernel_module_install] Error 2


  so we're back to using the file Makefile.nvidia, which works.

rday




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux