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

recompile problems



Hi

   I have some problems when I recompile the ns(add new feature in
flowMon,also I change the ns-default.tcl.)
When I recompile the following error happens:

/export/home/ns2/ns-allinone-2.1b5/tclbox/bin/tclsh8.0 bin/tcl-expand.tcl
tcl/lib/ns-lib.tcl | ../tclcl-1.0b8/tcl2c++ et_ns_lib > gen/ns_tcl.cc
sh: /export/home/ns2/ns-allinone-2.1b5/tclbox/bin/tclsh8.0: cannot execute
sh: ../tclcl-1.0b8/tcl2c++: cannot execute
*** Error code 1
make: Fatal error: Command failed for target `gen/ns_tcl.cc'
child process exited abnormally

After that I found that the gen/ns_tcl.cc change to 0 bytes.

I have read the problem mention in following link
http://www-mash.cs.berkeley.edu/dist/archive/ns-users/9903/0102.html
and i check that the makefiles line 41.It is
TCLSH = /export/home/ns2/ns-allinone-2.1b5/tclbox/bin/tclsh8.0
tclsh8.0(size 607080) is at that directory correctly.
But why these happen?Why the tclsh8.0 cannot execute?
Can anybody help me?
Thanks in advance.

best regards
Yingying Hou