LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ns2: video transmission (https://www.linuxquestions.org/questions/linux-software-2/ns2-video-transmission-4175445965/)

biswa_feb15 01-25-2013 08:45 PM

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 ?

knudfl 01-26-2013 02:09 AM

# 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.

-

jschiwal 01-26-2013 02:38 AM

Moved: This thread is more suitable in Linux Software and has been moved accordingly to help your question get the exposure it deserves.

biswa_feb15 01-31-2013 11:32 AM

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.

knudfl 01-31-2013 11:55 AM

1 Attachment(s)
# 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.)
-

biswa_feb15 02-01-2013 03:17 AM

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.

knudfl 02-03-2013 06:55 AM

# 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>


-

biswa_feb15 02-04-2013 01:31 AM

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.

knudfl 02-04-2013 07:06 AM

# 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/

-

knudfl 02-04-2013 09:27 AM

# 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.

-

biswa_feb15 02-08-2013 11:01 AM

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.

biswa_feb15 02-12-2013 10:39 AM

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?

knudfl 02-12-2013 11:29 AM

1 Attachment(s)
# 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.)
-

biswa_feb15 02-18-2013 10:40 AM

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.

knudfl 02-18-2013 12:20 PM

1 Attachment(s)
# 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.
-


All times are GMT -5. The time now is 07:18 AM.