arsalan-ansari123 / lte-model

Automatically exported from code.google.com/p/lte-model
0 stars 0 forks source link

I cant patch lte-model into NS2 #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
**------------------------------------------------------------------
Steps to patch lte-model into NS2

1) Install subversion and libapache2-svn
apt-get install subversion
apt-get install libapache2-svn

2) Download the patch tk-8.4-lastevent.patch from the next link: 
http://code.google.com/p/gentoo-china-overlay/source/browse/trunk/dev-util/insig
ht/files/?r=1417 

3) Put the patch into the directory: ns-allinone-2.33/tk8.4.18/ 

4) Follow the next instructions
cd ns-allinone-2.33/tk8.4.18/
patch -p0 < tk-8.4-lastevent.patch
cd ../
./install
cd ns-2.33/ && mv ns ns233 && make clean && mv Makefile Makefile.org
svn checkout http://lte-model.googlecode.com/svn/trunk/ lte-model-read-only
mkdir project
cd lte-model-read-only/
sh checkin
cd ../

./configure
make clean
make ()
make install

**------------------------------------------------------------------
What is the expected output? What do you see instead?

With the last four instructions, I have a lot of problems, such as:

----PROBLEM 1:
"Queue/LTEQueue"
while executing
"Queue/LTEQueue set qos_ true"
(file "lte.tcl" line 21)

----PROBLEM 2:
project/ulairqueue.o file not recognized: File truncated
collect2: ld return 1 exit status
make: *** [ns] Error 1

----SOLUTIONS
cd project/
1) ln -s ../lte-model-read-only/*.h .
.... Where the period ( . ) means the current directory.
2) ln -s ../lte-model-read-only/dlqueue.cc

----PROBLEM 3:
common/packet.cc:error : 'Tcl' was not declared in this scope
make: *** [common/packet.o] error 1

----PROBLEM 4:
"start testing, please wait ...
invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set qos_ true "
(file "lte.tcl" line 17)
Done
The testing results(throughput, delay, jitter) are:"

**------------------------------------------------------------------
What version of the product are you using? On what operating system?
System Operative: UBUNTU 10,01
ns2-33 y ns2-34

------------------------------------------------------------------
I would like to know if I am doing something wrong in the  patch of the 
lte-model module into NS2.

I will hope your prompt answer  

Thanks a lot
Vanessa Cuesta (vanessita.cuesta@gmail.com - vdcuesta@utpl.edu.ec)

Original issue reported on code.google.com by vanessita.cuesta on 3 Jan 2012 at 8:19

GoogleCodeExporter commented 8 years ago
Hello, 
I need to add package LTE on ns-2.35. 
I use ubuntu 9.10 and I have installed ns-2.35 using synoptic packet. 
Do you have an idea to add LTE on ns-2.35 ? 

Thank you

Original comment by dabbouss...@gmail.com on 12 Mar 2012 at 1:00

GoogleCodeExporter commented 8 years ago
Hello I followed the above steps and its working well

whenever I try to run ns lte.tcl, it shows the error as
"invalid classid 30"

trying to trace it, but still not gettin the answer..can you provide any help
Thanks in advance 

Original comment by sandeep....@gmail.com on 19 Nov 2013 at 10:22

GoogleCodeExporter commented 8 years ago
Hello I'm using ubuntu 12.04 (64bit) & I'm using ns2.33
I have followed the instruction given to patch LTE, and it shows:
   invalid command name "Queue/LTEQueue"
   while executing
   "Queue/LTEQueue set qos_ true "
   (file "lte.tcl" line 17)
could you tell me what did I do wrong, or missed?
thanks

Original comment by fazz.an...@gmail.com on 13 Mar 2014 at 2:23

GoogleCodeExporter commented 8 years ago
"invalid classid 30"

i got this error while running the lte.tcl file 

Original comment by prasad....@gmail.com on 13 Jan 2015 at 7:08

GoogleCodeExporter commented 8 years ago
hi,i am using ubuntu 12.04 (32bit) & I'm using ns2.34.
i am trying to simulate LTE network.but i got the following error while 
executing the commands, 
make ()
make install

error: ‘PT_DCCP’ was not declared in this scope
make: *** [dccp/dccp.o] Error 1

thanks in advance...

Original comment by senthilk...@gmail.com on 2 Feb 2015 at 8:40