Re: [問題] Nachos安裝問題
※ 引述《curtisyyc (大麻吉)》之銘言:
: 6. Test Nachos:
: * ~/nachos/NachOS-4.0/code/build.linux> ./nachos
: You should see the following message:
: ┌─────────────────────┐
: │Machine halting! │
: │ │
: │Ticks: total 10, idle 0, system 10, user 0│
: │Disk I/O: reads 0, writes 0 │
: │Console I/O: reads 0, writes 0 │
: │Paging: faults 0 │
: │Network I/O: packets received 0, sent 0 │
: └─────────────────────┘
: 我的只有出現
: b96026@linux12: ~/nachos/NachOS-4.0/code/build.linux> ./nachos
: ./nachos: Command not found.
: 請問 我做了甚麼蠢事了嗎???
以下是我make出來的東西 有沒有人跟我一樣啊
g++ -g -Wall -I../network -I../filesys -I../userprog -I../threads
-I../machine -I../lib -I- -DFILESYS_STUB -DRDATA -DSIM_FIX -Dx86 -DLINUX
-DCHANGED -c ../threads/thread.cc
cc1plus: note: obsolete option -I- used, please use -iquote instead
../threads/thread.cc: In member function 'void Thread::Fork(void (*)(void*),
void*)':
../threads/thread.cc:98: error: cast from 'void (*)(void*)' to 'int' loses
precision
../threads/thread.cc: In member function 'void Thread::StackAllocate(void
(*)(void*), void*)':
../threads/thread.cc:345: error: cast from 'void (*)()' to 'int' loses
precision
../threads/thread.cc: In member function 'void Thread::SelfTest()':
../threads/thread.cc:430: warning: deprecated conversion from string constant
to 'char*'
make: *** [thread.o] Error 1
實在看不懂他是想幹麻 有沒有強者可以幫忙解惑一下 <(_ _)> 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 124.8.23.196
※ 編輯: curtisyyc 來自: 124.8.23.196 (09/24 21:52)
→
09/24 22:05, , 1F
09/24 22:05, 1F
→
09/24 22:06, , 2F
09/24 22:06, 2F
→
09/24 22:43, , 3F
09/24 22:43, 3F
→
09/24 22:44, , 4F
09/24 22:44, 4F
推
09/24 23:54, , 5F
09/24 23:54, 5F
→
09/24 23:54, , 6F
09/24 23:54, 6F
→
09/24 23:55, , 7F
09/24 23:55, 7F
→
09/24 23:55, , 8F
09/24 23:55, 8F
→
09/24 23:56, , 9F
09/24 23:56, 9F
→
09/24 23:57, , 10F
09/24 23:57, 10F
→
09/24 23:57, , 11F
09/24 23:57, 11F
推
10/01 00:40, , 12F
10/01 00:40, 12F
→
10/01 23:11, , 13F
10/01 23:11, 13F
討論串 (同標題文章)