※ 引述《lcp (沒有暱稱)》之銘言:
: ※ 引述《Archange1 (????)》之銘言:
: : Ya~你是用4.0 version的吧?
: : http://eos.cs.nthu.edu.tw/Course/OS2003/Nachos%20Introduction.htm
: : 這是我們系上玩nachos的說明.
: : 看看有什麼問題在跟我講吧.:)
: 我在make的時候就鳥掉了......
: ==
: ........
: ../lib/hash.cc:280: instantiated from `void HashTable<Key, T>::SanityCheck() const [with Key = int, T = char*]'
: ../lib/hash.cc:302: instantiated from `void HashTable<Key, T>::SelfTest(T*, int) [with Key = int, T = char*]'
: ../lib/libtest.cc:79: instantiated from here
: ../lib/list.h:72: `ListElement<char*>*List<char*>::first' is protected
: ../lib/list.h:121: within this context
: gmake[1]: *** [libtest.o] Error 1
: gmake[1]: Leaving directory `/home/lcp/course/Operating_System/nachos-4.0/code/threads'
: make: *** [all] Error 2
會不會是你make時路徑錯了(應該在nachos-4.0/code下面作)..
我記得好像有好幾個MakeFile..
: ==
: 也不知道是那裡錯了...........
: ==
: 能不能跟我說一下你們用的Linux和gcc版本?
^^^^^7.3 Kernel 2.4.18-18.7.x
gcc我猜應該沒update過=>2.95.3
因為OS是我大三時修的課,現在早已無法登入server
去看了@@,account早就被砍了..
不過我們的nachos可以在此抓到:
ftp://140.114.71.234/pub/nachos-4.0.tar.gz
: 我在我的notebook上試,Gentoo Linux1.4,kernel:2.4.22pre2-gss
: gcc:3.2.3 20030422
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.167.109.81