Re: [ns] How to work in eclipse for NS-2 new protocol.

2008-05-02 Thread Salih ML

You can google "ns-2 eclipse" to get more information but I like your
idea and added my experiences to the ns-2 wiki including the
references. You can check it at:

http://nsnam.isi.edu/nsnam/index.php/Developer_Information#Development_with_Eclipse

Hopefully people would contribute to make debugging part more clear.

Right now if I don't give any input file Eclipse opens a console where
it runs the Tcl interpreter (The same effect as running "ns" without
an input file). However when I set any breakpoint it complains that it
can't find the source files. I don't know how to fix it.. :(


On Fri, May 2, 2008 at 2:22 AM, Arturo Servin <[EMAIL PROTECTED]> wrote:
>
>
> It would be great if you could share your experience in the wiki or in a
> blog. I just could not make ns compile in eclipse.
>
> -as
>
>
>
> On 2 May 2008, at 10:09, Salih ML wrote:
>
> I am able to build ns-2 with eclipse. However when I try to debug ns-2
> using eclipse I am getting the following
>  error: (Added a breakpoint inside scheduler.cc file)
>
>  No symbol "new" in current context.
>  No source file named scheduler.cc.
>  Stopped due to shared library event
>  No source file named scheduler.cc.
>  Stopped due to shared library event
>  No source file named scheduler.cc.
>  Current language:  auto; currently asm
>  No source file named scheduler.cc.
>
>  Does anybody know what would be problem? It looks like it can't find
> the scheduler.cc file.
>
>  By the way, when I try to add a breakpoint using GDB from terminal I
> get the following error:
>
>  (gdb) break scheduler.cc:129
>  No source file named scheduler.cc.
>  Make breakpoint pending on future shared library load? (y or [n]) y
>
>  Breakpoint 1 (scheduler.cc:129) pending.
>
>
> I installed  ns-2.30 on a Ubuntu Linux machine.
>
> Thanks,
>
>  Salih
>
>
>
>  On Mon, Oct 22, 2007 at 12:23 AM, Sidney Doria <[EMAIL PROTECTED]> wrote:
>
>  Azim,
>
>  Eclipse TODO:
>
>  - install cygwin (as much complete as possible, to avoid more trouble);
>
>  - install ns in cygwin (don't forget the PATH, TCL_LIBRARY and
>  LD_LIBRARY_PATH stuff at the end of installation) and validate;
>
>  - install eclipse;
>
>  - make a new directory to your protocol in /ns-allinone-2.32/ns-2.32/
>
>  - open eclipse and create a project and the files of tutorial
>
>  - to complile, you MUST add (include) dirs like: ns-2.32. commom,
>  trace, etc. in the eclipse (look for a menu like
>  project/compiler/directories). so, lots of errors will gone in the
>  next compile turn.
>
>  - Take a look in compile errors to find more needed dirs to include
>  until last compile error has gone
>
>  Finally,
>
>  I have tried:
>
>  Vista + Cygwin +NS-2 + Eclipse
>
>  but the BEST is:
>
>  VirtualBox + Ubuntu 7.10 + NS-2 + Eclipse (or gedit and make)
>
>  With this last package everything runs smooth and easy.
>
>
>  Sidney Doria
>
>
>  2007/10/21, Azim <[EMAIL PROTECTED]>:
>
>
>
>
>
> Hi all,
>
>
>
> I am new in eclipse. I am using cygwin (g++) for compile and my ns-2.31 is
>
> in /usr/local directory.
>
>
>
> But I am not getting how can I write new protocol like ping.cpp in eclipse
>
> and compile NS-2.
>
>
>
> If anyone give me any idea, it would be very helpful for me.
>
>
>
> Regards
>
> Azim
>
>
>
>
>  --
>  Sidney Doria
>  Redes ad hoc móveis
>  Mestrado em Computação
>  UFCG
>  Brasil
>
>  "Nessa jornada, o conhecimento será o seu escudo..."
>  (Mestre dos Magos no episódio do grimoire de ouro)
>
>
>
>
>



Re: [ns] How to work in eclipse for NS-2 new protocol.

2008-05-02 Thread Arturo Servin


It would be great if you could share your experience in the wiki or in  
a blog. I just could not make ns compile in eclipse.

-as

On 2 May 2008, at 10:09, Salih ML wrote:

>
> I am able to build ns-2 with eclipse. However when I try to debug ns-2
> using eclipse I am getting the following
> error: (Added a breakpoint inside scheduler.cc file)
>
> No symbol "new" in current context.
> No source file named scheduler.cc.
> Stopped due to shared library event
> No source file named scheduler.cc.
> Stopped due to shared library event
> No source file named scheduler.cc.
> Current language:  auto; currently asm
> No source file named scheduler.cc.
>
> Does anybody know what would be problem? It looks like it can't find
> the scheduler.cc file.
>
> By the way, when I try to add a breakpoint using GDB from terminal I
> get the following error:
>
> (gdb) break scheduler.cc:129
> No source file named scheduler.cc.
> Make breakpoint pending on future shared library load? (y or [n]) y
>
> Breakpoint 1 (scheduler.cc:129) pending.
>
>
> I installed  ns-2.30 on a Ubuntu Linux machine.
>
> Thanks,
>
> Salih
>
>
>
> On Mon, Oct 22, 2007 at 12:23 AM, Sidney Doria <[EMAIL PROTECTED]>  
> wrote:
>>
>> Azim,
>>
>> Eclipse TODO:
>>
>> - install cygwin (as much complete as possible, to avoid more  
>> trouble);
>>
>> - install ns in cygwin (don't forget the PATH, TCL_LIBRARY and
>> LD_LIBRARY_PATH stuff at the end of installation) and validate;
>>
>> - install eclipse;
>>
>> - make a new directory to your protocol in /ns-allinone-2.32/ns-2.32/
>>
>> - open eclipse and create a project and the files of tutorial
>>
>> - to complile, you MUST add (include) dirs like: ns-2.32. commom,
>> trace, etc. in the eclipse (look for a menu like
>> project/compiler/directories). so, lots of errors will gone in the
>> next compile turn.
>>
>> - Take a look in compile errors to find more needed dirs to include
>> until last compile error has gone
>>
>> Finally,
>>
>> I have tried:
>>
>> Vista + Cygwin +NS-2 + Eclipse
>>
>> but the BEST is:
>>
>> VirtualBox + Ubuntu 7.10 + NS-2 + Eclipse (or gedit and make)
>>
>> With this last package everything runs smooth and easy.
>>
>>
>> Sidney Doria
>>
>>
>> 2007/10/21, Azim <[EMAIL PROTECTED]>:
>>
>>
>>>
>>> Hi all,
>>>
>>> I am new in eclipse. I am using cygwin (g++) for compile and my  
>>> ns-2.31 is
>>> in /usr/local directory.
>>>
>>> But I am not getting how can I write new protocol like ping.cpp in  
>>> eclipse
>>> and compile NS-2.
>>>
>>> If anyone give me any idea, it would be very helpful for me.
>>>
>>> Regards
>>> Azim
>>>
>>
>>
>> --
>> Sidney Doria
>> Redes ad hoc móveis
>> Mestrado em Computação
>> UFCG
>> Brasil
>>
>> "Nessa jornada, o conhecimento será o seu escudo..."
>> (Mestre dos Magos no episódio do grimoire de ouro)
>>
>>
>



Re: [ns] How to work in eclipse for NS-2 new protocol.

2008-05-02 Thread Salih ML

I am able to build ns-2 with eclipse. However when I try to debug ns-2
using eclipse I am getting the following
 error: (Added a breakpoint inside scheduler.cc file)

 No symbol "new" in current context.
 No source file named scheduler.cc.
 Stopped due to shared library event
 No source file named scheduler.cc.
 Stopped due to shared library event
 No source file named scheduler.cc.
 Current language:  auto; currently asm
 No source file named scheduler.cc.

 Does anybody know what would be problem? It looks like it can't find
the scheduler.cc file.

 By the way, when I try to add a breakpoint using GDB from terminal I
get the following error:

 (gdb) break scheduler.cc:129
 No source file named scheduler.cc.
 Make breakpoint pending on future shared library load? (y or [n]) y

 Breakpoint 1 (scheduler.cc:129) pending.


I installed  ns-2.30 on a Ubuntu Linux machine.

Thanks,

 Salih



 On Mon, Oct 22, 2007 at 12:23 AM, Sidney Doria <[EMAIL PROTECTED]> wrote:
 >
 >  Azim,
 >
 >  Eclipse TODO:
 >
 >  - install cygwin (as much complete as possible, to avoid more trouble);
 >
 >  - install ns in cygwin (don't forget the PATH, TCL_LIBRARY and
 >  LD_LIBRARY_PATH stuff at the end of installation) and validate;
 >
 >  - install eclipse;
 >
 >  - make a new directory to your protocol in /ns-allinone-2.32/ns-2.32/
 >
 >  - open eclipse and create a project and the files of tutorial
 >
 >  - to complile, you MUST add (include) dirs like: ns-2.32. commom,
 >  trace, etc. in the eclipse (look for a menu like
 >  project/compiler/directories). so, lots of errors will gone in the
 >  next compile turn.
 >
 >  - Take a look in compile errors to find more needed dirs to include
 >  until last compile error has gone
 >
 >  Finally,
 >
 >  I have tried:
 >
 >  Vista + Cygwin +NS-2 + Eclipse
 >
 >  but the BEST is:
 >
 >  VirtualBox + Ubuntu 7.10 + NS-2 + Eclipse (or gedit and make)
 >
 >  With this last package everything runs smooth and easy.
 >
 >
 >  Sidney Doria
 >
 >
 >  2007/10/21, Azim <[EMAIL PROTECTED]>:
 >
 >
 > >
 >  > Hi all,
 >  >
 >  > I am new in eclipse. I am using cygwin (g++) for compile and my ns-2.31 is
 >  > in /usr/local directory.
 >  >
 >  > But I am not getting how can I write new protocol like ping.cpp in eclipse
 >  > and compile NS-2.
 >  >
 >  > If anyone give me any idea, it would be very helpful for me.
 >  >
 >  > Regards
 >  > Azim
 >  >
 >
 >
 >  --
 >  Sidney Doria
 >  Redes ad hoc móveis
 >  Mestrado em Computação
 >  UFCG
 >  Brasil
 >
 >  "Nessa jornada, o conhecimento será o seu escudo..."
 >  (Mestre dos Magos no episódio do grimoire de ouro)
 >
 >



[ns] reminder: CFP for Workshop on ns-2 (WNS2)

2008-05-02 Thread Lloyd Wood



...and heeere's the monthly reminder about this year's workshop on ns-2!

WNS2, the Workshop on ns2 (and -3) that is the ns event of the year, is this 
October in Athens, Greece, home of the classics, philosophy, democracy and 
olives.
http://www.wns2.org/
http://www.wns2.org/docs/wns2-2008-call-for-papers.pdf

WNS2 part of Valuetools 2008, and is taking place in Athens the same week as 
the Internet Measurement Conference.
http://www.imconf.net/imc-2008/cfp.html

WNS2 is in association with ACM, and papers will be archived in the ACM library.

Do submit your papers! You have until 25 May to upload a full paper via 
http://www.cocus.info (Cocus - a Greek Titan.)

L.

for the WNS2 co-chairs.