yetouse
10-23-02, 06:41 PM
here is my shell :
------------------------------------------------------------------------------
root@yannick src]#> cd NVIDIA_kernel-1.0-3123
root@yannick NVIDIA_kernel-1.0-3123]#> ls
Makefile README nv-ids.h nv-misc.h nv.h nvtypes.h os-interface.h rmretval.h
Module-nvkernel makedevices.sh nv-linux.h nv.c nv_ref.h os-interface.c os-registry.c
root@yannick NVIDIA_kernel-1.0-3123]#> make install
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-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 /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:12,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:56: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:45,
from nv-linux.h:64,
from nv.c:14:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
from nv-linux.h:64,
from nv.c:14:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:64,
from nv.c:14:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
make: *** [nv.o] Error 1
root@yannick NVIDIA_kernel-1.0-3123]#>
-------------------------------------------------------------------------
What can i do ?
i use the kernel linux-2.4.19.tar.bz2
I have no probl witn the NVIDIA_GLX-1.0-3123 package ...
THX
YeToUsE
------------------------------------------------------------------------------
root@yannick src]#> cd NVIDIA_kernel-1.0-3123
root@yannick NVIDIA_kernel-1.0-3123]#> ls
Makefile README nv-ids.h nv-misc.h nv.h nvtypes.h os-interface.h rmretval.h
Module-nvkernel makedevices.sh nv-linux.h nv.c nv_ref.h os-interface.c os-registry.c
root@yannick NVIDIA_kernel-1.0-3123]#> make install
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-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 /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:12,
from nv-linux.h:28,
from nv.c:14:
/usr/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:56: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:45,
from nv-linux.h:64,
from nv.c:14:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
from nv-linux.h:64,
from nv.c:14:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:64,
from nv.c:14:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
make: *** [nv.o] Error 1
root@yannick NVIDIA_kernel-1.0-3123]#>
-------------------------------------------------------------------------
What can i do ?
i use the kernel linux-2.4.19.tar.bz2
I have no probl witn the NVIDIA_GLX-1.0-3123 package ...
THX
YeToUsE