[Ns-developers] ns-3-nsc sysctl attribute support
Florian Westphal
fw at strlen.de
Mon Jul 7 13:50:29 PDT 2008
Mathieu Lacage <mathieu.lacage at sophia.inria.fr> wrote:
> > debug/ns3/type-id.h: In member function `ns3::TypeId ns3::TypeId::SetParent() [with T = ns3::Ns3NscStack]':
> > ../src/internet-stack/nsc-sysctl.cc:90: instantiated from here
> > debug/ns3/type-id.h:404: error: cannot call member function `ns3::TypeId ns3::Ns3NscStack::GetTypeId()' without object
>
> ah. I see :) GetTypeId must be static. That might solve the other
> problem you saw above.
Right. Now it compiles fine, but the runtime error is the same.
I've pushed this to
http://hg.strlen.de/cgi-bin/hgwebdir.cgi/ns-3-nsc-test/
(patch is http://hg.strlen.de/cgi-bin/hgwebdir.cgi/ns-3-nsc-test/rev/76da0b866202)
Thanks, Florian
More information about the Ns-developers
mailing list