精華區beta EE_DSnP 關於我們 聯絡資訊
我用的是系上的工作站 makefile的時候出現下面的訊息 Checking mem... > compiling: memTest.cpp memTest.cpp: In member function 'virtual CmdExecStatus MTDeleteCmd::exec(const std::string&)': memTest.cpp:187: warning: control reaches end of non-void function memTest.cpp: In member function 'virtual CmdExecStatus MTNewCmd::exec(const std::string&)': memTest.cpp:112: warning: control reaches end of non-void function Building libmem.a... Checking util... > compiling: myGetChar.cpp > compiling: myString.cpp > compiling: util.cpp Building libutil.a... Checking main... make[1]: *** No targets specified and no makefile found. Stop. make: *** [all] Error 2 請問出現這樣的錯誤訊息是什麼意思呢 @@ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.167.160.20 ※ 編輯: hijack07 來自: 218.167.160.20 (12/16 23:30)
ric2k1:請檢查一下 main 裡面的 Makefile 在嗎? 12/16 23:45
hijack07:是src/mem/main裡面的Makefile嗎? 似乎是沒有這個檔案.. 12/16 23:47
hijack07:請問要怎麼解決呢 12/16 23:48
ric2k1:<classWeb>/Homework/hw4/src/main/Makefile 12/16 23:52
ric2k1:or download hw4.tgz again... 12/16 23:53
hijack07:果然是我沒有上傳完全 謝謝老師! 12/16 23:55