[ns] make target in makefile for ns
t.reimann at lancaster.ac.uk
Wed Apr 4 05:47:34 PDT 2007
smita vishwakarma wrote:
> I have created ping.o but when I am trying to make it is showing this
> make: *** No rule to make target ` ', needed by `ns'. Stop.
> how to make target needed by ns? need your help.
The base directory of ns-2 doesn't provide any Makefile. Istead, you need
to go to the ns-2.xy directory (e.g., ns-2.31), add your program to the
list of to-be-compiled object files in Makefile.in, re-./configure (I
recommend copying the switches from the install script) and then do
My configure-line for ns-2.30 looks like this:
./configure --enable-debug --enable-tcldebug=../tcl-debug-2.0
You should remove the `--enable-tcldebug' switch if you don't use the Tcl
debugger. (read: haven't installed and built tcl-debug before.)
More information about the Ns-users