LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-25-2013, 08:45 PM   #16
biswa_feb15
LQ Newbie
 
Registered: Jan 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
ns2 video transmission


sir after doing that
Add myevalvid : cp -a myevalvid/ ns-allinone-2.28/ns-2.28/
Use the new Makefile.in : Attached as myevalvid-Makefile.in.txt :
Rename to Makefile.in, and : cp -a Makefile.in ns-allinone-2.28/ns-2.28/

cd ns-allinone-2.28/ns-2.28/ && make clean && ./configure && make


i got these erros when i typed make :
queue/red.cc: In member function ‘virtual void REDQueue::trace(TracedVar*)’:
queue/red.cc:874: error: invalid conversion from ‘const char*’ to ‘char*’
queue/red.cc:875: error: invalid conversion from ‘const char*’ to ‘char*’
queue/red.cc:876: error: invalid conversion from ‘const char*’ to ‘char*’
queue/red.cc:877: error: invalid conversion from ‘const char*’ to ‘char*’
make: *** [queue/red.o] Error 1

what will i do ?
 
Old 01-26-2013, 02:09 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 18
Quote:
cd ns-allinone-2.28/ns-2.28/ && make clean && ./configure && make
Make sure that 'g++-4.1' is used :
export CC=gcc-4.1 CXX=g++-4.1 && ./configure && make


Better : Use the new "myevalvid" binary packages. See post # 15.

-
 
Old 01-26-2013, 02:38 AM   #18
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Moved: This thread is more suitable in Linux Software and has been moved accordingly to help your question get the exposure it deserves.
 
Old 01-31-2013, 11:32 AM   #19
biswa_feb15
LQ Newbie
 
Registered: Jan 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
ns2 video transmission

sir still i'm not able to transmit video through ns2.can you pls send me the which contains
mympeg/myudp.o, mympeg/myudpsink2.o and mympeg/mytraffictrace2.o.
coz it is asked to change makefile by putting all these files.
 
Old 01-31-2013, 11:55 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 10
Quote:
can you pls send me the < ??????? > which contains
mympeg/myudp.o, mympeg/myudpsink2.o and mympeg/mytraffictrace2.o
May be you mean the Makefile.in for ns-2.28 ? The added line is : line 305.
( ./configure will create a Makefile with the same line 305.)
-
Attached Files
File Type: txt mympeg-Makefile.in.txt (17.7 KB, 18 views)
 
Old 02-01-2013, 03:17 AM   #21
biswa_feb15
LQ Newbie
 
Registered: Jan 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
ns2:video transmission

sir thaaank u for your valuable support.i'm verymuch grateful before you.
sir in ns 2.28 nam file is generated.but it is not running.why?
and anathor problem how video traces are transmitted in ns 2.35?
what settings i will make to my ns 2.35.
 
Old 02-03-2013, 06:55 AM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 21.
Quote:
in ns 2.28 nam file is generated
Please show the command you are using.
And which files / example(s) is it about ?

Why do you want to use ns-2.35 ?


Please read post # 15 carefully : You don't have to build anything.
Just install the Ubuntu packages, and use the two executables,
ns-mympeg and ns-myevalvid :
$ ns-mympeg <example> <options>
$ ns-myevalvid <example> <options>


-

Last edited by knudfl; 02-03-2013 at 07:02 AM.
 
Old 02-04-2013, 01:31 AM   #23
biswa_feb15
LQ Newbie
 
Registered: Jan 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
ns2:video transmission

1) sir in ns-2.28 when i am running ns programs
trace file and nam file are generated.
but when i'm trying to run the nam file by typing the command as nam<file>.nam
this error comes:
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."

2.and i have followed every thing that u told
and i am trying to run the video example in
$ ns-mympeg <example> <options>
$ ns-myevalvid <example> <options>
but error is comming.

3.i want to use ns-2.35 coz in my college computer it is loaded. and in my computer i have loaded ns-2.28.
so simultaneously i can try to transmit video traces through ns2.


pls help.
 
Old 02-04-2013, 07:06 AM   #24
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 23 : Nam issues : Please use a "nam-1.14" :

https://docs.google.com/uc?id=0B7S25...=CLPiyxo&hl=en
> nam-1.14.i586.tar.gz

Unpack, and ...
sudo cp nam /usr/local/bin/

-
 
Old 02-04-2013, 09:27 AM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 23

Your item "2" : Please show the commands you are using.
And the error output.

.. Item "3" : The purpose of ns-allinone-2.xx is mainly to compile one file : ns .
  • When you have the 'ns' executable, the most other files can be deleted.
  • -
  • The two packages you have installed come with their own
  • <ns-allinone-2.xx>/bin/tcsh* and <ns-allinone-2.xx>/lib/***
  • -
  • A few simulations require ns-2.xx/tcl/lib/**
  • And other simulations may require ns-2.xx/tcl/*/<file>.tcl
Conclusion : Neither ns-allinone-2.35 or ns-allinone-2.28 need to be saved.
And no. Ns-2.35 cannot be used for a dedicated ns-2.28 patch.

-

Last edited by knudfl; 02-04-2013 at 03:30 PM.
 
Old 02-08-2013, 11:01 AM   #26
biswa_feb15
LQ Newbie
 
Registered: Jan 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
ns2 video transmission

thank you sir. i will work out upon the roots that u told me.then i will write to you.
thanks a lot.
 
Old 02-12-2013, 10:39 AM   #27
biswa_feb15
LQ Newbie
 
Registered: Jan 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
ns2 video transmission

sir now nam file is running.
thanks for your help.
now i want to run a video program through that ns2-28.
when i am writting ns <file name(video program)>.tcl
this error is comming:
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 "video1.tcl" line 47)

what i will do?
 
Old 02-12-2013, 11:29 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 27 . ""invalid command name "Agent/myUDP" : Looks like your build failed.

Code:
$ cd myevalvid2/ && ns-myevalvid be_a01.tcl
9.9689999999999994
300 records
No issues with the included "Agent/myUDP" ( line 24.)
Note :
The executable 'ns-myevalvid' is provided by 'myevalvid-ns-2.28-ubuntu10_i386.deb'.
Please install the package. It's small : 3.7 MB. ( 10.8 MB when installed.)
-
Attached Files
File Type: txt EvalVid_tutorial.html.gz.txt (4.3 KB, 27 views)
 
Old 02-18-2013, 10:40 AM   #29
biswa_feb15
LQ Newbie
 
Registered: Jan 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
ns2 video transmission

sir i have done all these things as per your saying.
after running the program by writing this
$cd myevalvid2/ && ns-myevalvid be_a01.tcl
this error came.
couldn't open "st_a01": no such file or directory
while executing
"open $original_file_name r"
invoked from within
"set original_file_id [open $original_file_name r]"
(file "be_a01.tcl" line 35)
laxmipriya@laxmipriya-laptop:~/myevalvid2$ ns-myevalvid be_a01.tcl
couldn't open "st_a01": no such file or directory
while executing
"open $original_file_name r"
invoked from within
"set original_file_id [open $original_file_name r]"
(file "be_a01.tcl" line 35)


what will i do? pls guide.
 
Old 02-18-2013, 12:20 PM   #30
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 29 .
Quote:
couldn't open "st_a01": no such file or directory
? May the unpacking of "myevalvid2.rar" went wrong ?
( Post #13 http://140.116.164.80/~smallko/ns2/myevalvid2.rar )

The file list for the content of myevalvid2/ is attached.
-
Attached Files
File Type: txt myevalvid2-file-list.txt (366 Bytes, 16 views)

Last edited by knudfl; 02-18-2013 at 12:22 PM.
 
  


Reply

Tags
myevalvid, myevalvid2, mympeg, 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
calculate power transmission and define wireless parameter for zigbee with NS2 barthunder52 Linux - Networking 0 12-27-2012 06:44 AM
ns2 2.33 with lte patch transmission problem greg1 Linux - Newbie 0 08-14-2012 05:43 AM
No transmission circlesdisplayed for wirless transmission in ns2 susanthomas Linux - Newbie 2 05-23-2012 01:14 AM
Audio Video Transmission Thewyzewun Linux - Hardware 0 08-23-2004 06:04 PM
Want To Only Recive Video Transmission In Gnomemeeting ROORTOKES Linux - Software 3 08-09-2003 11:37 PM


All times are GMT -5. The time now is 05:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration