[ndnSIM] Build failed
Alex Afanasyev
alexander.afanasyev at ucla.edu
Wed Jun 12 20:01:39 PDT 2013
This is something interesting, since it is the compiler that is failing with segmentation fault. There is a small chance that your system does not have enough (virtual) memory to finalize the compilation, but I wouldn't be so sure about it.
I can recommend to install clang compiler and try to compile the code with it:
CXX=clang++ ./waf configure <all other options that you originally specified>
./waf
--
Alex
Btw, are you using Ubuntu? If yes, then which version?
On Jun 12, 2013, at 7:57 PM, 陈胜蓝 <blindeafer at 163.com> wrote:
> Hi All,
> When I build in file "ndnSIM-ddos-interest-flooding", it return an error:
>
> g++: internal compiler error: Segmentation fault (program cc1plus)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
> Waf: Leaving directory `/home/lam/ndnSIM/ndnSIM-Stats/build'
> Build failed
> -> task in 'interest-ddos-attack-and-mitigation-scenario' failed (exit status 4):
> {task 160146316: cxx interest-ddos-attack-and-mitigation-scenario.cc -> interest-ddos-attack-and-mitigation-scenario.cc.2.o}
> ['/usr/bin/g++', '-O3', '-g', '-std=c++0x', '-pthread', '-pthread', '-pth! read', '- pthread', '-pthread', '-pthread', '-pthread', '-I/home/lam/ndnSIM/ndnSIM-Stats/build/extensions', '-I/home/lam/ndnSIM/ndnSIM-Stats/extensions', '-I/usr/local/include', '-I/usr/local/include/ns3-dev', '-I/usr/include/libxml2', '-DHAVE_NS3_NDNSIM=1', '-DHAVE_NS3_CORE=1', '-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_INTERNET=1', '-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_TOPOLOGY_READ=1', '-DHAVE_NS3_APPLICATIONS=1', '-DHAVE_NS3_MOBILITY=1', '-DHAVE_NS3_VISUALIZER=1', '-DNS3_LOG_ENABLE=1', '-DNS3_ASSERT_ENABLE=1', '../scenarios/interest-ddos-attack-and-mitigation-scenario.cc', '-c', '-o', 'scenarios/interest-ddos-attack-and-mitigation-scenario.cc.2.o']
>
> How can I resolve it?
>
> Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130612/8eb5ca67/attachment.html>
More information about the ndnSIM
mailing list