NS-3.26 Build failed

44 views
Skip to first unread message

Kunal Chauhan

unread,
Apr 4, 2020, 2:00:16 PM4/4/20
to ns-3-...@googlegroups.com
Hello,

I am trying to install NS-3.26 however I am unable to build and enable the examples/tests using build.py file.
I am using Ubuntu 18.04 on Oracle Virtual Box.
image.png
Can anyone help me with this?
Thank you
Screenshot from 2020-04-04 13-49-57.png

Tom Henderson

unread,
Apr 4, 2020, 2:08:26 PM4/4/20
to ns-3-...@googlegroups.com, Kunal Chauhan
On 4/4/20 10:59 AM, Kunal Chauhan wrote:
> Hello,
>
> I am trying to install NS-3.26 however I am unable to build and enable
> the examples/tests using build.py file.
> I am using Ubuntu 18.04 on Oracle Virtual Box.
> image.png
> Can anyone help me with this?

That was a syntax bug fixed in later versions of ns-3. Please change
that line (node.cc line 70) to:

TypeId::ATTR_GET | TypeId::ATTR_SET,

- Tom

Jay Patel

unread,
Apr 4, 2020, 2:13:43 PM4/4/20
to ns-3-...@googlegroups.com
Hey,

I think you have newer version of gcc. I think use the gcc5.5, you can have multiple version of gcc in the same system. You can use the most updated information : 

I hope that helps.

Regards,
Jay

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/CANGw84UszvFenorVhN0TYKHGfJXO171u6P5EMJn4JzHhNH85eQ%40mail.gmail.com.
--
With Regards,
Jay Patel

Bashar Hamid

unread,
Jan 28, 2021, 7:00:54 AM1/28/21
to ns-3-users

Thanks Tom Henderson
Reply all
Reply to author
Forward
0 new messages