A problem in building plc module into ns3.16

92 views
Skip to first unread message

y618...@gmail.com

unread,
Jul 5, 2014, 3:51:21 AM7/5/14
to ns-3-...@googlegroups.com
Hi all,
My teammates and I built a power line communication (PLC) module in NS-3.16.we really need some help.I did as the web"https://github.com/ns3-plc-module/plc " said:
  1. Run build configuration with enabled examples and tests (Passed)

./waf --enable-examples --enable-tests configure

2.Build ns-3 module
./waf (some errors during this time)
But when I do the "./waf" job,I saw some errors.It said:'task in 'ns3-plc' in NS3 failed {task 153773612:cxx plc-graph.cc -> plc-graph.cc.1.o}...etc.After searching in the Internet,I think the problem may be in the Boost C++ Library--graph:/usr/include/boost/graph . I have done many works,such as 'sudo apt-get install libboost-all-dev','sudo apt-get update','sudo apt-get upgrade'...
However,it didn't work anymore.
And now,it still can not build well.Has everyone faced the same error.Hope for help. And the screenshot is posted below.Thank you!
error.JPG

Tommaso Pecorella

unread,
Jul 5, 2014, 1:27:38 PM7/5/14
to ns-3-...@googlegroups.com
Hi,

as I said in another post, I'd try to contact the module's author.
The error seems to be due to a mismatch between the boost libraries you have installed and the ones used in the plc module.
As a matter of fact, ns-3 is not the only thing being updated over time. Boost libraries are updated as well, and sometimes APIs are changed.

You could also check if the required boost libraries version is noted somewhere in the plc module docs. In case you find what version is needed, downgrade the boost libraries to that version, eventually compiling them from the sources.

Cheers,

T.

y618...@gmail.com

unread,
Jul 5, 2014, 10:28:54 PM7/5/14
to ns-3-...@googlegroups.com
Thank you,Sir!
在 2014年7月6日星期日UTC+8上午1时27分38秒,Tommaso Pecorella写道:
Reply all
Reply to author
Forward
0 new messages