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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 105 .
Quote:
ok, now i got:
Much better tell how you got there. I.e. the command used.
If you use this command, it is actually impossible to fail :
$ export CC=gcc41 CXX=g++41 && ./install
Failing anyway : Start from scratch in a new directory
with a new unpacked ns-allinone-2.33.tar.gz .
hi... i'm coming again...
knudfl i try to patching mobiwan patch first and then i'm patching lte
when i do "make" on terminal
it showed up like this...
trace/trace.cc: At global scope:
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc: In static member function ‘static int Trace::get_seqno(Packet*)’:
trace/trace.cc:201:36: error: ‘PT_BU’ was not declared in this scope
trace/trace.cc:201:50: error: ‘PT_BU_HA’ was not declared in this scope
trace/trace.cc:201:67: error: ‘PT_BU_CN’ was not declared in this scope
trace/trace.cc:202:11: error: ‘PT_BU_BS’ was not declared in this scope
trace/trace.cc:202:28: error: ‘PT_BACK’ was not declared in this scope
trace/trace.cc:202:44: error: ‘PT_BREQ’ was not declared in this scope
trace/trace.cc:202:60: error: ‘PT_RADS’ was not declared in this scope
make: *** [trace/trace.o] Error 1
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Post # 108, @cio.
Please do not use the LTE thread for an off topic question about mobiwan. > http://www.linuxquestions.org/linux/rules.html "When posting in an existing thread,
ensure that what you're posting is on-topic and relevant to the thread."
I'm using ns 2.33 on Ubuntu 12.04 LTS.I tried installing LTE by following the steps mentioned in Posts 2 & 65.when i run the code,lte.tcl i only end up getting the following output:
invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set qos_ true "
(file "lte.tcl" line 17)
I have already installed ns2.33 and repeated the steps in posts 2 and 65 n number of times.
My OS is ubuntu 10.04. I installed ns-2.33. Then I add VanetRBC protocol to my ns. I followed the instruction in previous post tp add lte model to ns2. But, when I type ns command I receive
ns:
[code omitted because of length]
: invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set drop_front_ 0"
then I use:
/project/
&& ln -s ../lte-model-read-only/*.h .
.... Where the period ( . ) means the current directory.
&& ln -s ../lte-model-read-only/dlqueue.cc && cd ../
after that I print make and then receive:
for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Post #114, @mahsima : Welcome to LQ.
Quote:
is it possible to help me . please ?
" Nothing to be done for `all'. " means "everything is OK".
Those files were handled at an earlier `make' :
Noting is to be done for anything in ns-2.33/indep-utils/**
Quote:
Then I add VanetRBC protocol to my ns
.
.
I followed the instruction in previous post tp add lte model to ns2
Please provide a link to information about "VanetRBC protocol".
Which files did you change ? Any patches ? ?
And there is no guaranty that the two extra protocols,
( LTE , VanetRBC ) can be added at the same time.
May be try with another ns-2.33 :
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But do not add any text to .bashrc .
I can fix the problem. The MakeFile in lte-model-read-only has the difference with the Makefile in ns-2.33.
Add the following from Makefile in in lte-model-read-only to Makefile in ns-2.33:
project/ltequeue.o \
project/ulairqueue.o \
project/dlairqueue.o \
project/uls1queue.o \
project/dls1queue.o \
project/dlqueue.o \
then the problem will be fixed.
Hi.
I tried to install LTE patch on ns 2.33. After many tries i finally could execute the last make without any problem. So for the next step, i tried the test. Unfortunally results come as this:
The testing results(throughput, delay, jitter) are:
---------------------------------------------------
check the out.txt out.tr out.nam for detailed information.
So i checked the out.txt to find written :
ns: [code omitted because of length]
: invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set drop_front_ 0"
I tried to do all the work from the beginning but the test result never changed.
At this point i don't know what else i can do. I appreciate any help thank you.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 119 .
Quote:
Up to now i can't fix the same problem.
Well, until you find a way to do things right (posts #2, #4)
.. you can just install the package lte-ns-2.33-ubuntu10_i386.deb
.. Then you can do : $ ns-lte eyana.tcl
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.