sir i need tcl file for energy consumption calculation and network life time.

On Tue, Jul 26, 2011 at 5:00 PM,  <ns-users-requ...@isi.edu> wrote:
> Send Ns-users mailing list submissions to
>        ns-users@isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
>        ns-users-requ...@isi.edu
>
> You can reach the person managing the list at
>        ns-users-ow...@isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>   1. debugger problem (shwta jain)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 26 Jul 2011 10:58:30 +0530
> From: "shwta jain" <shwe...@sac.isro.gov.in>
> Subject: [ns] debugger problem
> To: <ns-users@isi.edu>
> Message-ID: <000001cc4b54$db3261f0$919725d0$@isro.gov.in>
> Content-Type: text/plain;       charset="us-ascii"
>
> Hi all,
>
> I want to debug ns2 code with gdb debugger. As I am told to make the
> following changes in installation file and make file.
>
> 1- # Build Tcl8.3.2 (should be around line 173)
>
>
>
> In this section you need to add the option
>
> --enable-symbols to the line :
>
> ./configure --enable-gcc --disable-shared
>
> --prefix=$CUR_PATH || ....
>
>
>
> so it becomes:
>
> ./configure --enable-gcc --enable-symbols
>
> --disable-shared --prefix=$CUR_PATH || ....
>
>
>
> 2- Build tclcl (should be around line 260)
> in this section, you need to add --enable-debug to
> your configure line, such
> that:
> ./configure || ...
> becomes
>
> ./configure --enable-debug || ...
> 3-now, go into your ns-allinone/ns directory, and open
> your Makefile.in. change-
> CFLAGS = $(CCOPT) $(DEFINE)
> to
> CFLAGS = -g $(CCOPT) $(DEFINE)
>
> ./install.
>  I did the same but during installation following error is coming----------
>
>
> * Build Tclcl-1.19
>
> ============================================================
>
> configure: WARNING: you should use --build, --host, --target
>
> No .configure file found in current directory
>
> Continuing with default options...
>
> checking build system type... Invalid configuration `enable-debug': machine
> `enable' not recognized
>
> configure: error: /bin/sh ./config.sub enable-debug failed
>
> tclcl-1.19 configuration failed! Exiting ...
>
> Please check http://www.isi.edu/nsnam/ns/ns-problems.html
>
> for common problems and bug fixes.
>
>
>
> What to do now
> Plz help me
> Regard Shweta jain
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 91, Issue 25
> ****************************************
>



-- 
Thanking You.

best wishes and regards,

yours sincerely,

Srinivas.Kanakala
Assistant Professor
Department of Computer Science
Vaagdevi College of Engineering

www.vagdevieng.com

Warangal,AndhraPradesh,INDIA-506002

contact no:91-9966343560


All the power is with in u,u can do any thing and every thing

Reply via email to