[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ns not working after recompiling, tclsh8.0 not found



Hi

I recompiled ns after some modifications (added a new type of queue)  but
it has stoped working after that. 

I did 'make depend' 

it gave mesage 
emulate/net-pcap.cc:60: pcap.h: No such file or directory
emulate/arp.cc:50: net/ethernet.h: No such file or directory
I assume these files are not needed.

after that i did 'make'. It seems to compile. After that even if i run a
simple test, ns does not work, it is not able to get the new instance of
the simulator.
the error message is 

> ns test_red.tcl
invalid command name "Simulator"
    while executing "Simulator create _o1 "
    invoked from within
"catch "$className create $o $args" msg"
    (procedure "new" line 3)
    invoked from within 
"new Simulator"
    (file "test_red.tcl" line 2) 


First time I recompiled, 'make' gave some error message 

tclsh8.0 not found ....


but on second recompile there was no such error message.

I do not understand what went worng.

Please help.

thanks

with regards
Anurag