作者scxz (tears and rain)
看板EE_DSnP
标题Re: [问题] make
时间Wed Dec 13 23:11:42 2006
※ 引述《EEmuse2 (忘了密码)》之铭言:
: 想请问一下...
: 我执行make时
: 出现
: Checking util...
: > compiling: myGetChar.cpp
: > compiling: myString.cpp
: > compiling: util.cpp
: Building libutil.a...
: Checking main...
: > compiling: main.cpp
: make[1]: Warning: File `../../lib/lib.d' has modification time 0.65 s in the future
: > building memTest...
: /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上 不知该如何解决
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.241.149
1F:推 suspect1:我也是碰到类似的问题,今天去请教老师後用系上的工作站 12/13 23:49
2F:→ suspect1:就行了 12/13 23:50
3F:→ suspect1:关於assert 你是不是没有加<assert.h> ?老师的CODE中不知 12/13 23:51
4F:→ suspect1:道好像没有include 12/13 23:52
5F:推 ric2k1:memTest is a symbolic link to bin/memTest 12/13 23:53
6F:推 ric2k1:I suggest you to ftp .tgz file instead of 12/13 23:53
7F:推 ric2k1:the individual file. Otherwise, the symbolic link will 12/13 23:55
8F:推 ric2k1:break (becomes a copy). 12/13 23:55