分页: 1 / 1

求助,还是intel845集成显卡问题

发表于 : 2005-08-15 22:12
yee
我仔细看过论坛上关于intel845显卡的问题,但是下载回来的4种官方与非官方的驱动在安装的时候,都会提示:

ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.



请帮忙看看,不胜感谢!

发表于 : 2005-08-15 23:02
yongyi

代码: 全选

uname -r
显示出来后:

代码: 全选

sudo apt-get install linux-headers-'uname -r'
先看行不行,有的人还需要做个链接到linux。

发表于 : 2005-08-16 8:28
gnix_oag
照做就没事了

viewtopic.php?p=9386#9386

发表于 : 2005-08-16 10:04
yongyi
对啊,多向gnix_oag兄弟请教。。过来人嘛 :P

发表于 : 2005-08-16 11:10
yee
yongyi 写了:

代码: 全选

uname -r
显示出来后:

代码: 全选

sudo apt-get install linux-headers-'uname -r'
先看行不行,有的人还需要做个链接到linux。
不行
yee@ubuntu:~$ uname -r
2.6.10-5-686
yee@ubuntu:~$ sudo apt-get install linux-headers-'uname -r'
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 linux-headers-uname -r

发表于 : 2005-08-16 11:12
yee
安装了linux-headers-2.6.10-5-686

发表于 : 2005-08-16 11:13
yee
还是不行

ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

dir.log内容如下

make DRM_MODULES=i810.o modules
make[1]: Entering directory `/home/yee/dripkg/drm/linux-core'
make -C /lib/modules/2.6.10-5-686/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
/usr/src/linux-headers-2.6.10-5-686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-headers-2.6.10-5-686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: Entering directory `/usr/src/linux-headers-2.6.10-5-686'
CC [M] /home/yee/dripkg/drm/linux-core/drm_auth.o
/bin/sh: gcc: command not found
make[3]: *** [/home/yee/dripkg/drm/linux-core/drm_auth.o] 错误 127
make[2]: *** [_module_/home/yee/dripkg/drm/linux-core] 错误 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.10-5-686'
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/home/yee/dripkg/drm/linux-core'
make: *** [i810.o] 错误 2

发表于 : 2005-08-16 11:15
firehare
对,他的意思就是要你先安装linux-headers-2.6.10-5-686!

发表于 : 2005-08-16 12:05
gnix_oag
还没安装 gcc

怎么编译啊

sudo apt-get install gcc

发表于 : 2005-08-16 13:41
yongyi
gnix_oag 写了:照做就没事了

viewtopic.php?p=9386#9386
楼主试过没?

真晕。。连编译工具啥都没装呀! :oops:

发表于 : 2005-08-16 14:00
yee
yongyi 写了:
gnix_oag 写了:照做就没事了

viewtopic.php?p=9386#9386
楼主试过没?

真晕。。连编译工具啥都没装呀! :oops:
sorry,我对ubuntu不熟悉,以为照着首页上的步骤就可以更新了,没想到gcc的问题 :oops:

发表于 : 2005-08-16 14:23
yongyi
没问题啦。
看看这:
安装基本的编译工具 (build-essential):
http://www.ubuntu.org.cn/support/docume ... erm=build-

发表于 : 2005-08-16 23:34
firehare
呵呵,
一回生二回熟,
楼主兄弟下回就会很清楚了!