|
|
我已经安装好了LFS,BLFS也按照自己的需求基本做完了,可是nvidia的显卡驱动一直装不好,不知是什么原因?我的lfs是按照LFS-6.2来做的,没有任何改动,blfs是按照svn来做的,其中Xorg安装的是Xorg7.1版。nvidia是在官方下载的Linux Display Driver - IA32 8774版。我运行sh NVIDIA-Linux-x86-1.0-8774-pkg1.run命令后,出现了很多错误,我把日志中的部分内容贴出来,大家帮我看看问题出在哪里:
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
Unable to load: nvidia-installer ncurses user interface
In file included from include/linux/kernel.h:11,
from /tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:50,
from /tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
include/linux/linkage.h:5:25: error: asm/linkage.h: 没有那个文件或目录
In file included from include/linux/types.h:15,
from include/linux/kernel.h:13,
from /tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:50,
from /tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: 没有那个文件或�
柯�
In file included from include/linux/kernel.h:13,
from /tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:50,
from /tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c: 在函数 ‘nv_
get_adapter_state’ 中:
/tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c:4119: 错误:r
equest for member ‘nv_state’ in something not a structure or union
make[3]: *** [/tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.o
] 错误 1
make[2]: *** [_module_/tmp/selfgz6145/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv] 错误 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 错误 1
make: *** [module] 错误 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
请大家看看应该怎样解决?多谢回复!! |
|