您好,欢迎访问三七文档
当前位置:首页 > 金融/证券 > 股票报告 > 关于ns2.35安装之后validate时验证结果不能通过的问题
关于ns-2.35安装之后validate时验证结果不能通过的问题完成ns-2.35的安装的安装之后,执行./validate,结果如下:validateoverallreport:sometestsfailed:./test-all-newreno./test-all-tcpOptions./test-all-tcpVariants./test-all-aimd./test-all-frto./test-all-quickstart./test-all-manual-routing./test-all-linkstore-runaspecifictest,cdtcl/test;./test-all-TEST-NAME中间还出现过Testoutputdiffersfromreferenceoutput的情况,在Kali和Ubuntu12.04下都试过。最后做了两项工作,结果貌似正确了。一是gcc的版本问题在终端输入gcc-v,查看gcc的版本,很多系统是4.6或者4.7,降到4.4的版本。下面的内容来源于帖子:3.update-alternatives--install/usr/bin/g++g++/usr/bin/g++-4.650//Set4.4tobethedefaultThenset4.4tobehigherprioritythan4.6:4.update-alternatives--install/usr/bin/gccgcc/usr/bin/gcc-4.4100//Set4.4tobethedefaultThenset4.4tobehigherprioritythan4.6:5.update-alternatives--install/usr/bin/gccgcc/usr/bin/gcc-4.650//Set4.4tobethedefaultThenset4.4tobehigherprioritythan4.6:6.update-alternatives--install/usr/bin/cppcpp-bin/usr/bin/cpp-4.4100//Set4.4tobethedefaultThenset4.4tobehigherprioritythan4.6:7.update-alternatives--install/usr/bin/cppcpp-bin/usr/bin/cpp-4.650//Set4.4tobethedefaultThenset4.4tobehigherprioritythan4.6:8.gcc-v//Verifythatithasworked:在显示的信息中可以看到gcc的版本号:Usingbuilt-inspecs.Target:x86_64-linux-gnuConfiguredwith:../src/configure-v--with-pkgversion='Ubuntu/Linaro4.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-build-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-checking=release--build=x86_64-linux-gnu--host=x86_64-linux-gnu--target=x86_64-linux-gnuThreadmodel:posixgccversion4.4.6(Ubuntu/Linaro4.4.6-11ubuntu2)Done!9.安装成功二是系统缺少安装包原作者见帖子在终端中执行安装命令,完成相应的安装。sudoapt-getinstalllibx11-devxorg-devlibxmu-devlibperl4-corelibs-perl最终完成之后,再执行./validate,则可以看到如下的结果:TestoutputagreeswithreferenceoutputAlltestoutputagreeswithreferenceoutput.2014年11月08日星期六22:39:20CSTThesemessagesareNOTerrorsandcanbeignored:warning:usingbackwardcompatibilitymodeThistestisnotimplementedinbackwardcompatibilitymodevalidateoverallreport:alltestspassed如此,完成。
本文标题:关于ns2.35安装之后validate时验证结果不能通过的问题
链接地址:https://www.777doc.com/doc-2665577 .html