[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.
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.
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
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?
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.
The answer I get is this:
" Simulation is running ... please wait ...
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: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
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: 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
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.
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:
patch -p0 < tk-8.4-lastevent.patch
Before installing eurane, I tried:
(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
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
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
# 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 ..