精華區beta EE_DSnP 關於我們 聯絡資訊
有人在問 hw4.tgz 裡面的 libcmd.a 與 課程網頁下另外放的 libcmd.a 有什麼關係... I repost the message here.... ※ 引述《ric2k1 (Ric)》之銘言: ※ 引述《scxz (tears and rain)》之銘言: : ※ 引述《EEmuse2 (忘了密碼)》之銘言: : : 想請問一下... : : 我執行make時 : : 出現 : : Checking util... : : Building libutil.a... : : Checking main... : : make[1]: Warning: File `../../lib/lib.d' has modification time 0.65 s in the future : : /usr/bin/ld: cannot find -lmem : : collect2: ld returned 1 exit status : : make[1]: *** [../../bin/memTest] Error 1 : : make: *** [all] Error 2 : : 請問是我的檔案出問題嗎?? : 我之前有很類似的問題 直到我把hw4.tgz直接移到工作站上解壓縮才可以成功make : 想請問到底一開始在hw4/裡的memTest是什麼東西呢?我用ftp沒辦法移動 : 此外 作業用fedora core 6似乎不能compile過 問題好像是出在assert上 不知該如何解決 fedora core 6 不能 compile 過嗎? 因為 assert.h? 我的確在 cmdParser.cpp 中沒有 include <assert.h>... 所以我新 compile 了一版 libcmd.a, 放在 class website --> homework 最底下 Please try again and let me know. ---- 其他的人不用 update libcmd.a 也沒有關係... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.121.134.49 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.121.134.49