[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian 2.2 & i810 again...



Hello...  很多谢各位前辈的帮助... Kam Tik, Zw, eeechi von akusyumi  thankyou
..^_^
我终于成功地把它安装了.........

我从intel download的 .rmp source file "I810Gtt-0.2-4.src.rpm" 后,用Kam Tik前
辈教我的方法把它转换成"I810Gtt-0.2.tar.gz.  跟著.......

mkdir /temp
cp ./I810Gtt-0.2.tar.gz /temp
cd /temp/I810Gtt-0.2.tar.gz
解散后在/temp 内有.. agpgart.c agpgart.h testgart.c README Makefile 和一个名
linux/ 的directory
/temp/linux内存放了 autoconf.h

跟著键入"make"
..'o'..oh~~????? 在complie agpgart.h 时出现error呀...
Error Message 是 "Expect kernel source at location /usr/src/linux
                              Sym.link /usr/src/linux -> where you have your
sources"

查看"Makefile"之后 ,发现complie的过程中是需要一些header files,于是...
mkdir /usr/src/linux
ln -s /usr/include /usr/src/linux  {我也不知道这样干,是否正确呢}

终于成功complie了"agpgart.o" ...还有,在/temp/linux内,多了一个"modversions.h"
header file!!  {前一个version的I810Gtt-0_1-6_src_tar.gz是没有的}

继续..."insmod agpgart.o"
可是又出现error message..
内容大概是..: "kernel的version是2.2.17 ,而 agpgart.o compile之version是
2.2.15"
于是再查阅"Makefile" , "agpgart.c" 和其他source file~~ 最后得知问题可能和
"version.h"
这个header file有关; 开启"version.h"后看见..

  #define UTS_RELEASE "2.2.15"
                                           ^^^^^
我把它修收成... #define UTS_RELEASE "2.2.17" {当然,我也不知这样做,是否正确}

再重新"make" , "insmod agpgart.o" ,"mknod /dev/agpgart c 10 175",
修改"XF86Config", startx...

结果...又失败..... *o*..xyz@#$@%$
原来忘掉了把"agpgart.o" cp 到 "/lib/modules/2.2.17/misc"....
oh...我的x windows终于有1280x1024喇.....*o*  {已是零晨4时}

在这过程中有以下的问题,我是不明白的... 希望各位前辈指导指导呢??  ^_^
1.  "ln -s /usr/include /usr/src/linux" 是否正确呢? 会不会对日后install其他
      software有影响吗??

2. 我install的是debian2.2potato, kernel应该是2.2.17 ,为何在系统内的
"version.h"所
    定义的常数会是2.2.15呢??  我这样地把它修改,会有问题吗??

3. 有没有其他简单一点的方法呢??

.......^_^.............劳烦各位师兄帅姐了... >^^< 猫上!!

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: