This is probably a namespace issue. All AODV code is wrapped in an
'aodv' namespace within namespace 'ns3'. Most ns-3 code is not like
this (most ns-3 code is within the 'ns3' namespace) but a few modules
have defined their own namespace.
To use that AODV code in another namespace, you should preface the names
of the methods with 'aodv::', such as 'aodv::RoutingProtocol' instead
of simply 'RoutingProtocol'.
> <
http://libns3.35-GROP-debug.so>: undefined
> reference to `GzrpPacket::~GzrpPacket()'
However, the above missing reference is not related to AODV; perhaps you
are missing a destructor.
- Tom
On 7/6/22 01:09, Vipin Maurya wrote:
> #name -. NS3
>
> On Wed, Jul 6, 2022, 1:38 PM Vipin Maurya <
vipinma...@gmail.com
> <mailto:
vipinma...@gmail.com>> wrote:
>
> Hello ,
> Yes i reconfigure the name after changing the script and after that
> when i do : ./waf build
> It shows same error .
>
>
> On Wed, Jul 6, 2022, 1:05 PM Soulimane Mammar
> <
souliman...@gmail.com <mailto:
souliman...@gmail.com>> wrote:
>
> Hi,
> Have you reconfigured ns3 after changing the wscript? because
> you should
> $ ./waf configure
>
> Regards
>
> On Wed, Jul 6, 2022 at 6:47 AM Vipin Maurya
> <
vipinma...@gmail.com <mailto:
vipinma...@gmail.com>>
> wrote:
>
> Hello Mr. Souliman ,
> Thanks for your reply ,
> As you suggest i specify aodv dependency in my module but it
> still shows same error the error file scree shot and wscript
> file i attach below .
> Please help me regarding this.
>
> On Wednesday, July 6, 2022 at 1:33:32 AM UTC+5:30
>
souliman...@gmail.com <mailto:
souliman...@gmail.com> wrote:
>
> Hi,
>
> This is a linking problem
> In the wscript corresponding to your new module you
> probably need to specify aodv as a dependency like
> bld.create_ns3_module('GROP', ['network','aodv'])
>
> Regards
>
>
> On Tue, Jul 5, 2022 at 7:14 PM Vipin Maurya
> <
vipinma...@gmail.com> wrote:
>
> Hi Mr. Souliman,
> I am also facing same type of problem and i am doing
> $ cd /home/ns-allinone-3.34/ns-3.34/
> $ ./waf build
> these steps but it still shows same error.
> /usr/bin/ld: lib/
libns3.35-GROP-debug.so
> <
http://libns3.35-GROP-debug.so>: undefined
> <
http://libns3.35-GROP-debug.so>: undefined
> reference to
> `RoutingProtocol::send(ns3::Ptr<ns3::Ipv4Route>,
> ns3::Ptr<ns3::Packet const>, ns3::Ipv4Header const&)'
> /usr/bin/ld: lib/
libns3.35-GROP-debug.so
> <
http://libns3.35-GROP-debug.so>: undefined
> <
http://libns3.35-GROP-debug.so>: undefined
> <
http://libns3.35-GROP-debug.so>: undefined
> <
https://github.com/IrfanJabandzic/MfTDMA-ns-3>
> lib/
libns3.34-energy-debug.so <
http://libns3.34-energy-debug.so/>:
> undefined reference to
> `ns3::ArpCache::Entry::IsExpired()
> const'
> /usr/bin/ld:
> lib/
libns3.34-energy-debug.so <
http://libns3.34-energy-debug.so/>:
> undefined reference to
> `ns3::ArpCache::Entry::GetMacAddress()
> const'
> /usr/bin/ld:
> lib/
libns3.34-energy-debug.so <
http://libns3.34-energy-debug.so/>:
> undefined reference to
> `ns3::ArpCache::Lookup(ns3::Ipv4Address)'
> /usr/bin/ld:
> lib/
libns3.34-energy-debug.so <
http://libns3.34-energy-debug.so/>:
> undefined reference to
> `typeinfo for
> ns3::WifiMacHeader'
> /usr/bin/ld:
> lib/
libns3.34-energy-debug.so <
http://libns3.34-energy-debug.so/>:
> undefined reference to
> `ns3::ArpCache::Entry::IsAlive()'
> /usr/bin/ld:
> lib/
libns3.34-energy-debug.so <
http://libns3.34-energy-debug.so/>:
> undefined reference to
> `ns3::ArpCache::Entry::IsPermanent()'
> /usr/bin/ld:
> lib/
libns3.34-energy-debug.so <
http://libns3.34-energy-debug.so/>:
> <
https://groups.google.com/d/msgid/ns-3-users/6097ce5b-89b9-4ea2-9bc8-befe176c3845n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
https://groups.google.com/d/msgid/ns-3-users/44db34c5-0f98-48f5-b73e-f01036479758n%40googlegroups.com
> <
https://groups.google.com/d/msgid/ns-3-users/44db34c5-0f98-48f5-b73e-f01036479758n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <mailto:
ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ns-3-users/4438eea1-92d2-4121-ab7d-ccc381fa29fbn%40googlegroups.com
> <
https://groups.google.com/d/msgid/ns-3-users/4438eea1-92d2-4121-ab7d-ccc381fa29fbn%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <mailto:
ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ns-3-users/CAMMLk4ZNTZR6fVLAm1i2GWwWvz0cQJSxNi0GsjVVPtvb6CN0aw%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ns-3-users/CAMMLk4ZNTZR6fVLAm1i2GWwWvz0cQJSxNi0GsjVVPtvb6CN0aw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> <mailto:
ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ns-3-users/CA%2BxAxuw2oQRqMUp_JLhGx7xn%2Bci%2BuNj%2BsCo2sXtkgr19siLO9A%40mail.gmail.com
> <
https://groups.google.com/d/msgid/ns-3-users/CA%2BxAxuw2oQRqMUp_JLhGx7xn%2Bci%2BuNj%2BsCo2sXtkgr19siLO9A%40mail.gmail.com?utm_medium=email&utm_source=footer>.