[SOLVED] ns2.30: “LMS_SETUP” instead of “UM_Data, AM_Data, etc
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
ns2.30: “LMS_SETUP” instead of “UM_Data, AM_Data, etc
I've installed eurane in ns2.30. I'm trying to simulate how one mobile and five mobiles operate in UTRAN (UMTS). It executes without errors and makes the trace. But when I open the trace.tr files to see the results, I find "LMS_SETUP" messages instead of "UM_Data, AM_Data...". It is supposed to be an error related to a bad instalation of eurane and it is solved doing again:
$ cd ns-allinone-2.30/ns-2.30/
$ make clean
$ make depend
$ make
I've tried it, but it gives no error. The simulation doesn't give me an error, but the traces are incorrect. The file .tcl for one mobile and five mobiles where made by another person and they work.
Can you give me any clue of what is happening?
Thanks
Kind Regards,
Stella
Last edited by unodior; 03-21-2011 at 07:15 AM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
No, it's not from that page. My teacher gave them to me.
Sorry, I didn't read the valid extensions. They are tcl files, could I send them by mail? I don't want to disturb
Ok, I only had to write .txt extension at the end of the name. Sorry
Comments inside the file are in Spanish, sorry. But I don't think you need them
Thank you
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Spanish : Don't worry, I have "diccionario de dudas y dificultades de la
lengua española", etc. etc. on the shelf.
Worse is : The files don't work ? Or ? ./ns umts_am5mobiles.tcl.txt ( both ) :
Ejecutandose la Simulación....
Simulación Terminada.
... Not Fedora 14, I will try with that ... later.
The answer I get is this:
" Simulation is running ... please wait ...
Simulation ended."
And then I open out.trc and it isn't ok. My teacher says it works in her pc, but I've tried it several times and it doesn't work for me.
Thank you very much for trying.
PS: I've checked my version of gcc:gcc versión 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)
I'm trying to downgrade my version of gcc to 3.4.4
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
export CC=gcc34 CXX=g++34 &&
cd ns-allinone-2.30/tk-8.4.11/ && patch -p0 < tk-8.4-lastevent.patch &&
cd ../ns-2.30/ && zcat ns-eurane-111.diff.gz | patch -p1 && cd .. && ./install
&& cd ns-2.30/ && ./ns umts_am1movil.tcl >>> traza_am1.tr : 127 kB ;
./ns umts_am5mobiles.tcl >>> traza_am1.tr : 27-29 MB.
→ → I found the files ( CentOS55), difficult to spot with the unusual name.
Same result on CentOS 5.5, PCLinuxOS2010, Fedora 14 :
The first 51 (am1) / 55 (am5) lines of each "traza_am1.tr" are attached.
( It is a wonder, if you compiled everything with gcc/g++-4.5.1.
But gcc34, g++34 seem to do the trick.)
..
Sorry, I didn't understood what the first line meant.
I've followed the instructions, but when I get to ./install it says: command not found
I've changed to ns-allinone-2.30/ns-2.30
and tried make clean, and it says I have to re-run configure. so I do it. Then I try make clean and this is what I get:
rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
errors tclsh tcltest lib.exp Tcl
cd dltest ; make clean
make[1]: se ingresa al directorio `/home/Stella/ns-allinone-2.30/ns-2.30/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
Then I try make-depend and I get:
make: *** [depend] Error 127
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Sometimes it is a better solution to start from scratch,
when things have gone wrong. I.e. delete everything.
The order of the commands are not important :
When all the patching has been done, you can also do :
1) exit ; 2) cd ns-allinone-2.30/ ; 3) export CC=gcc34 CXX=g++34
4) ./install
Ok. I'll start from the beginning.
I tried to install fedora 12 in my desk-pc. Windows XP works perfectly. When I inserted the fedora 12 in the screen appeared this message: frequency not supported. I thought it was a good moment to stop. But I haven't given up!
Thank you very much for all your help.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
No difference really between Fedora 14 and Fedora 12, as long as you do
the right commands. It is the same "export CC=gcc34 CXX=g++34" on Fedora 12.
The old Fedora 12 is obsoleted. The 'Long Term Supported' version of Fedora 12:
Scientific Linux SL 6 https://www.scientificlinux.org/ . It's equal to RHEL 6.
Where is it that it says "frequency not supported" ? At install begin ?
Or is it at GUI ( X ) login ?
On fedora 12, I've tried it this morning and it doesn't give me that error again. Yesterday I tried to install fedora 14, but it says the kernel is too old. I haven't continued yet. I have to do a new partition because it has no free-space. I think fedora 12 can't use the partition windows xp is using, is that right?
I'm downloading the 'Long Term Supported' 6.0, from the page you told me. Thank you.
I've tried to install again eurane in fedora 14 on my laptop . I've followed this steps, as you told me:
export CC=gcc34CXX=g++34
cd ns-allinone-2.30/tk8.4.13
patch -p0 < tk-8.4-lastevent.patch
cd../ns-2.30
Before installing eurane, I tried:
make clean
make depend
make
(it gives me an error with make)
I tried to follow:
zcat ns-eurane-1.12diff.gz|patch -p1
It seemed to work. BUT when I try
./install
It gave me this error:
.gnu.linkonce.t._ZN11taskPending10taskStatusEh' referenced in section `.rodata' of wpan/p802_15_4mac.o: defined in discarded section `.gnu.linkonce.t._ZN11taskPending10taskStatusEh' of wpan/p802_15_4mac.o
collect2: ld devolvió el estado de salida 1
make: *** [ns] Error 1
Ns make failed!
I'm not sure about what I'm doing bad. T
I can't understand it.
I've changed nam 1.12 for the one you gave me: nam-1.14. Still the same error
Thanks
Yes, I understood it was temporary. But I haven't exit the terminal during installation. I've done it twice following your steps.
I'm gonna have a look at make file.
About make depend, my teacher told me to use it. I didn't know if it was necessary. Sorry
My makefile:
# The following will be redefined under Windows (see WIN32 lable below)
CC = gcc34
CPP = g++34
LINK = $(CPP)
MKDEP = ./conf/mkdep
TCLSH = /home/Stella/ns-allinone-2.30/bin/tclsh8.4
TCL2C = ../tclcl-1.18/tcl2c++
AR = ar rc $(BLANK)
During installation process I've seen it uses g++34.
I've asked my teacher, but she doesn't know what to do.
I've tried to start from the scratch twice, but both times I get the same error.
I don't know what else to do.
What do you recommend? Start from the scratch again? Perhaps the third is the good one ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.