LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2012, 03:34 AM   #1
Riaz Khan
Member
 
Registered: Apr 2012
Posts: 42
Blog Entries: 2

Rep: Reputation: Disabled
ns-2.33 with mobiwan errors


i patched the mobiwan by doing the procedure below:

1. i kept the mobiwan patch in the ns-2.33 folder of ns-allinone-2.33 derectory.
2. then i run the command "patch -p1 < ns-233-mobiwan-1.patch"
3. then i run ./configure ; make clean
4. and 'make' then it gave me an error :

tools/ranvar.cc: In member function ‘virtual double GammaRandomVariable::value()’:
tools/ranvar.cc:219:70: error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly
tools/ranvar.cc:219:70: error: for a function-style cast, remove the redundant ‘::GammaRandomVariable’
make: *** [tools/ranvar.o] Error 1
[root@riaz ns-2.33]#


and after that when i run any other tcl script it gives me an error shown below:


[riaz@riaz new_project]$ can't read "EnableHierRt_": no such variable
> (Object set line 1)
> invoked from within
> "Simulator set EnableHierRt_"
> (procedure "_o10" line 10)
> (Node attach line 10)
> invoked from within
> "$node attach $agent"
> (procedure "_o3" line 2)
> (Simulator attach-agent line 2)
> invoked from within
> "$ns_ attach-agent $n0 $udp0"
> (file "packetsend.tcl" line 18)
> [riaz@riaz new_project]$



please help me to resolve this problem
i will wait for your immediate reply
thanks in anticipation
 
Old 05-04-2012, 05:34 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
? Duplicate of post # 23 here ?

http://www.linuxquestions.org/questi...ml#post4669231
 
  


Reply


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
Mobiwan and NS 2.34 ? Augengrun Linux - Networking 16 04-01-2012 08:49 AM
Mobiwan for Ns2.33 bsyew Linux - Newbie 37 01-22-2012 05:16 AM
repeatable disk read/write errors with no errors logged by kernel or SMART mxl2 Linux - Hardware 9 04-02-2011 09:27 AM
not able to run tcl for mobiwan manjunath11 Linux - Newbie 6 11-05-2010 03:18 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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