当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 11 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2008-09-27 18:45 

注册: 2008-09-21 0:21
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
显卡:GF5200
麻烦大家帮帮忙,费点神 Thank you very much!!!
安装日志如下:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Sep 27 18:10:06 2008

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : 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
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
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)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.22-14-generic/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.22-14-gener
ic/build SYSOUT=/lib/modules/2.6.22-14-generic/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-14-generic/build SUBDIRS
=/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.tmp_version
s/*
make -f scripts/Makefile.build obj=/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz7838/NVI
DIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float
-mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -m
tune=generic -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/
mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-aft
er-statement -Wno-pointer-sign -I/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-p
kg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subsc
ripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KER
NEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMO
DULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DNV_U
NIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBU
G -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PC
I_DISABLE_DEVIC
E_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz7838/NVIDIA-Linux-x86
-1.0-7167-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz7838/NVIDIA-Linux-x86-1.0-716
7-pkg1/usr/src/nv/nv.c
In file included from /tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:17:26:
error: linux/config.h: No such file or directory
In file included from include/linux/list.h:8,
from include/linux/module.h:10,
from /tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src
/nv/nv-linux.h:46,
from /tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:233:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:261:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-linux.h:683:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:64: warning:
‘kmem_cache_t’ is deprecated
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:201: warning:
initialization from incompatible pointer type
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:223:5: warnin
g: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
‘nvos_get_agp_device_by_class’:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:404: warning:
implicit declaration of function ‘pci_find_class’
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:404: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:418: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
‘nv_get_pci_device’:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:428: warning:
‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477)
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:433: warning:
‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477)
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:970: warning:
implicit declaration of function ‘pm_register’
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:970: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1036: warning
: implicit declaration of function ‘pm_unregister’
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1167:5: warni
ng: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_open’:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1364: warning
: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interru
pt.h:66)
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1364: warning
: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interru
pt.h:66)
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1365: warning
: passing argument 2 of ‘request_irq’ from incompatible pointer type
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_mmap’:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1541: warning
: implicit declaration of function ‘remap_page_range’
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In function
‘nvos_count_devices’:
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3230: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:3235: warning
: assignment makes pointer from integer without a cast
make[3]: *** [/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.o
] Error 1
make[2]: *** [_module_/tmp/selfgz7838/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src
/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 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 http://www.nvidia.com.


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2008-11-09 22:38 

注册: 2008-10-11 7:54
帖子: 25
送出感谢: 0 次
接收感谢: 0 次
我的GEFORCE4 MX440也是装不上。 :em20


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2008-11-10 9:06 

注册: 2008-10-11 7:54
帖子: 25
送出感谢: 0 次
接收感谢: 0 次
:em09 楼主是8.10的么?我的装好了


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-02-10 23:32 

注册: 2009-02-10 23:24
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
楼上的兄弟你是怎么装上的,我的是NVIDIA Geforce Ti 4200 AGP8x ubuntu 8.10 可怎么也装不上,不知道为什么?跟一楼的相似,但总后提示unable to build the nvidia kernel module 谁能帮帮我哟,新手正有兴趣!谢谢


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-03-02 20:05 

注册: 2008-06-26 13:58
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
我的 也是


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-03-04 9:46 

注册: 2008-06-26 13:58
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
3楼的 装好了怎么不说 怎么装的啊?
我的 笔记本 上8400GS 装了好几次 都失败了


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-03-07 9:39 
头像

注册: 2008-12-07 19:43
帖子: 317
地址: 江苏盐城亭湖区
系统: ubuntu14.10
送出感谢: 0 次
接收感谢: 0 次
先安装编译环境。


_________________
Ubuntu14.10 + Firefox + Gimp


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-03-07 13:13 
头像

注册: 2008-03-27 21:56
帖子: 411
送出感谢: 0 次
接收感谢: 0 次
代码:
sudo apt-get install build-essential


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-03-08 10:59 

注册: 2008-10-20 22:26
帖子: 42
送出感谢: 0 次
接收感谢: 0 次
topbluecat 写道:
代码:
sudo apt-get install build-essential

谢谢,成功安装 了
sudo apt-get install build-essential 然后运行下载来的.run.下载点NO,编译就选yes,就可以 了,


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-12-11 9:47 

注册: 2009-07-23 11:03
帖子: 18
送出感谢: 0 次
接收感谢: 0 次
liuc 写道:
topbluecat 写道:
代码:
sudo apt-get install build-essential

谢谢,成功安装 了
sudo apt-get install build-essential 然后运行下载来的.run.下载点NO,编译就选yes,就可以 了,

我的还是不得行,那个郁闷。


页首
 用户资料  
 
11 楼 
 文章标题 : Re: 安装nvidia驱动失败:unable to build the nvidia kernel module.
帖子发表于 : 2009-12-11 9:49 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
这那年的帖子。也参照?
新版本,用不同的方法,自动编译的,别搞混了。


_________________
● 鸣学


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 11 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译