Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-19 Thread Christos Gavos

In fact is not the enable-debug itself but -Wall in yout CCOPT

CCOPT   = -Wall


On 2/20/07, Christos Gavos <[EMAIL PROTECTED]> wrote:
> I believe you get these warnings because you have configure with
> --enable-debug. If you try to reconfigure without debug support these
> should go away.
>
> hope that helps.
>
> Cheers,
> Christos
>
>
> On 2/13/07, Ramon Aguero <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > Ok, I'm glad that you solved the problems related to the extension. I don't
> > really know how to address these warnings or whether they are relevant (at
> > least the virtual destructor one should not).
> >
> > Cheers,
> > Ramón
> >
> > At 13:25 13/02/2007, Nguyen Lan wrote:
> > >Hello Ramon et al,
> > >
> > >My problem is that I declared nIfaces, targetlist and ifqueuelist in the
> > >aodv.h file but out of the class declaration. Now I can recompile ns but I
> > >still had many many warnings like that
> > >
> > >/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tracedvar.h:49: warning:
> > >'class TracedVar' has virtual functions but non-virtual destructor
> > >/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tracedvar.h:87: warning:
> > >'class TracedInt' has virtual functions but non-virtual destructor
> > >/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tracedvar.h:130: warning:
> > >'class TracedDouble' has virtual functions but non-virtual destructor
> > >
> > >common/scheduler.h:71: warning: 'class Handler' has virtual functions but
> > >non-virtual destructor
> > >common/ip.cc: In member function 'virtual void
> > >IPHeaderClass::export_offsets()':
> > >common/ip.cc:53: warning: invalid access to non-static data member
> > >'hdr_ip::src_' of NULL object
> > >common/ip.cc:53: warning: (perhaps the 'offsetof' macro was used 
> > >incorrectly)
> > >common/ip.cc:54: warning: invalid access to non-static data member
> > >'hdr_ip::dst_' of NULL object
> > >common/ip.cc:54: warning: (perhaps the 'offsetof' macro was used 
> > >incorrectly)
> > >common/ip.cc:55: warning: invalid access to non-static data member
> > >'hdr_ip::ttl_' of NULL object
> > >common/ip.cc:55: warning: (perhaps the 'offsetof' macro was used 
> > >incorrectly)
> > >common/ip.cc:56: warning: invalid access to non-static data member
> > >'hdr_ip::fid_' of NULL object
> > >common/ip.cc:56: warning: (perhaps the 'offsetof' macro was used 
> > >incorrectly)
> > >common/ip.cc:57: warning: invalid access to non-static data member
> > >'hdr_ip::prio_' of NULL object
> > >common/ip.cc:57: warning: (perhaps the 'offsetof' macro was used 
> > >incorrectly)
> > >
> > >Any idea about this is welcome.
> > >
> > >Cheers,
> > >Nguyen.
> > >
> > >Nguyen Lan wrote:
> > >>Hello,
> > >>
> > >>I have not declared them in common/packet.h. The only place I put them in
> > >>is aodv.h (as in the document). I think this problem came from other
> > >>place and I should read the document carefully but now I don't know yet.
> > >>Thank you very much.
> > >>
> > >>Cheers,
> > >>Nguyen
> > >>
> > >>Ramon Aguero wrote:
> > >>>Hello,
> > >>>
> > >>>Why have you declared nIfaces, targetlist and ifqueuelist in
> > >>>common/packet.h?
> > >>>
> > >>>Cheers,
> > >>>Ramón
> > >>>
> > >>>At 07:34 06/02/2007, Nguyen Lan wrote:
> > >>>>Hi Ramon and all,
> > >>>>
> > >>>>After following the document when I recompile ns I got this error.
> > >>>>Maybe I was wrong some where
> > >>>>
> > >>>>aodv/aodv.o:/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tclcl.h:60:
> > >>>>multiple definition of `nIfaces'
> > >>>>aodv/aodv_logs.o:./common/packet.h:413: first defined here
> > >>>>aodv/aodv.o:./aodv/aodv_packet.h:161: multiple definition of 
> > >>>>`targetlist'
> > >>>>aodv/aodv_logs.o:./common/packet.h:353: first defined here
> > >>>>aodv/aodv.o:aodv/aodv.cc:65: multiple definition of `ifqueuelist'
> > >>>

[ns] Is License scheme of NS2 appropriate for generating IP?

2006-02-16 Thread Christos Gavos

Dear all,

  I am involved in a research project with a company generating
Intellectual Property (IP). The research provider does not have any
previous experience with NS2 and what they asked me to do is to find
out if the licensing scheme is appropriate for their purpose (IP
generation). Their concern is that usage of NS2 it might render the IP
filling inappropriate.

  As far as I understand the NS2 is distributed under a combination
of Apache v2.0, GPL and BSD licenses (point taken from sourceforge)
because the contributions made by different organizations. Every
organization contributes its source code under its terms.

My questions are

* are these licenses IP friendly (suitable for IP generation)?

* are these 3 licenses apply to the allinone package as a whole or the
ns-2.29 itself?"

* Is there an easy way to extract all the different licenses from the
source code or is it summarized somewhere?

Could someone point me to the right direction on where I can finding
more information about this matter.

Best regards,
Christos Gavos