作者mikeshen (thirty)
看板EE_DSnP
標題[問題] 在hw3底下make
時間Sun Apr 13 18:37:01 2008
我在hw3的資料夾下make
但一直出現如下的錯誤訊息:
我也確定在include下的連結是對的
Checking cmd...
make[1]: *** No rule to make target `cmd.d', needed by `top'. Stop.
Checking calc...
make[1]: *** No rule to make target `calc.d', needed by `top'. Stop.
Checking util...
make[1]: *** No rule to make target `util.d', needed by `top'. Stop.
Checking main...
> building modCalc...
/usr/bin/ld: cannot find -lcmd
collect2: ld 回傳 1
make[1]: *** [../../bin/modCalc] Error 1
make: *** [main] Error 2
請問是為什麼呢?>"<
這幾個我看過src下的子目錄也確實都沒有這些.d檔
該怎麼修改呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.33.163
1F:推 GriffeyKao:我之前用別台機器也遇到cannot find -lcmd 04/13 21:36
2F:→ GriffeyKao:不過後來用ccws就可以了 04/13 21:36
3F:→ mikeshen:我再重抓一次hw3.tgz解壓縮之後就可以了 04/13 23:23
4F:→ mikeshen:可能有不小心改到什麼 04/13 23:24