Project

General

Profile

Actions

Bug #1836

closed

Installation issue in Boost library

Added by hengyang zhang over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
Start date:
08/09/2014
Due date:
% Done:

0%

Estimated time:

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

config.log (22.1 KB) config.log hengyang zhang, 08/09/2014 06:55 PM
Actions #1

Updated by Junxiao Shi over 9 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.

Actions #2

Updated by hengyang zhang over 9 years ago

Thanks vry mch, this is the config log, no bug report anyway.

Actions #3

Updated by hengyang zhang over 9 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)
Actions #4

Updated by Alex Afanasyev over 9 years ago

  • Description updated (diff)
Actions #5

Updated by Alex Afanasyev over 9 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.

Actions #6

Updated by hengyang zhang over 9 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): 
Actions #7

Updated by Alex Afanasyev over 9 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

Actions #8

Updated by hengyang zhang over 9 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~~~~~~

Actions #9

Updated by Junxiao Shi over 9 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.

Actions #10

Updated by hengyang zhang over 9 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

Actions

Also available in: Atom PDF