作者hijack07 (click真好看~)
看板EE_DSnP
標題make error
時間Sat Dec 16 23:13:33 2006
我用的是系上的工作站
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)
1F:推 ric2k1:請檢查一下 main 裡面的 Makefile 在嗎? 12/16 23:45
2F:推 hijack07:是src/mem/main裡面的Makefile嗎? 似乎是沒有這個檔案.. 12/16 23:47
3F:→ hijack07:請問要怎麼解決呢 12/16 23:48
4F:推 ric2k1:<classWeb>/Homework/hw4/src/main/Makefile 12/16 23:52
5F:推 ric2k1:or download hw4.tgz again... 12/16 23:53
6F:推 hijack07:果然是我沒有上傳完全 謝謝老師! 12/16 23:55