Bug #1836
closedInstallation issue in Boost library
0%
Description
/libndn-cxx.a(time.cpp.2.o):in function ‘ndn::time::toIsoString(boost::chrono::time_point<boost::chrono::system_clock, boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> > > const&)’:
/home/hengheng/ndn-cxx/build/../src/util/time.cpp:32:‘boost::chrono::system_clock::to_time_t(boost::chrono::time_point<boost::chrono::system_clock, boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> > > const&)’undefined reference
So anyone could tell me what is the problem~ thanks
i used libboost 1.54
Files
Updated by Junxiao Shi about 10 years ago
- Description updated (diff)
- Category set to Base
- Target version set to v0.2
This is likely a linking issue. Please attach the complete output for ./waf configure
command, and build/config.log
file.
Updated by hengyang zhang about 10 years ago
- File config.log config.log added
Thanks vry mch, this is the config log, no bug report anyway.
Updated by hengyang zhang about 10 years ago
Setting top to : /home/hengheng/ndn-cxx
Setting out to : /home/hengheng/ndn-cxx/build
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking allowed flags for c++ compiler : -std=c++03 -pedantic -Wall -Wno-long-long -Wno-unneeded-internal-declaration -O2 -g
Checking for program 'doxygen' : /usr/bin/doxygen
Checking for program 'tar' : /bin/tar
Checking for program 'sphinx-build' : /usr/local/bin/sphinx-build
Checking for program 'sh' : /bin/sh
Checking for library pthread : yes
Checking for library rt : yes
Checking for compiler flags ['-fPIC'] : yes
Checking for OpenSSL library : yes
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for 'sqlite3' : yes
Checking Crypto++ lib : 561
Checking if CryptoPP library works : yes
Checking boost includes : 1.54.0
Checking boost libs : ok
Checking for boost linkage : ok
'configure' finished successfully (1.197s)
Updated by Alex Afanasyev about 10 years ago
Is this Ubuntu 14.04 or something else?
When exactly you're encountering this error? Is it during the library compilation or at some other stage?
Please also provide full error, including the last line, which shows all the compilation flags at the point of the error.
Updated by hengyang zhang about 10 years ago
Alex Afanasyev wrote:
Is this Ubuntu 14.04 or something else?
When exactly you're encountering this error? Is it during the library compilation or at some other stage?
Please also provide full error, including the last line, which shows all the compilation flags at the point of the error.
yes, this is the ubuntu 14.04 lts indeed~
i think the problem may occur in the library support~ Thanks A lot for your effort!
this is the error message:
Build failed
-> task in 'tlvdump' failed (exit status 1):
{task 140258546626192: cxxprogram tlvdump.cpp.4.o -> tlvdump}
['/usr/bin/g++', 'tools/tlvdump.cpp.4.o', '-o', '/home/hengheng/ndn-cxx/build/tools/tlvdump', '-Wl,-Bstatic', '-L.', '-lndn-cxx', '-Wl,-Bdynamic', '-L/usr/lib/x86_64-linux-gnu', '-L/usr/lib', '-lboost_system', '-lboost_filesystem', '-lboost_date_time', '-lboost_iostreams', '-lboost_regex', '-lboost_program_options', '-lboost_chrono', '-lboost_random', '-lssl', '-lcrypto', '-lcryptopp', '-lsqlite3', '-lrt', '-lpthread']
-> task in 'ndnsec' failed (exit status 1):
Updated by Alex Afanasyev about 10 years ago
The only reason of the error I can think of is that you may have multiple versions of boost libraries installed. We are continuously testing builds on 14.04, I did it personally many times, and never had such an error.
You can install library from PPA, if that is an option: http://named-data.net/doc/NFD/current/FAQ.html#how-to-start-using-ndn-ppa-repository-on-ubuntu-linux
Updated by hengyang zhang about 10 years ago
ok, the only reason for me to think out is also the boost libraries problems. For the start, i change some path for searching the boost library so as to let the build process get going. But after that, the upper error emerged! Thanks all the way for your help~~~~~~
Updated by Junxiao Shi about 10 years ago
- Tracker changed from Task to Bug
- Status changed from New to Rejected
According to note-8, this is a user environment issue, therefore I'm rejecting this Bug.
If @Hengyang is still having problems, please reopen this Bug.
Updated by hengyang zhang about 10 years ago
Junxiao Shi wrote:
According to note-8, this is a user environment issue, therefore I'm rejecting this Bug.
If @Hengyang is still having problems, please reopen this Bug.
ok Thanks a lot