[ndnSIM] compiling error

Alex Afanasyev alexander.afanasyev at ucla.edu
Tue Jul 16 22:24:29 PDT 2013


This one looks like some system problem related python bindings (which are optional). You should be able to successfully compile if you disable them:

./waf configure --disable-python
./waf

---
Alex

On Jul 16, 2013, at 10:19 PM, 李孟涵 <limenghan1101 at gmail.com> wrote:

> Hi Alex,
> 
> Today I updated my ns-3 and ndnSIM code on my ubuntu 12.04, then compiling gave me an error. I forgot if I have updated gcc compiler, and I don't know whether the version of the compiler  can cause this error.
> 
> [1549/2123] cxx: build/src/lte/bindings/ns3module.cc -> build/src/lte/bindings/ns3module.cc.7.o
> g++: internal compiler error: Killed (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/parallels/ndnSIM/ns-3/build'
> Build failed
>  -> task in 'ns3module_lte' failed (exit status 4): 
> 	{task 47737680: cxx ns3module.cc -> ns3module.cc.7.o}
> ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-fvisibility=hidden', '-Wno-array-bounds', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-I.', '-I..', '-Isrc/lte/bindings', '-I../src/lte/bindings', '-I/usr/include/python2.7', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/libxml2', '-I/usr/local/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_DL=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DNDEBUG', '-DNDEBUG', 'src/lte/bindings/ns3module.cc', '-c', '-o', 'src/lte/bindings/ns3module.cc.7.o']
> 
> 
> -- 
> Menghan Li
> Ph.D. Candidate,
> Department of Computer Science and Technology,
> Tsinghua University, Beijing, China.
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list