[ns] Help: Setdest Command
Sasan Sahraei
ss1 at student.cs.ucc.ie
Mon Mar 13 03:05:42 PST 2006
one thing you can do is to delete any (object files) .o files from setdest
directory and run make again. this will definitly generate the binary for
you.
>
> Hi,
>
> I would like to ask regarding "setdest" command. In the tutorial it says
> that:
>
> In order to compile the revised setdest.cc do the following:
> 1. Go to ns directory and run "configure" (you probably have done that
> already while building ns). This creates a makefile for setdest.
> 2.Go to indep-utils/cmu-scen-gen/setdest. Run "make" , which first creates
> a stand-alone object file for ~ns/rng.cc (the stand-alone version doesnot
> use Tclcl libs) and then creates the executable setdest.
> 3. Run setdest with arguments as shown below:
>
> So, I have do the first command as below:
> [root at localhost ns]# configure
> then the error would be:
> bash: configure: command not found
>
> When I run the second command:
> [root at localhost setdest]# make
> then the error would be:
> make: Nothing to be done for 'all"
>
> When I run the third command:
> ./setdest -n 50 -p 0 -s 20.0 -t 100 -x 500 -y 500 > scen-50-test
> then the error would be:
> bash: ./setdest: No such file or directory
>
>
> File setdest.cc is in setdest folder. Inside the folder there is also
> Makefile, Makefile.in & rng.o file & others.
>
> I did not sure whether for command 1 & 2, that is the correct way to do
> so.
>
> I am using ns 2.26. I use command ./ns <file_name> to run tcl script.
>
> Hope anybody can help me.
>
> Thank you & regards,
>
> norlida
>
>
>
>
>
> ---------------------------------
> Brings words and photos together (easily) with
> PhotoMail - it's free and works with Yahoo! Mail.
>
More information about the Ns-users
mailing list