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

[no subject]



I've got the nvidia-kernel-src and nvidia-glx-src both
> in /usr/src.
> I've used the following commands (as suggested by
> Ochronus somt time ago)
>
> cd /usr/src/
> tar xvfz nvidia-kernel-src.tar.gz
>
> export KSRC=/usr/src/
>  - or -
> export KSRC=kernel-headers-2.4.18-k7/
>
> export KVERS=2.4.18
> cd modules/nvidia-kernel-1.0.3123
> debian/rules binary_modules
>
> Because the kernel is pre-compiled this gives problems
> (cc mismatch) - therefor I edited the Makefile in the
> NVIDIAxxxx subdir, so it won't stop right away. Then
> when I call the 'make' prog I get this error output:
>
> 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 -DNTRM -D_GNU_SOURCE
> -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__
> -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
> -DNV_PATCHLEVEL=3123  -DNV_UNIX   -DNV_LINUX
> -DNVCPU_X86       -I. -I/usr/src/linux/include
> -Wno-cast-qual nv.c
> In file included from nv.c:14:
> nv-linux.h:24: linux/modversions.h: No such file or
> directory
> make: *** [nv.o] Error 1
>
> How do I get around this ??


Get kernel-source package of your choice and compile your own kernel.


Davor




Reply to: