[ndnSIM] error

Alex Afanasyev aa at CS.UCLA.EDU
Fri Dec 23 15:30:21 PST 2016


> On Dec 23, 2016, at 2:48 PM, sepehr abdous <sepehrabdous1375 at gmail.com> wrote:
> 
> I deleted the folder using:
> sudo rm -r /usr/include/boost
> and then again used the following command in boost folder:
> sudo ./b2 --prefix=/usr/local install
> 
> then again I tried ./waf configure and then ./waf

Have you run `./waf clean` (or `./waf distclean`) prior to that?  Otherwise, the build system may not have properly recompiled the files.

--
Alex

> but again I got the following error:
> 
> [2430/2504] Linking build/bindings/python/ns/mesh.so
> ./libns3-dev-ndnSIM-debug.so: undefined reference to `boost::re_detail_106200::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
> ./libns3-dev-ndnSIM-debug.so: undefined reference to `boost::re_detail_106200::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match()'
> collect2: error: ld returned 1 exit status
> 
> ./libns3-dev-ndnSIM-debug.so: undefined reference to `boost::re_detail_106200::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
> ./libns3-dev-ndnSIM-debug.so: undefined reference to `boost::re_detail_106200::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match()'
> collect2: error: ld returned 1 exit status
> 
> 
> 
> 
> On Sun, Dec 18, 2016 at 10:27 AM, Alex Afanasyev <aa at cs.ucla.edu <mailto:aa at cs.ucla.edu>> wrote:
> If you installed boost libraries from source, then you have to make sure you don't have boost development packages installed (in particular, you should not have /usr/include/boost folder).  Otherwise, there will interfere and you will not be able to compile.
> 
> --
> Alex
> 
>> On Dec 14, 2016, at 12:19 AM, sepehr abdous <sepehrabdous1375 at gmail.com <mailto:sepehrabdous1375 at gmail.com>> wrote:
>> 
>> yes I did as it was mentioned in the stated link, I followed its steps and upgraded the boost libraries.
>> what should I do to make it ok?
>> 
>> On Tue, Dec 13, 2016 at 4:47 AM, Alex Afanasyev <aa at cs.ucla.edu <mailto:aa at cs.ucla.edu>> wrote:
>> Have you recently upgraded the installed version of boost libraries?  The error suggest a mismatch between headers and binaries of the boost libraries.
>> 
>> --
>> Alex
>> 
>> > On Dec 12, 2016, at 3:53 PM, sepehr abdous <sepehrabdous1375 at gmail.com <mailto:sepehrabdous1375 at gmail.com>> wrote:
>> >
>> > Hello all,
>> > I'm trying to install the latest version of ndnSIM using the following link:
>> > https://ndnsim.net/2.3/getting-started.html <https://ndnsim.net/2.3/getting-started.html>
>> > I did every step but when I tried :
>> > ./waf
>> > I encountered an error:
>> >
>> > ./libns3-dev-ndnSIM-debug.so: undefined reference to `boost::re_detail_106200::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
>> > ./libns3-dev-ndnSIM-debug.so: undefined reference to `boost::re_detail_106200::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match()'
>> > collect2: error: ld returned 1 exit status
>> >
>> >
>> > any idea how to handle it?
>> > thank you
>> 
>> 
>> 
>> 
>> -- 
>> Sepehr Abdous
>> Faculty: abdous at ce.sharif.edu <mailto:abdous at ce.sharif.edu>
>> Yahoo mail: sepehrabdous at yahoo.com <mailto:sepehrabdous at yahoo.com>
>> Cellphone:+989194030591
>> School of computer engineering
>> Sharif University of Technology
>> Tehran, Iran
> 
> 
> 
> 
> -- 
> Sepehr Abdous
> Faculty: abdous at ce.sharif.edu <mailto:abdous at ce.sharif.edu>
> Yahoo mail: sepehrabdous at yahoo.com <mailto:sepehrabdous at yahoo.com>
> Cellphone:+989194030591
> School of computer engineering
> Sharif University of Technology
> Tehran, Iran

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161223/42668845/attachment.html>


More information about the ndnSIM mailing list