Linux - SoftwareThis 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.
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.
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 ?
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.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517
Rep:
# 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>
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.
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?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517
Rep:
# 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.)
-
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.