為什麼這篇nachos安裝鄉民發文收入到精華區:因為在nachos安裝這個討論話題中,有許多相關的文章在討論,這篇最有參考價值!作者curtisyyc (大麻吉)看板b96902HW標題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)