invalid command name “Queue/LTEQueue”

谁说我不能喝 提交于 2019-12-12 03:54:48

问题


I`ve installed lte in ns2.35 but it gives the folowing error: invalid command name "Queue/LTEQueue" while executing "Queue/LTEQueue set qos_ true " (file "lte.tcl" line 21) when i run lte.tcl

please hepe meto solve it


回答1:


Your error: You are using a (wrong) copy of 'ns' with no LTE, or you have a failed build.

LTE, Howto ....

$ tar xvf ns-allinone-2.35_gcc482.tar.gz

https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0

$ cd ns-allinone-2.35/
$ patch -p0 < LTE-ns235_2014-2.patch

https://drive.google.com/file/d/0B7S255p3kFXNLVlDZ29EWWxJTFk/view?usp=sharing

$ ./install
$ cd ns-2.35/
$ sudo make install ('make install' will copy the executable 'ns' to /usr/local/bin/)
$ cp ns ns235-lte   ( This is your backup and the recognizable "lte ns" )
$ sudo cp ns235-lte /usr/local/bin/
$ cd ../nam-1.15/
$ sudo make install

The examples : lte-examples-0614.tar.gz https://drive.google.com/file/d/0B7S255p3kFXNRWV4Mzc0bGYtQzA/view?usp=sharing

Run some examples:

$ ns235-lte bicfixdownlink.tcl 
$ ns235-lte deVacto-lte.tcl
$ ns235-lte 24_downl413.tcl

EDIT : New example package, lte-examples-06.17.tar.gz, added 24_downl413.tcl, etc. https://drive.google.com/file/d/0B7S255p3kFXNSmd4Q3h3dXp1QWc/view?usp=sharing

And ns-allinone-2.35: gt-itm updated → ns-allinone-2.35_gcc5.tar.gz https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing



来源:https://stackoverflow.com/questions/44603529/invalid-command-name-queue-ltequeue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!