Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
05-05-2015, 07:37 AM
|
#1
|
LQ Newbie
Registered: May 2015
Posts: 18
Rep: 
|
Problem in installing evalvid in ns 2.35. What is vbrTraceFile2
Greetings,
1) I've been trying installing evalvid in ns2.35 ubuntu 12.04 in many ways. including in http://www2.tkn.tu-berlin.de/research/evalvid/ and http://ru6.cti.gr/ru6/research-areas...rk-simulations but how do you know exactly that evalvid is installed in your ns2?
2) i keep countering the same problem when running tfrc_vbr_sample.tcl
Make RED trace variables
Evalvid-RA: Start making GOP and Frame trace files for 29 Rate variants
invalid command name "vbrTraceFile2"
while executing
"vbrTraceFile2 create _o5556 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new vbrTraceFile2"
invoked from within
"set trace_file [new vbrTraceFile2]"
(file "tfrc_vbr_simple.tcl" line 325)
what i have been missing? i appreciate any king of help. Thank you
|
|
|
05-09-2015, 08:01 AM
|
#3
|
LQ Newbie
Registered: May 2015
Posts: 18
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
|
thank you for your reply, actually it is not a typo.
i'm sorry i forgot to put the link where i download the sample. here is the sample : http://www.item.ntnu.no/~arnelie/eva...ra_v1.04_2.zip
i'm trying to compile your sample and i've got this following problem :
invalid command name "Agent/myUDP"
while executing
"Agent/myUDP create _o82 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/myUDP"
invoked from within
"set udp1 [new Agent/myUDP]"
(file "be_a01.tcl" line 24)
i really appreciate your help, master
|
|
|
05-09-2015, 08:31 AM
|
#4
|
LQ Newbie
Registered: May 2015
Posts: 18
Original Poster
Rep: 
|
greetings, knudfl,
it is not a typo and i'm sorry i forgot the link to my sample : http://www.item.ntnu.no/~arnelie/eva...ra_v1.04_2.zip
i've been trying out your sample and i've got this following error
invalid command name "Agent/myUDP"
while executing
"Agent/myUDP create _o82 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/myUDP"
invoked from within
"set udp1 [new Agent/myUDP]"
(file "be_a01.tcl" line 24)
i appreciate your help, thank you master
|
|
|
05-09-2015, 12:03 PM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #3.
The example `tfrc_vbr_sample.tcl' is not usable with a basic "evalvid".
`tfrc_vbr_sample.tcl' is for Evalvid-RA only.
And I don't think that's what you are using ? ?
Evalvid-RA http://www.scribd.com/doc/49179873/L...lvid-RA#scribd
"" Trace Driven Simulation of Rate Adaptive MPEG-4 VBR Video ""
( I have a copy of the original `LieKlaue07-Evalvid-RA.pdf',
... the old links to the original file don't exist any more.)
-
|
|
|
05-11-2015, 04:41 AM
|
#6
|
LQ Newbie
Registered: May 2015
Posts: 18
Original Poster
Rep: 
|
dear knudfl,
actually what i'm planning to do is to analyze video transmission in network simulator. i'm thinking that your sample in #2 is really helpful, so i'm going to continue with yours. But when i'm trying to run be_a01.tcl, i've got the following error in #3, i seems can't run 'myUDP'.
any suggestion from you will do, i'm still new at this and i need help from you, master.
thank you for your reply
|
|
|
05-11-2015, 05:23 AM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #6.
"be_a01.tcl" is an EvalVid 2 file.
My test :
Code:
$ ns-myevalvid2 be_a01.tcl
warning: no class variable Agent/myUDP::packetSize_
see tcl-object.tcl in tclcl for info about this warning.
9.9689999999999994
warning: no class variable Tracefile::debug_
see tcl-object.tcl in tclcl for info about this warning.
300 records
.... Which is the normal behavior.
-
|
|
|
05-11-2015, 06:01 AM
|
#8
|
LQ Newbie
Registered: May 2015
Posts: 18
Original Poster
Rep: 
|
dear knudfl,
there's a few question i'd like to ask
1) where can i get myevalvid2 patch? all the links i've found seems not working anymore.
2) what do i do after i download evalvid 2.7: http://www2.tkn.tu-berlin.de/researc...id-2.7.tar.bz2 . when i type 'make' there's following problem :
C mp4trace.c ...
mp4trace.c:4:27: fatal error: gpac/isomedia.h: No such file or directory
compilation terminated.
make: *** [mp4trace.o] Error 1
3) how to install precompiled binaries of evalvid?
http://www2.tkn.tu-berlin.de/researc....7-lin.tar.bz2
I'm glad to your reply, thank you.
|
|
|
05-14-2015, 03:38 AM
|
#10
|
LQ Newbie
Registered: May 2015
Posts: 18
Original Poster
Rep: 
|
dear knudfl,
i'm trying to patch it, and i've got the following error
common/packet.cc:44:16: error: conflicting declaration char** p_info::name_
In file included from common/packet.cc:40:0:
common/packet.h:278:31: error: p_info::name_ has a previous declaration as char* p_info::name_ [59]
common/packet.cc:44:16: error: declaration of char* p_info::name_ [59] outside of class is not definition [-fpermissive]
common/packet.cc:45:22: error: unsigned int p_info::nPkt_ is not a static member of class p_info
common/packet.cc:46:1: error: PacketClassifier does not name a type
common/packet.cc:48:33: error: no int p_info::addPacket(char*) member function declared in class p_info
make: *** [common/packet.o] Error 1
what does it mean? any suggestion?
|
|
|
05-14-2015, 04:26 AM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #10.
Quote:
I'm trying to patch it, and I've got the following error
|
You will have to show all the commands you did, before the errors appeared.
""I'm trying to patch it"" : Unknown "patch", unknown "it".
! All commands are like :
$ tar xvf ns-allinone-2.28.tar.gz
$ patch -p0 < ns228-gcc40.patch
$ patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> <Enter>
$ cd ns-allinone-2.28/
$ tar xvf myevalvid2-ns228-patching-2.tar.gz
$ export CC=gcc41 CXX=g++41 && ./install
-
Last edited by knudfl; 05-14-2015 at 05:58 AM.
|
|
|
05-14-2015, 05:08 AM
|
#12
|
LQ Newbie
Registered: May 2015
Posts: 18
Original Poster
Rep: 
|
dear knudfl,
thank you for responding me so far.
i'm sorry for my incomplete explanation, actually i was trying to patch it in ns-2.35.
i'm going to follow your instruction in #11 so i'm googling your patch.
I've found your link http://www.linuxquestions.org/questi...on-4175445965/ and the explanation is pretty good but the problem is apparently your link is not working anymore. is there any newer link?
i'm working by myself for this project so i'm really grateful for your reply. thank you
|
|
|
05-14-2015, 05:58 AM
|
#13
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
|
|
|
05-14-2015, 07:55 AM
|
#14
|
LQ Newbie
Registered: May 2015
Posts: 18
Original Poster
Rep: 
|
dear master,
i've got the following problem while trying the command export CC=gcc41 CXX=g++41 && ./install
============================================================
* Build tcl8.4.5
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc-4.1
checking whether the C compiler (gcc-4.1 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
do you have any suggestion. i appreciate your reply
thank you
|
|
|
05-14-2015, 08:13 AM
|
#15
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #14.
"gcc41" / gcc-4.1 : A tool not present on your OS cannot be used. Obviously.
Also : There is a misconception, a contradiction between "export gcc41",
and the answer you receive from the tcl8.4.5 configure : " ... gcc-4.1 " !
"export CC=gcc41 CXX=g++41" is an example.
Your Ubuntu OS is unknown.
Recommending the right gcc/g++ version 3.4.6 .. 4.1.2 : The OS must be specified.
a) Very important is the architecture : $ uname -m
b) And the exact version :
-
Last edited by knudfl; 05-14-2015 at 08:22 AM.
|
|
|
All times are GMT -5. The time now is 07:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|