UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
You can have as many "ns-allinone-2.xx" as you want.
Also : No problem having two times ns-allinone-2.33 with different patching.
The trick is to rename the binary 'ns' right after compiling.
Like ns to ns233. And after a patching, e.g. : 'cp ns ns233-LTE'.
( And then copy the binary to /usr/local/bin/.)
Example from one of my (40) systems : 'ls /usr/local/bin/ns*'
/usr/local/bin/ns227* /usr/local/bin/ns227-leach* /usr/local/bin/ns233*
Bingo, I was correct, It was my version of NS, the version which was being executed was ns2.29, so I moved the file from ns233 and copied to /usr/local/bin
Why do you want that ?
When you easily can have 2-5 different ns-allinone-2.xx installed at the same time.
I asked this, because the module was build under ns2.33, which uses gcc and g++ 4.3, differing from ns2.29, which works only under gcc and g++ 4.0 or 4.1
My question is if the implemented features on lte module does not have incompatibilites on previous versions of gcc and g++. Once I have other ready test environment in ns2.29, thus I would like to verify this
When the application has been compiled, i.e. the libraries and the binary ns,
it doesn't matter which compiler, that was used.
The binary 'ns' can most often not be used in a different ns-2.xx.
That's why it can be renamed : Please see the above posts.
I understand what you said, but I was reading previously that in general ns2.29 is compiled only by using gcc and g++ 4.0 or 4.1, but from ns2.32 there are modules(I do not remember now) which is only compiled using gcc and g++ 4.3.
I am not sure if this lte-module works on ns2.29, because of these compilation things, so that is the reason I mentioned this.
An example for this, is by attempting to compile ns2.29 using gcc and g++ 4.3
Last edited by Salvio de Barros; 03-10-2011 at 03:52 PM.
im made, im indonesian.
now im trying to use NS2 to simulate LTE
i've got the LTE module, but i cant patch it into NS2
im using NS2.33 and ubuntu 9.04
the problem is in makefile
there is an error like this
"Queue/LTEQueue set qos_ true"
(file "lte.tcl" line 21)
what should i do whit this condition?
have you already try to run lte.tcl?Are you get "invalid classid 30" error message?I already trying to install the LTE-Module in NS-2.33, it's done well, but when I try to execute the lte.tcl, I got that message, any idea about that?
anyone whose already try it, please let me know what the meaning of that message