I have modified tcp.cc file and then in terminal I executed these commands at /ns2.35 directory
./configure
make clean
make
make install
But in 'make install' I am getting following error:
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install -c -m 644 ns.1 /usr/local/man/man1
And I am not getting effect of modified tcp. while I run 'which ns ' terminal shows '/usr/local/bin/'. and my downloaded source code is in/home/ns/... Please tell me how to get rid of this problem...Thanks
Simple solution is to after modification of tcp.cc, run following command in /ns2.35/ directory
./configure
make clean
make
make install
However I'm getting error, but I ignore it. Then to run any further tcl-scripts I need to go to ~/ns2.35/ directory and I get effect of modified tcp.cc.