作者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)