看板 EE_DSnP 關於我們 聯絡資訊
我在make test的時候 出現了這個error messge: Checking calc... Checking util... Checking test... > building testMC... /usr/bin/ld: cannot find -lcmd collect2: ld 回傳 1 make[1]: *** [../../bin/testMC] Error 1 make: *** [testmain] Error 2 -bash-3.1$ 不知道 "-lcmd"是什麼? 為什麼會找不到呢 >"< 謝謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.225.73
ric2k1:就是 src/cmd 這個目錄要 compile. 然後會產生 libcmd.a 04/12 16:44
ric2k1:放在 /lib 底下... 檢查一下為什麼你的 cmd 沒有被 compile 04/12 16:45
tiffiej:謝謝! 現在好了 ^^ 04/12 21:58