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 can i find out the psnr(peak signal to noise ratio) graph in in ns2 that is installed in ubuntu?
or i wil take help of cygin , which is running in windows.
I am trying to use Evalivid with ns2. I have followed all the steps mentioned. I have gone through many post related to this error(which occurs when I run $ ns be.tcl) but couldn't find the solution. Can someone help?? I am using fedora 16 (32-bit) ns2.35
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.tcl" line 24)
Thanks for the reply. Actually the problem was multiple versions of ns. I had ns2.34 and ns2.35 installed but I was referring to ns2.34. Changing the PATH variable I could do it.
I started from scratch and tried installing ns2.28 on Ubuntu 10.04 32 bit on my PC. I followed the steps given in one of your posts. But when I try to "./install " I get an error.
.........
/home/johnli/ns-allinone-2.28/tk8.4.5/unix/../generic/tk3d.c:1400: error: ‘TkBorder’ has no member named ‘nextPtr’
/home/johnli/ns-allinone-2.28/tk8.4.5/unix/../generic/tk3d.c:1403: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/home/johnli/ns-allinone-2.28/tk8.4.5/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Error 1
tk8.4.5 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517
Rep:
# 52 .
Please read post #46 carefully.
Tk error : Probably start from scratch with a new unpacked ns-allinone-2.28.tar.gz.
Ubuntu 10.04 : § 5) is a little different, please do ..
export CC=gcc-4.1 CXX=g++-4.1
.. Be aware that the export command is temporary :
will reset to the default gcc/g++ if/when you exit the terminal.
I have been reading this thread, I'm working on same topic.
I needed "mympeg-patch-to-ns2.28.patch", someone here written that they've found it here in the discussion thread but I'm not getting where it is.
Could you please provide me the download link for the same?
One more isuue I have is that etmp4 does not work with wine on Linux. Is there any other way I can use etmp4? Or a substitute for etmp4? I'm getting the following error when I run it with wine.
wine: Unhandled page fault on write access to 0x6835dd90 at address 0x68269c0d (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x6835dd90 in 32-bit code (0x68269c0d).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:68269c0d ESP:0032e0f4 EBP:0032e134 EFLAGS:00210207( R- -- I - -P-C)
EAX:0032e189 EBX:68269c0a ECX:6f727265 EDX:6835dda1
ESI:00000001 EDI:0042d094
Stack dump:
.........
......
hi when i run make in my eval vid i get this error
myevalvid/myudp.cc: In constructor ‘myUdpAgent::myUdpAgent()’:
myevalvid/myudp.cc:19:21: error: cannot call constructor ‘myUdpAgent::UdpAgent’ directly [-fpermissive]
myevalvid/myudp.cc:19:21: error: for a function-style cast, remove the redundant ‘::UdpAgent’ [-fpermissive]
myevalvid/myudp.cc: In member function ‘virtual void myUdpAgent::sendmsg(int, AppData*, const char*)’:
myevalvid/myudp.cc:56:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat]
myevalvid/myudp.cc:78:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat]
make: *** [myevalvid/myudp.o] Error 1
And you cannot just run 'make'.
You will have to configure before 'make', like this example :
export CXX=g++-4.1 && ./configure
I.e. the g++ you want to use must be specified with the export command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.