返回信息流用ns-2.33版,已能成功安装并顺利运行了example中的文件。
未修改任何协议,直接在ns-2.33目录下make,出现proxytrace2any.cc的错误,在百思论坛上找到解决办法,见下面
http://www.baisi.net/thread-35572-1-1.html
然后重新make clean/make,结果出现以下问题:
for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/tmp/ns-allinone-2.33/tclcl-1.19 -I/tmp/ns-allinone-2.33/otcl-1.13 -I/tmp/ns-allinone-2.33/include -I/tmp/ns-allinone-2.33/include -I/usr/include/pcap -o proxytrace2any.o proxytrace2any.cc
g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/tmp/ns-allinone-2.33/tclcl-1.19 -I/tmp/ns-allinone-2.33/otcl-1.13 -I/tmp/ns-allinone-2.33/include -I/tmp/ns-allinone-2.33/include -I/usr/include/pcap -o tr-stat.o tr-stat.cc
g++ -Wall -DCPP_NAMESPACE=std -o dec-tr-stat proxytrace.o formsquid.o formtxt.o my-endian.o proxytrace2any.o tr-stat.o -L/tmp/ns-allinone-2.33/lib -ltcl8.4 -ldl -ldl -lm
make[1]: Leaving directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-
conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
请问如何解决?谢谢。
另,开始时我用的ns-2.29版也是出现同样的问题。
这是一条镜像帖。来源:北邮人论坛 / communications / #9027同步于 2009/4/2
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Communications机器人发帖
求助:NS-2编译的一个问题
imleon
2009/4/2镜像同步4 回复
订阅后,新回复会通过你的通知中心匿名送达。
4 条回复
make[1]: Nothing to be done for `all'.
就是说你的文件都是新的,不需要编译,make有nothing需要做。
不过按理说,你make clean了, 应该是有需要编译的。
thx 我发现原来是自己编译知识学的 不精
【 在 omnetpp (OMNeT++) 的大作中提到: 】
: make[1]: Nothing to be done for `all'.
: 就是说你的文件都是新的,不需要编译,make有nothing需要做。
: 不过按理说,你make clean了, 应该是有需要编译的。
: ...................