could not build ns3-lbt for multiple interfaces simulation

39 views
Skip to first unread message

Laura Michaella Ribeiro

unread,
Feb 4, 2020, 8:50:30 PM2/4/20
to ns-3-users
Hello, everyone!

I need to develop a simulation, which each node has multiple interfaces like 802.11p (wave) + 802.11n (wifi), and  switch between the interfaces, during the simulation, evaluating the network parameters and what happen when i switch between interfaces

I have doing a reseach about how can i do this using ns-3, and i found this ns3-lbt module http://code.nsnam.org/laa/ns-3-lbt/summary.

I followed these steps:

1.  I accessed http://code.nsnam.org/laa/ns-3-lbt/summary and clicked in bz2 for download.
2. At terminal, tar xjf ns-3-lbt-31555ff7be4a
3. open this workspace, cd ns-3-lbt-31555ff7be4a
4. ./waf configure --build-profile=debug --enable-examples --enable-tests
5. ./waf build

But, I get these attached errors, I already reinstall the gtk-2.0 and  essential, but it doesn't work. I'm using ubuntu 18.04.3 LTS.

Anyone, could help me, please?
Captura de tela de 2020-02-04 22-31-19.png

Laura Michaella Ribeiro

unread,
Feb 10, 2020, 12:49:56 AM2/10/20
to ns-3-users
 Hi, friends!

Finally, I runned. It works! I tried to run that because this ns-3 version has examples of laa-wifi-coexistence, the ns-3.30.1 doesn't have!

Anyway, if anyone need this, I followed these steps:

2. In the section, "Getting the LBT code"
3. I runned hg clone -u http://code.nsnam.org/laa/ns-3-lbt ~/ns-3-lbt
4.  ./waf -p
5. ./waf configure CXXFLAGS="-w" --enable-tests --enable-examples // For ignore these errors
6. And then, you can run a example like ./waf --run laa-wifi-outdoor

Other alternative is compile using gcc-7 and g++-7 not gcc-9 and g++-9.

I hope this help anyone.

HaoYin

unread,
Feb 10, 2020, 11:07:23 AM2/10/20
to ns-3-users
Hi,


This is an update with ns3-3.30.

Regards

在 2020年2月4日星期二 UTC-8下午5:50:30,Laura Michaella Ribeiro写道:

Laura Michaella Ribeiro

unread,
Feb 13, 2020, 12:07:49 PM2/13/20
to ns-3-users
Thank You for sharing with me!

But, only a advice, the laa-wifi-coexistence don't download automatically, so I went to the ns-3-dev-lbt/src and I runned: git fetch && git checkout laa-wifi-coexistence
and, It works for me!

Regards,
Reply all
Reply to author
Forward
0 new messages