[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. 有沒有其他簡單一點的方法呢??

.......^_^.............勞煩各位師兄帥姐了... >^^< 貓上!!



Reply to: