install kernel headers and source, in /usr/src/linux/, run 'make oldconfig' and 'make dep' then 'rpm --rebuild NVDIDIA_kernel-xxx.SRPM,
Good luck! /Jun On Thu, Nov 22, 2001 at 11:55:03AM +0100, Maxim Heijndijk wrote: :Compiling the NVIDIA_kernel-1.0-1541 kernel-module gives the following error on :LM-8.1: : :In file included from nv.c:50: :/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers :system headers, :/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate :kernel-source :In file included from nv-linux.h:56, : from nv.c:55: :/lib/modules/2.4.8-26mdk/build/include/linux/malloc.h:3:2: warning: #warning The Use :of linux/malloc.h is deprecated, use linux/slab.h :make: *** [nv.o] Error 1 : :Is there a way to fix this ? : :-- :Best regards, M@X. : :* Climate Control Psychedelic Soundscapes - http://go.to/cchq/ :* Linux Shell Scripts & RPM Software Packages - http://go.to/conmen/ : :Want to buy your Pack or Services from MandrakeSoft? :Go to http://www.mandrakestore.com
