作者goodword (佳話)
看板EE_DSnP
標題Re: [情報] HW#4 64-bit platform 測試
時間Fri May 1 21:39:58 2009
※ 引述《ric2k1 (Ric)》之銘言:
: 感謝 yangjiunru, yehes2001 同學, 前任助教 lunworld, 以及現任助教的幫忙,
: 沒有 64-bit platform 的同學現在可以有地方測試了~~~
: 請至課程網頁 HW#4 --> 64-bit platform [check]
: 準備好你的 bxxxxxxxx_hw4.tgz file, 上傳之後就可以測試了.
: (要包含 Makefile, 雖然最後上傳時要拿掉 (see MustRemove.txt))
: 目前會去自動 compile 你的 code, 然後執行 "tests/run".
: You will be asked to enter the class user id and password.
: Improvement may be expected later. However, your comments are very welcome!
剛剛我在ccws3上 tar zcvf ..... 後
就傳上test html
然後就出現了以下的error
> building memTest...
/usr/bin/ld: skipping incompatible ../../lib/libcmd.a when searching for -lcmd
/usr/bin/ld: cannot find -lcmd
collect2: ld returned 1 exit status
make[1]: *** [../../bin/memTest] Error 1
make: *** [main] Error 2
>>>Compile failed!<<<
可明明在 ccws3 上面 可以compile 且memTest都是正常的
問了老師後 才發現要先打make 64
也就是說 要先在 其他機器上 執行
make 64
這一步驟是要切換 the symbolic links in lib directory (老師說的)
然後再tar zcvf ..... 再上傳
這樣才能正確地在 test html 上的64-bit 正常compile
謝謝老師!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.139.172.102
※ 編輯: goodword 來自: 220.139.172.102 (05/01 21:41)