[Mini-NDN] [EXT] Problems with NLSR

Junxiao Shi shijunxiao at email.arizona.edu
Thu Aug 20 08:52:00 PDT 2020


Hi Carles

If ldconfig cannot solve the problem, it means there are multiple versions
of the library installed.
You need to either delete the other versions, or rebuild a new virtual
machine from scratch.

g++: internal compiler error: Terminado (killed) (program cc1plus)

This usually means there's insufficient RAM. Please allocate 2.5GB per CPU
core.

Yours, Junxiao

On Thu, Aug 20, 2020 at 11:47 AM Carles Sastre Pérez via Mini-NDN <
mini-ndn at lists.cs.ucla.edu> wrote:

> External Email
>
> Hi Junxiao,
>
> Using the command "sudo ldconfig" I have not been able to solve the
> error either.
>
> I have tried to compile the files into the NLSR directory created with
> the installation and I have found the following bug.
>
> carles at ubuntu-virtualBox:~/mini-ndn-project/mini-ndn/ndn-src/NLSR$ ./waf
> -v
> Waf: Entering directory
> `/home/carles/mini-ndn-project/mini-ndn/ndn-src/NLSR/build'
> [ 5/41] Compiling src/route/routing-table-entry.cpp
> 17:21:16 runner ['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall',
> '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter',
> '-fdiagnostics-color', '-std=c++14', '-pthread', '-pthread', '-I.',
> '-I..', '-Isrc', '-I../src', '-I/usr/local/include', '-I/usr/include',
> '-DNDEBUG', '-DBOOST_STACKTRACE_DYN_LINK', '-DBOOST_LOG_DYN_LINK',
> '../src/route/routing-table-entry.cpp', '-c',
>
> '-o/home/carles/mini-ndn-project/mini-ndn/ndn-src/NLSR/build/src/route/routing-table-entry.cpp.2.o']
> [ 6/41] Compiling src/lsdb.cpp
> 17:21:16 runner ['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall',
> '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter',
> '-fdiagnostics-color', '-std=c++14', '-pthread', '-pthread', '-I.',
> '-I..', '-Isrc', '-I../src', '-I/usr/local/include', '-I/usr/include',
> '-DNDEBUG', '-DBOOST_STACKTRACE_DYN_LINK', '-DBOOST_LOG_DYN_LINK',
> '../src/lsdb.cpp', '-c',
>
> '-o/home/carles/mini-ndn-project/mini-ndn/ndn-src/NLSR/build/src/lsdb.cpp.2.o']
> [34/41] Compiling src/communication/sync-protocol-adapter.cpp
> 17:21:21 runner ['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall',
> '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter',
> '-fdiagnostics-color', '-std=c++14', '-pthread', '-pthread', '-I.',
> '-I..', '-Isrc', '-I../src', '-I/usr/local/include', '-I/usr/include',
> '-DNDEBUG', '-DBOOST_STACKTRACE_DYN_LINK', '-DBOOST_LOG_DYN_LINK',
> '../src/communication/sync-protocol-adapter.cpp', '-c',
>
> '-o/home/carles/mini-ndn-project/mini-ndn/ndn-src/NLSR/build/src/communication/sync-protocol-adapter.cpp.2.o']
> g++: internal compiler error: Terminado (killed) (program cc1plus)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
>
> Waf: Leaving directory
> `/home/carles/mini-ndn-project/mini-ndn/ndn-src/NLSR/build'
> Build failed
>  -> task in 'nlsr-objects' failed with exit status 4:
> {task 140368718280296: cxx lsdb.cpp -> lsdb.cpp.2.o}
> ['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra',
> '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color',
> '-std=c++14', '-pthread', '-pthread', '-I.', '-I..', '-Isrc',
> '-I../src', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG',
> '-DBOOST_STACKTRACE_DYN_LINK', '-DBOOST_LOG_DYN_LINK',
> '../src/lsdb.cpp', '-c',
>
> '-o/home/carles/mini-ndn-project/mini-ndn/ndn-src/NLSR/build/src/lsdb.cpp.2.o']
>
> Do you have any reason why the error appears when I use the command
> "nlsrc" on a topology?
>
> A greeting and thanks in advance,
>
> Carles
>
> El jue., 20 ago. 2020 a las 13:13, Junxiao Shi
> (<shijunxiao at email.arizona.edu>) escribió:
> >
> > sudo ldconfig
> >
> > On Thu, Aug 20, 2020 at 06:13 Carles Sastre Pérez via Mini-NDN <
> mini-ndn at lists.cs.ucla.edu> wrote:
> >>
> >> External Email
> >>
> >>
> >>
> >> Hi Mini-NDN teams,
> >>
> >>
> >>
> >> I am having some problems with the Nlsrc command. When I load a
> >>
> >> certain topology into Mini-NDN, it loads it correctly but when
> >>
> >> performing the command that I mentioned above I get the following
> >>
> >> error.
> >>
> >>
> >>
> >> mini-ndn> a nlsrc status
> >>
> >> nlsrc: symbol lookup error: nlsrc: undefined symbol:
> _ZNK3ndn4Data10getContentEv
> >>
> >>
> >>
> >> I have tried completely reinstalling Mini-NDN again and deleting the
> >>
> >> NLSR folder to reinstall again but it still gives me the same
> >>
> >> problems.
> >>
> >>
> >>
> >> I have searched for information about the problem that happens to me
> >>
> >> but I have not found any solution other than reinstalling the program.
> >>
> >> Could you please help me to solve the problem? Any help will be
> >>
> >> appreciated.
> >>
> >>
> >>
> >> Thank you in advance.
> >>
> >>
> >>
> >> Regards,
> >>
> >>
> >>
> >> Carles
> >>
> >> _______________________________________________
> >>
> >> Mini-NDN mailing list
> >>
> >> Mini-NDN at lists.cs.ucla.edu
> >>
> >> http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
> >>
> >>
> >>
> _______________________________________________
> Mini-NDN mailing list
> Mini-NDN at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20200820/9dd35a5e/attachment.html>


More information about the Mini-NDN mailing list