Error while building ns3.33 on ubuntu 20 LTS

32 views
Skip to first unread message

santhosh R

unread,
May 26, 2021, 6:40:52 AM5/26/21
to ns-3-users
Hello everyone, I am new to ns3 and was trying to install it on my machine. I followed all the steps to install the software but encountered an error while building (command: ./build.py --enable-examples --enable-tests). I could not understand the error and have no idea what is wrong. I have attached the error bellow, please take a look and help me with this.
Thank youScreenshot from 2021-05-26 14-46-07.png

Tom Henderson

unread,
May 26, 2021, 10:17:03 AM5/26/21
to ns-3-...@googlegroups.com, santhosh R
On 5/26/21 3:40 AM, santhosh R wrote:
> Hello everyone, I am new to ns3 and was trying to install it on my
> machine. I followed all the steps to install the software but
> encountered an error while building (command: ./build.py
> --enable-examples --enable-tests). I could not understand the error and
> have no idea what is wrong. I have attached the error bellow, please
> take a look and help me with this.

It looks like you may have modified the example program first.cc to
include support for netanim, but the linker is complaining that it
cannot resolve the references to those symbols, so to fix it, you should
add 'netanim' to the list of library dependencies for that program in
the file examples/tutorial/wscript.
Reply all
Reply to author
Forward
0 new messages