[Nfd-dev] Fwd: ndn-cxx error on CentOs

Lan Wang (lanwang) lanwang at memphis.edu
Wed May 7 11:01:01 PDT 2014


One of my students is trying to install nfd and ndn-cxx on CentOS (we have several Ubuntu nodes installed already).  Below are some errors he ran into.  I know CentOS is not supported yet.  If this problem is something fixable, then we'd like to know how.

Begin forwarded message:

From: "Ashlesh Gawande (agawande)" <agawande at memphis.edu<mailto:agawande at memphis.edu>>
Subject: ndn-cxx error on CentOs
Date: May 7, 2014 11:49:52 AM CDT
To: "Lan Wang (lanwang)" <lanwang at memphis.edu<mailto:lanwang at memphis.edu>>

I installed boost successfully on centOS (it was missing bzip2 devel)

This is the error I get while installing :

[37/72] cxxprogram: build/tools/ndncatchunks3.cpp.1.o -> build/tools/ndncatchunks3
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `exists':
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `remove':
/usr/local/include/boost/filesystem/operations.hpp:496: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `exists':
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `remove':
/usr/local/include/boost/filesystem/operations.hpp:496: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `operator/':
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `path<char*>':
/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path::codecvt()'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `operator/':
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `create_directories':
/usr/local/include/boost/filesystem/operations.hpp:399: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `operator=<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >':
/usr/local/include/boost/filesystem/path.hpp:202: undefined reference to `boost::filesystem::path::codecvt()'
./libndn-cxx.a(config-file.cpp.1.o): In function `path<char*>':
/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path::codecvt()'
./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':
/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:58: undefined reference to `boost::filesystem::path::operator/=(char const*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `exists':
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `current_path':
/usr/local/include/boost/filesystem/operations.hpp:429: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':
/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:61: undefined reference to `boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)'
/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:67: undefined reference to `boost::filesystem::path::operator/=(char const*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `exists':
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `current_path':
/usr/local/include/boost/filesystem/operations.hpp:429: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':
/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:71: undefined reference to `boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)'
./libndn-cxx.a(config-file.cpp.1.o): In function `exists':
/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `current_path':
/usr/local/include/boost/filesystem/operations.hpp:429: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)'
./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':
/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:78: undefined reference to `boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)'
./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `path<char*>':
/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path::codecvt()'
./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `operator/':
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `create_directories':
/usr/local/include/boost/filesystem/operations.hpp:399: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'
./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `operator/':
/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
collect2: ld returned 1 exit status

Ashlesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140507/024e969c/attachment.html>


More information about the Nfd-dev mailing list