LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-05-2015, 07:37 AM   #1
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Rep: Reputation: Disabled
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
 
Old 05-07-2015, 03:49 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

You might find some information in the other (my)evalvid postings ...
. http://www.linuxquestions.org/questi...on-4175541440/
. http://www.linuxquestions.org/questions/tags/myevalvid/
. http://www.linuxquestions.org/questi...gs/myevalvid2/


"tfrc_vbr_sample.tcl" : Unknown file. A link to tfrc_vbr_sample.tcl, please


"" invalid command name "vbrTraceFile2" "" : ? A typo in `tfrc_vbr_sample.tcl' ?

-
 
Old 05-09-2015, 08:01 AM   #3
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

You might find some information in the other (my)evalvid postings ...
. http://www.linuxquestions.org/questi...on-4175541440/
. http://www.linuxquestions.org/questions/tags/myevalvid/
. http://www.linuxquestions.org/questi...gs/myevalvid2/


"tfrc_vbr_sample.tcl" : Unknown file. A link to tfrc_vbr_sample.tcl, please


"" invalid command name "vbrTraceFile2" "" : ? A typo in `tfrc_vbr_sample.tcl' ?

-
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
 
Old 05-09-2015, 08:31 AM   #4
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-09-2015, 12:03 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.)

-
 
Old 05-11-2015, 04:41 AM   #6
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-11-2015, 05:23 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #6.

"be_a01.tcl" is an EvalVid2 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.


-
 
Old 05-11-2015, 06:01 AM   #8
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-11-2015, 07:59 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #8.

Add 1) The "myevalvid2 patch" is for ns-2.28. Maybe ns-2.35 is possible ?
`myevalvid2_ns228-patching-2.tar.gz' :
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Add 2) $ sudo apt-get install libgpac-dev

Add 3) Ref. http://www2.tkn.tu-berlin.de/researc....7-lin.tar.bz2
There are no "precompiled binaries" in `evalvid-2.7-lin.tar.bz2'.

-
 
Old 05-14-2015, 03:38 AM   #10
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-14-2015, 04:26 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
 
Old 05-14-2015, 05:08 AM   #12
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-14-2015, 05:58 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #12.

Not much Evalvid2, it mostly evalvid in the link you show in post #12 ..
http://www.linuxquestions.org/questi...on-4175445965/

Links :
ns228-gcc40.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing

ns-2.28-gcc410.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing

myevalvid2-ns228-patching-2.tar.gz https://drive.google.com/file/d/0B7S...ew?usp=sharing

-
 
Old 05-14-2015, 07:55 AM   #14
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-14-2015, 08:13 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 :
Code:
$ cat  /etc/issue

-

Last edited by knudfl; 05-14-2015 at 08:22 AM.
 
  


Reply

Tags
evalvid, evalvid-ra, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Evalvid Toolset in CentOS/ Fedora/ Redhat artificialive Linux - Software 1 06-13-2014 11:34 AM
Integrating Evalvid and ns2hcca patch in NS2 artificialive Linux - Networking 0 05-03-2014 06:48 PM
Problem : Evalvid and bugs on Eurena NS2 track_mouse Programming 0 08-03-2012 04:28 AM
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration