[ns] How to recompile NS?
Jeevan Joseph John
jeevanj at cs.tamu.edu
Mon May 10 20:50:08 PDT 2004
$touch "filename you changed"
$make
this should work.
Jeevan Joseph John,
Graduate Research Assistant,
Dept. of Electrical Engineering,
Texas A & M University,
College Station, TX - 77840
R:979-268-5840
M:979-571-1347
-----Original Message-----
From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU]On
Behalf Of fkeceli
Sent: Monday, May 10, 2004 6:51 PM
To: NS-USERS
Subject: [ns] How to recompile NS?
Hi all,
I want to recompile NS, but my way does not work. I only change, say add
a printf command in one of C++ files. Can anyone figure out where am I
doing wrong? Up to my knowledge just doing make should be enough, but I
tried these also.
make clear
make depend
make
Moreover, I reconfigured and do the same from beginning. But I cannot
see the effect.
My added line to channel.cc is ' printf(std, "this should appear at
command window if i am doing right\n"); ' just under ' fprintf(stderr,
"highestAntennaZ_ = %0.1f, distCST_ = %0.1f\n", highestAntennaZ_,
distCST_); ' which is default with NS-2.27 distribution.
I will appreciate the help. Regards,
Inanc
More information about the Ns-users
mailing list