Quote:
Originally Posted by knudfl
Welcome to LQ.
Why would you run make, when you already have the executable 'ns' ?
.. Or could that be an `ns' from a previous ns2 build ?
? Is the file 'ns' present in ns-allinone-2.34/2.34/ :
$ ls ns-allinone-2.34/2.34/ns*
-
|
I tried to compile a new protocol for testing purpose on ns2.34. while i used "make myprotocol.cc" i got the error. And when I tried to run "./validate" in /ns-2.34 directory it gave the following output----
(Validation can take 1-30 hours to run.)
Mon Oct 27 00:33:04 PDT 2014
*** ./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
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test tahoe1Bytes:
../../ns test-suite-simple.tcl tahoe1Bytes QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test tahoe1RED:
../../ns test-suite-simple.tcl tahoe1RED QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test tahoe1REDbytes:
../../ns test-suite-simple.tcl tahoe1REDbytes QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test tahoe2:
../../ns test-suite-simple.tcl tahoe2 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test tahoe3:
../../ns test-suite-simple.tcl tahoe3 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test tahoe3RED:
../../ns test-suite-simple.tcl tahoe3RED QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test tahoe4:
../../ns test-suite-simple.tcl tahoe4 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test no_bug:
../../ns test-suite-simple.tcl no_bug QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test bug:
../../ns test-suite-simple.tcl bug QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno1:
../../ns test-suite-simple.tcl reno1 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno:
../../ns test-suite-simple.tcl reno QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test renoA:
../../ns test-suite-simple.tcl renoA QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno2:
../../ns test-suite-simple.tcl reno2 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno3:
../../ns test-suite-simple.tcl reno3 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno4:
../../ns test-suite-simple.tcl reno4 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno4a:
../../ns test-suite-simple.tcl reno4a QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno5:
../../ns test-suite-simple.tcl reno5 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test reno5_nobug:
../../ns test-suite-simple.tcl reno5_nobug QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test telnet:
../../ns test-suite-simple.tcl telnet QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test delayed:
../../ns test-suite-simple.tcl delayed QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test phase:
../../ns test-suite-simple.tcl phase QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test phase1:
../../ns test-suite-simple.tcl phase1 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test phase2:
../../ns test-suite-simple.tcl phase2 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test timers:
../../ns test-suite-simple.tcl timers QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test manyflows:
../../ns test-suite-simple.tcl manyflows QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test stats:
../../ns test-suite-simple.tcl stats QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test statsECN:
../../ns test-suite-simple.tcl statsECN QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test stats1:
../../ns test-suite-simple.tcl stats1 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
^C
COULD YOU PLEASE SUGGEST ANY SOLUTION TO THIS?