关于ns 2.35安装之后 validate时验证结果不能通过的问题

上传人:ji****72 文档编号:33962202 上传时间:2018-02-19 格式:DOC 页数:2 大小:19.50KB
返回 下载 相关 举报
关于ns 2.35安装之后 validate时验证结果不能通过的问题_第1页
第1页 / 共2页
关于ns 2.35安装之后 validate时验证结果不能通过的问题_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《关于ns 2.35安装之后 validate时验证结果不能通过的问题》由会员分享,可在线阅读,更多相关《关于ns 2.35安装之后 validate时验证结果不能通过的问题(2页珍藏版)》请在金锄头文库上搜索。

1、关于 ns-2.35 安装之后 validate 时验证结果不能通过的问题完成 ns-2.35 的安装的安装之后,执行 ./validate,结果如下:validate overall report: some tests failed:./test-all-newreno ./test-all-tcpOptions ./test-all-tcpVariants ./test-all-aimd ./test-all-frto ./test-all-quickstart ./test-all-manual-routing ./test-all-linksto re-run a specific

2、test, cd tcl/test; ./test-all-TEST-NAME中间还出现过 Test output differs from reference output 的情况,在 Kali 和 Ubuntu12.04 下都试过。最后做了两项工作,结果貌似正确了。一是 gcc 的版本问题在终端输入 gcc -v,查看 gcc 的版本,很多系统是 4.6 或者 4.7,降到 4.4 的版本。下面的内容来源于帖子http:/ GCC 4.41.apt-get install gcc-4.4 g+-4.4 g+-4.4-multilib gcc-4.4-multilib /First, ins

3、tall GCC 4.42.update-alternatives -install /usr/bin/g+ g+ /usr/bin/g+-4.4 100 /Set 4.4 to be the default Then set 4.4 to be higher priority than 4.6:3.update-alternatives -install /usr/bin/g+ g+ /usr/bin/g+-4.6 50 /Set 4.4 to be the default Then set 4.4 to be higher priority than 4.6:4.update-altern

4、atives -install /usr/bin/gcc gcc /usr/bin/gcc-4.4 100 /Set 4.4 to be the default Then set 4.4 to be higher priority than 4.6:5.update-alternatives -install /usr/bin/gcc gcc /usr/bin/gcc-4.6 50 /Set 4.4 to be the default Then set 4.4 to be higher priority than 4.6:6.update-alternatives -install /usr/

5、bin/cpp cpp-bin /usr/bin/cpp-4.4 100 /Set 4.4 to be the default Then set 4.4 to be higher priority than 4.6:7.update-alternatives -install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 50 /Set 4.4 to be the default Then set 4.4 to be higher priority than 4.6:8.gcc -v /Verify that it has worked:在显示的信息中可以看到 g

6、cc 的版本号:Using built-in specs.Target: x86_64-linux-gnuConfigured with: ./src/configure -v -with-pkgversion=Ubuntu/Linaro 4.4.6-11ubuntu2 -with-bugurl=file:/usr/share/doc/gcc-4.4/README.Bugs -enable-languages=c,c+,fortran,objc,obj-c+ -prefix=/usr -program-suffix=-4.4 -enable-shared -enable-linker-buil

7、d-id -with-system-zlib -libexecdir=/usr/lib -without-included-gettext -enable-threads=posix -with-gxx-include-dir=/usr/include/c+/4.4 -libdir=/usr/lib -enable-nls -with-sysroot=/ -enable-clocale=gnu -enable-libstdcxx-debug -enable-objc-gc -disable-werror -with-arch-32=i686 -with-tune=generic -enable

8、-checking=release -build=x86_64-linux-gnu -host=x86_64-linux-gnu -target=x86_64-linux-gnuThread model: posixgcc version 4.4.6 (Ubuntu/Linaro 4.4.6-11ubuntu2)Done!9.安装成功二是系统缺少安装包原作者见帖子http:/ apt-get install libx11-dev xorg-dev libxmu-dev libperl4-corelibs-perl最终完成之后,再执行./validate,则可以看到如下的结果:Test outp

9、ut agrees with reference outputAll test output agrees with reference output.2014 年 11 月 08 日 星期六 22:39:20 CSTThese messages are NOT errors and can be ignored:warning: using backward compatibility modeThis test is not implemented in backward compatibility modevalidate overall report: all tests passed如此,完成。

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号