crcn installation problem

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

crcn installation problem

khaled.elmishad


Using Ubuntu 11.10 installed Ns2.35
Installing crcn:
Problem in step 6 make depend
HTML output shows atfer entering "make depend"


emulate/net-pcap.cc:64:18: fatal error: pcap.h: No such file or directory
compilation terminated.

What should I do?

Reference: http://stuweb.ee.mtu.edu/~ljialian/installation.hts
Thanks

 Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP


         
Reply | Threaded
Open this post in threaded view
|

CRCN simulation problems

khaled.elmishad





       
       
       
       


Using sudo java -jar CRCN.jar
Output results appeared in the terminal
good -when clicking buttons(start sim,confirm) in CRCN



But the problems appeared as follows:



 1] (nam and tr) files are empty




 2] tcl outut file when excuting
it using terminal tells me






    (_o3 cmd line 1)

    invoked from within

"_o3 cmd add-channel 0 _o13"

    invoked from within

"catch "$self cmd $args"
ret"

    invoked from within

"if [catch "$self cmd $args"
ret] {

set cls [$self info class]

global errorInfo

set savedInfo $errorInfo

error "error when calling class
$cls: $args" $..."

    (procedure "_o3" line 2)

    (SplitObject unknown line 2)

    invoked from within

"$ns_ add-channel $i $chan_($i)"

    ("for" body line 2)

    invoked from within

"for {set i 0} {$i <
$val(channum) } {incr i} {

$ns_ add-channel $i $chan_($i)

}"

    (file "test1.tcl" line
43)






 3] Throughput graph is empty
while terminal shows me

OUTPUT> 0

Process exitValue: 0




 4] Interference graph is empty while
terminal shows me

Can't open file ITfile!

java.io.FileNotFoundException: ITfile
(No such file or directory)










Using: Ubuntu 11.10 with ns2.31
crcn patch installed

gnu plot installed and upgradedjava is installed and upgraded



Kindly waiting your reply soon.
Thanks for your time and conisderation.

 Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP



             
Reply | Threaded
Open this post in threaded view
|

CRCN simulation problems modified

khaled.elmishad


I only modified that mobility&traffic file is also empty.










       
       
       
       


Using sudo java -jar CRCN.jar
Output results appeared in the terminal
good -when clicking buttons(start sim,confirm) in CRCN



But the problems appeared as follows:



 1] (nam, tr, mobility&traffic) files are empty




 2] tcl outut file when excuting
it using terminal tells me






    (_o3 cmd line 1)

    invoked from within

"_o3 cmd add-channel 0 _o13"

    invoked from within

"catch "$self cmd $args"
ret"

    invoked from within

"if [catch "$self cmd $args"
ret] {

set cls [$self info class]

global errorInfo

set savedInfo $errorInfo

error "error when calling class
$cls: $args" $..."

    (procedure "_o3" line 2)

    (SplitObject unknown line 2)

    invoked from within

"$ns_ add-channel $i $chan_($i)"

    ("for" body line 2)

    invoked from within

"for {set i 0} {$i <
$val(channum) } {incr i} {

$ns_ add-channel $i $chan_($i)

}"

    (file "test1.tcl" line
43)






 3] Throughput graph is empty
while terminal shows me

OUTPUT> 0

Process exitValue: 0




 4] Interference graph is empty while
terminal shows me

Can't open file ITfile!

java.io.FileNotFoundException: ITfile
(No such file or directory)










Using: Ubuntu 11.10 with ns2.31
crcn patch installed

gnu plot installed and upgradedjava is installed and upgraded



Kindly waiting your reply soon.
Thanks for your time and conisderation.

 Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP



                 
Reply | Threaded
Open this post in threaded view
|

CRCN simulation problems (2)

khaled.elmishad







At clicking start sim in the gui the terminal shows me
/home/elmishad/ns-allinone-2.31/ns-2.31/test.tcl is called by ns
num_nodes is set 6
Process exitValue: 1

Please help me to fix those errors.
Thank you
 Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP




From: [hidden email]
To: [hidden email]
Subject: CRCN simulation problems modified
Date: Tue, 3 Apr 2012 22:15:17 +0200







I only modified that mobility&traffic file is also empty.










       
       
       
       


Using sudo java -jar CRCN.jar
Output results appeared in the terminal
good -when clicking buttons(start sim,confirm) in CRCN



But the problems appeared as follows:



 1] (nam, tr, mobility&traffic) files are empty




 2] tcl outut file when excuting
it using terminal tells me






    (_o3 cmd line 1)

    invoked from within

"_o3 cmd add-channel 0 _o13"

    invoked from within

"catch "$self cmd $args"
ret"

    invoked from within

"if [catch "$self cmd $args"
ret] {

set cls [$self info class]

global errorInfo

set savedInfo $errorInfo

error "error when calling class
$cls: $args" $..."

    (procedure "_o3" line 2)

    (SplitObject unknown line 2)

    invoked from within

"$ns_ add-channel $i $chan_($i)"

    ("for" body line 2)

    invoked from within

"for {set i 0} {$i <
$val(channum) } {incr i} {

$ns_ add-channel $i $chan_($i)

}"

    (file "test1.tcl" line
43)






 3] Throughput graph is empty
while terminal shows me

OUTPUT> 0

Process exitValue: 0




 4] Interference graph is empty while
terminal shows me

Can't open file ITfile!

java.io.FileNotFoundException: ITfile
(No such file or directory)










Using: Ubuntu 11.10 with ns2.31
crcn patch installed

gnu plot installed and upgradedjava is installed and upgraded



Kindly waiting your reply soon.
Thanks for your time and conisderation.

 Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP



                         
Reply | Threaded
Open this post in threaded view
|

Request: Fixing tcl error

khaled.elmishad
In reply to this post by khaled.elmishad



Attached is a tcl script
The following errors show up

  (_o3 cmd line 1)
    invoked from within
"_o3 cmd add-channel 0 _o13"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o3" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$ns_ add-channel $i $chan_($i)"
    ("for" body line 2)
    invoked from within
"for {set i 0} {$i < $val(channum) } {incr i} {
$ns_ add-channel $i $chan_($i)
}"
    (file "test.tcl" line 43)

Hence, no trace nor nam files were created.
Help me on this as soon as possible.

Thank you

Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP



                     
Reply | Threaded
Open this post in threaded view
|

add-channel error

khaled.elmishad



Error add-channel:

 (_o3 cmd line 1)

    invoked from within

"_o3 cmd add-channel 0 _o13"

    invoked from within

"catch "$self cmd $args" ret"

    invoked from within

"if [catch "$self cmd $args" ret] {

set cls [$self info class]

global errorInfo

set savedInfo $errorInfo

error "error when calling class $cls: $args" $..."

    (procedure "_o3" line 2)

    (SplitObject unknown line 2)

    invoked from within

"$ns_ add-channel $i $chan_($i)"

    ("for" body line 2)

    invoked from within

"for {set i 0} {$i < $val(channum) } {incr i} {

$ns_ add-channel $i $chan_($i)

}"

    (file "test.tcl" line 43)


Hence, no trace nor nam files were created.

I tried configuring the node with -channel $val(chan)     -channel $chan_($i)         -channel $chan_(4)    separately but same error exisits.
I also tried 2 interfaces instead of one and same error exisit.

Kindly need help on this urgently and recommend me with a gui debugger (I installed ddd but it saied doesn't execute tcl scripts (error)).

Attached is 2 tcl scripts (single and multiple interfaces) and random tcl for connections


 Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP
         
Reply | Threaded
Open this post in threaded view
|

Re: crcn installation problem

nikhikarnati
This post has NOT been accepted by the mailing list yet.
In reply to this post by khaled.elmishad
I have the similar problem.I couldn't find any replies here. Can you post how you recovered the problem ?
Reply | Threaded
Open this post in threaded view
|

Re: crcn installation problem

nikhikarnati
This post has NOT been accepted by the mailing list yet.
Try
sudo apt-get install libpcap0.8-dev
This worked for me.
Reply | Threaded
Open this post in threaded view
|

i am getting a problem of java.io.filenotfound exception: (no such file or directory)

harshav
This post has NOT been accepted by the mailing list yet.
In reply to this post by khaled.elmishad
i am using ubuntu12.04 , i installed ns2 version 2.31,i installed jdk 1.7.0_17
after installing gnuplot,
i typed the follwing commands in terminal


harsha@Harsha:~/ns2/ns-allinone-2.31/ns-2.31$ java -jar CRCN.jar


i am getting a few steps like this

harsha@Harsha:~/ns2/ns-allinone-2.31/ns-2.31$ java -jar CRCN.jar
Yeah
/home/harsha/ns2/ns-allinone-2.31/ns-2.31/test.tcl
routing
/home/harsha/ns2/ns-allinone-2.31/ns-2.31/test.tcl is called by ns
Starting Simulation...
NS EXITING...
num_nodes is set 10
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
Process exitValue: 0

i am getting an error of


jTabbedPane1_stateChanged(ChangeEvent e) called.
java.io.FileNotFoundException: (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:209)
at java.io.FileOutputStream.(FileOutputStream.java:99)
at nsui.CFrame.TopoOK_actionPerformed(CFrame.java:2260)
at nsui.CFrame.access$16(CFrame.java:2113)
at nsui.CFrame$23.actionPerformed(CFrame.java:1077)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4649)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2587)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
at java.awt.EventQueue.access$300(EventQueue.java:96)
at java.awt.EventQueue$2.run(EventQueue.java:634)
at java.awt.EventQueue$2.run(EventQueue.java:632)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$3.run(EventQueue.java:648)
at java.awt.EventQueue$3.run(EventQueue.java:646)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138






pls help me.........


thanking u....,



Reply | Threaded
Open this post in threaded view
|

Re: i am getting a problem of java.io.filenotfound exception: (no such file or directory)

shirazkhurana
This post has NOT been accepted by the mailing list yet.
Dear Sir,

Please send Throughput.pl file as I am getting a divide by zero error.

I am using ns-2.31 & ubuntu 14.04
my email id is: shiraz.khurana@gmail.com
thanks in advance