|
发表于 2002-10-31 21:28:32
|
显示全部楼层
出问题了..
我的配置是:
AMD 1.2GHZ
40 GB Seagate
768M Ram
NVIDIA MX400 64M 显存
Linux: Mandrake9.0 中文版
=============================
下载了新的驱动, 就按北兄的方法来装,第一步就出现出错误...唉....
[root@localhost NVIDIA_kernel-1.0-3123]# 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-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/lib/modules/2.4.19-16mdk/build/include -Wno-cast-qual nv.c
In file included from nv-linux.h:17,
from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /lib/modules/2.4.19-16mdk/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.19-16mdk/build/include/linux/list.h:6,
from /lib/modules/2.4.19-16mdk/build/include/linux/module.h:12,
from nv-linux.h:28,
from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/asm/processor.h:56: requested alignment is not a constant
In file included from /lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:6,
from /lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:45,
from nv-linux.h:64,
from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/linux/irq.h:65: requested alignment is not a constant
In file included from /lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:45,
from nv-linux.h:64,
from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:64,
from nv.c:14:
/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/lib/modules/2.4.19-16mdk/build/include/linux/interrupt.h:128: requested alignment is not a constant
In file included from nv.c:14:
nv-linux.h:111:28: linux/autoconf.h: No such file or directory
make: *** [nv.o] Error 1 |
|