<div dir="ltr"><div><div><div><div>Hello all,<br><br></div>I am having difficulties compiling ndn-cxx on a Raspberry Pi 3. This is the error it gives me when I run waf after configuring it. What exactly is the issue here?<br></div><br></div>Thanks,<br></div>Anthony Dowling<br><div><div><div><br>pi@car3:~/ndn-cxx$ ./waf configure --boost-libs=/usr/lib/arm-linux-gnueabihf<br>Setting top to                           : /home/pi/ndn-cxx <br>Setting out to                           : /home/pi/ndn-cxx/build <br>Building static library                  : no <br>Building shared library                  : yes <br>Checking for 'g++' (C++ compiler)        : /usr/bin/g++ <br>Checking supported CXXFLAGS              : -std=c++11 <br>Checking supported CXXFLAGS              : -O2 -g -pedantic -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -fdiagnostics-color <br>Checking supported LINKFLAGS             : -fuse-ld=gold -Wl,-O1 <br>Checking for std::to_string              : yes <br>Checking for std::vector::insert with const_iterator : yes <br>Checking for std::is_default_constructible           : yes <br>Checking for std::is_nothrow_move_constructible      : yes <br>Checking for std::is_nothrow_move_assignable         : yes <br>Checking for program 'doxygen'                       : not found <br>Checking for program 'tar'                           : /bin/tar <br>Checking for program 'sphinx-build'                  : not found <br>Checking for program 'sh'                            : /bin/sh <br>Checking for library pthread                         : yes <br>Checking for library rt                              : yes <br>Checking for function getpass                        : yes <br>Checking for rtnetlink                               : yes <br>Checking for IFA_FLAGS                               : yes <br>Checking for program 'pkg-config'                    : /usr/bin/pkg-config <br>Checking for 'sqlite3'                               : yes <br>Checking Crypto++ lib                                : 5.6.1 <br>Checking if CryptoPP library works                   : yes <br>Checking for OpenSSL lib                             : "OpenSSL 1.0.2g-fips  1 Mar 2016" <br>Checking if OpenSSL library works                    : yes <br>Checking boost includes                              : 1.58.0 <br>Checking boost libs                                  : ok <br>Checking the flags needed to use pthreads            : -pthread <br>Checking for boost linkage                           : ok <br>'configure' finished successfully (1m5.645s)<br>pi@car3:~/ndn-cxx$ ./waf<br>Waf: Entering directory `/home/pi/ndn-cxx/build'<br>[ 22/202] Compiling tools/ndnsec/list.cpp<br>[ 24/202] Compiling tools/ndnsec/get-default.cpp<br>[ 25/202] Compiling tools/ndnsec/export.cpp<br>[ 26/202] Compiling tools/ndnsec/cert-gen.cpp<br>g++: internal compiler error: Killed (program cc1plus)<br>Please submit a full bug report,<br>with preprocessed source if appropriate.<br>See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.<br><br>g++: internal compiler error: Killed (program cc1plus)<br>Please submit a full bug report,<br>with preprocessed source if appropriate.<br>See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.<br><br>g++: internal compiler error: Killed (program cc1plus)<br>Please submit a full bug report,<br>with preprocessed source if appropriate.<br>See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.<br><br>g++: internal compiler error: Killed (program cc1plus)<br>Please submit a full bug report,<br>with preprocessed source if appropriate.<br>See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.<br><br>Waf: Leaving directory `/home/pi/ndn-cxx/build'<br>Build failed<br> -> task in '../bin/ndnsec' failed (exit status 4): <br>    {task 1986721712: cxx export.cpp -> export.cpp.1.o}<br>['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-I/home/pi/ndn-cxx/build/tools/ndnsec', '-I/home/pi/ndn-cxx/tools/ndnsec', '-I/home/pi/ndn-cxx/build/src', '-I/home/pi/ndn-cxx/src', '-I/usr/include', '-DNDEBUG', '-DBOOST_LOG_DYN_LINK', '../tools/ndnsec/export.cpp', '-c', '-o', '/home/pi/ndn-cxx/build/tools/ndnsec/export.cpp.1.o']<br> -> task in '../bin/ndnsec' failed (exit status 4): <br>    {task 1986721520: cxx cert-gen.cpp -> cert-gen.cpp.1.o}<br>['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-I/home/pi/ndn-cxx/build/tools/ndnsec', '-I/home/pi/ndn-cxx/tools/ndnsec', '-I/home/pi/ndn-cxx/build/src', '-I/home/pi/ndn-cxx/src', '-I/usr/include', '-DNDEBUG', '-DBOOST_LOG_DYN_LINK', '../tools/ndnsec/cert-gen.cpp', '-c', '-o', '/home/pi/ndn-cxx/build/tools/ndnsec/cert-gen.cpp.1.o']<br> -> task in '../bin/ndnsec' failed (exit status 4): <br>    {task 1986721776: cxx get-default.cpp -> get-default.cpp.1.o}<br>['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-I/home/pi/ndn-cxx/build/tools/ndnsec', '-I/home/pi/ndn-cxx/tools/ndnsec', '-I/home/pi/ndn-cxx/build/src', '-I/home/pi/ndn-cxx/src', '-I/usr/include', '-DNDEBUG', '-DBOOST_LOG_DYN_LINK', '../tools/ndnsec/get-default.cpp', '-c', '-o', '/home/pi/ndn-cxx/build/tools/ndnsec/get-default.cpp.1.o']<br> -> task in '../bin/ndnsec' failed (exit status 4): <br>    {task 1986721968: cxx list.cpp -> list.cpp.1.o}<br>['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-I/home/pi/ndn-cxx/build/tools/ndnsec', '-I/home/pi/ndn-cxx/tools/ndnsec', '-I/home/pi/ndn-cxx/build/src', '-I/home/pi/ndn-cxx/src', '-I/usr/include', '-DNDEBUG', '-DBOOST_LOG_DYN_LINK', '../tools/ndnsec/list.cpp', '-c', '-o', '/home/pi/ndn-cxx/build/tools/ndnsec/list.cpp.1.o']<br>pi@car3:~/ndn-cxx$ <br><br><br><br></div></div></div></div>