Aqua-sim-ng build failed on NS-3.29

108 views
Skip to first unread message

Jay Patel

unread,
Jun 26, 2019, 6:30:29 PM6/26/19
to ns-3-users
Hello Everyone,

I am working on UAN in NS3, successfully built Aqua-Sim-Next generation on NS-3.29, but while running the examples had the following error:

In file included from ../src/aqua-sim-ng/model/aqua-sim-phy.h:29:0,
                 from ../src/aqua-sim-ng/model/aqua-sim-net-device.h:38,
                 from ../src/aqua-sim-ng/model/aqua-sim-routing.h:35,
                 from ../src/aqua-sim-ng/model/aqua-sim-routing-vbf.h:24,
                 from ../src/aqua-sim-ng/model/aqua-sim-routing-vbf.cc:21:
../src/aqua-sim-ng/model/aqua-sim-channel.h:67:20: error: conflicting return type specified for ‘virtual uint32_t ns3::AquaSimChannel::GetNDevices() const’
   virtual uint32_t GetNDevices (void) const;
                    ^
In file included from ../src/aqua-sim-ng/model/aqua-sim-channel.h:24:0,
                 from ../src/aqua-sim-ng/model/aqua-sim-phy.h:29,
                 from ../src/aqua-sim-ng/model/aqua-sim-net-device.h:38,
                 from ../src/aqua-sim-ng/model/aqua-sim-routing.h:35,
                 from ../src/aqua-sim-ng/model/aqua-sim-routing-vbf.h:24,
                 from ../src/aqua-sim-ng/model/aqua-sim-routing-vbf.cc:21:
./ns3/channel.h:68:23: error:   overriding ‘virtual std::size_t ns3::Channel::GetNDevices() const’
   virtual std::size_t GetNDevices (void) const = 0;
                       ^

Waf: Leaving directory `/home/jay/Desktop/ns-allinone-3.29/ns-3.29/build'
Build failed
 -> task in 'ns3-aqua-sim-ng' failed with exit status 1:
        {task 140292841097768: cxx aqua-sim-routing-vbf.cc -> aqua-sim-routing-vbf.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../src/aqua-sim-ng/model/aqua-sim-routing-vbf.cc', '-c', '-o/home/jay/Desktop/ns-allinone-3.29/ns-3.29/build/src/aqua-sim-ng/model/aqua-sim-routing-vbf.cc.1.o']

Any help would be appreciated. Thanks

Jay
Error.JPG

Daniel Rodrigues de Luna

unread,
Jun 27, 2019, 3:51:54 PM6/27/19
to ns-3-...@googlegroups.com
As far as I know, AquaSim NG only works with selected versions of ns3. According to the documentation, they are ns3.24, 3.26, and 3.27. However, I am really interested if you can make work with the ns3.29 version. Please let me know, if you succeed.

Thanks

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/a2454b36-08b1-4bf5-ae47-9b5b286b9367%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Manik Chand

unread,
Apr 9, 2020, 4:39:56 PM4/9/20
to ns-3-users
Hii Jay

I hope you get the solution already for your query.
I'm also working in the aqua-sim-Next generation to implement aqua-sim-routing-vbf.cc. I have problem to identify the packet where it first time generated before receiving in Recv() function, so that I could execute this. Please help me regarding this, your help will highly appreciated.

Thanks and Regard
Manik Chand
Reply all
Reply to author
Forward
0 new messages