UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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*
/usr/local/bin/ns234* /usr/local/bin/ns233-mobiwan*
..
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516
Rep:
# 23.
You can have all the compilers you want installed at the same time.
( g++-3.3, g++-3.4, g++-4.1, g++-4.2, g++-4.3 etc.)
So I still don't understand, what issues it is about.
The LTE files work perfectly on ns-allinone-2.33, no reason to try
with another version.
And by the way : ns-2.33, ns-2.34 are often compiled with gcc/g++-3.4 only.
You can have all the compilers you want installed at the same time.
( g++-3.3, g++-3.4, g++-4.1, g++-4.2, g++-4.3 etc.)
So I still don't understand, what issues it is about.
The LTE files work perfectly on ns-allinone-2.33, no reason to try
with another version.
And by the way : ns-2.33, ns-2.34 are often compiled with gcc/g++-3.4 only.
..
Again, I understand what you said, but I would like to test this on ns2.29, because I have other environment and specific patches prepared for my tests, which does not work on ns2.33.
Thus I would like to integrate lte module to version ns2.29 and verify if it works properly. Now is it clear?
hallo all
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"
while executing
"Queue/LTEQueue set qos_ true"
(file "lte.tcl" line 21)
what should i do whit this condition?
thx before
best regards
Hey Made,
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
Thx
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.