Quote:
Originally Posted by knudfl
# 11 .
Please see post # 2. The commands for ns-2.32 / gcc34 are :
1) cd ns-allinone-2.32/
2) export CC=gcc34 CXX=g++34 && ./install
|
Thanks dear Knudfl, NS2 had been instaled successfully.
When I reach to the last step, ./validate : I got set of Errors, as shown below:
-----------------------------------------------------------------------------------------------------------------------------
*** ./test-all-simple
Tests: tahoe1 tahoe1Bytes tahoe1RED tahoe1REDbytes tahoe2 tahoe3 tahoe3RED tahoe4 no_bug bug reno1 reno renoA reno2 reno3 reno4 reno4a reno5 reno5_nobug telnet delayed phase phase1 phase2 timers manyflows stats statsECN stats1 stats1Bytes stats1a stats1aBytes statsHeaders stats2 stats3 stats4 statsTFRC
Running test tahoe1:
../../ns test-suite-simple.tcl tahoe1 QUIET
wrong # args: should be "_o4 self class proc n1 n2 bw delay res type args"
(Simulator duplex-link line 1)
invoked from within
"$ns duplex-link $node_(s1) $node_(r1) 8Mb 5ms DropTail"
(procedure "_o11" line 4)
(Topology/net0 init line 4)
invoked from within
"_o11 init _o4"
(Class create line 1)
invoked from within
"Topology/net0 create _o11 _o4"
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 Topology/$net_ $ns_"
(procedure "_o3" line 15)
(Object next line 15)
invoked from within
"$self next"
(procedure "_o3" line 8)
(Test/tahoe1 init line 8)
invoked from within
"_o3 init {}"
(Class create line 1)
invoked from within
"Test/tahoe1 create _o3 {}"
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 Test/$test $topo"
(procedure "TestSuite" line 40)
(TestSuite runTest line 40)
invoked from within
"TestSuite runTest"
(file "test-suite-simple.tcl" line 1824)
Test output differs from reference output
Diagnose with: diff test-output-simple/tahoe1.test test-output-simple/tahoe1
Or see URL "http://www.isi.edu/nsnam/ns/ns-problems.html".
^XRunning test tahoe1Bytes:
../../ns test-suite-simple.tcl tahoe1Bytes QUIET
wrong # args: should be "_o4 self class proc n1 n2 bw delay res type args"
(Simulator duplex-link line 1)
invoked from within
"$ns duplex-link $node_(s1) $node_(r1) 8Mb 5ms DropTail"
(procedure "_o11" line 4)
(Topology/net0 init line 4)
invoked from within
"_o11 init _o4"
(Class create line 1)
invoked from within
"Topology/net0 create _o11 _o4"
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 ""
}
.
.
.
What is the problem?