Project

General

Profile

Actions

Bug #1507

closed

Build error on FreeBSD 10.0 32-bit

Added by Junxiao Shi over 10 years ago. Updated over 7 years ago.

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

0%

Estimated time:

Description

Dependencies were installed with:

sudo pkg install devel/boost-all security/cryptopp databases/sqlite3 net/libpcap

Environment:

[sjx@a ~]$ uname -a
FreeBSD a.freebsd.ndn-routing.emulab.net 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r254898: Mon Aug 26 17:35:52 MDT 2013     root@node.freebsd10-node.testbed.emulab.net:/usr/obj/repos/src/sys/TESTBED-GENERIC-POLLING-NODEBUG  i386
[sjx@a ~]$ pkg version | grep -E 'boost-all|cryptopp|sqlite3|libpcap'
boost-all-1.55.0                   =
cryptopp-5.6.2_1                   =
libpcap-1.5.2                      =
sqlite3-3.8.4.2                    =
[sjx@a ~]$ g++ -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]

Build error:

[37/72] cxxprogram: build/tools/ndncatchunks3.cpp.1.o -> build/tools/ndncatchunks3
./libndn-cpp-dev.a(certificate.cpp.1.o): In function `CryptoPP::SourceTemplate<CryptoPP::StringStore>::PumpAll2(bool)':
/usr/local/include/cryptopp/filters.h:767: undefined reference to `CryptoPP::BufferedTransformation::TransferAllTo2(CryptoPP::BufferedTransformation&, std::string const&, bool)'
./libndn-cpp-dev.a(certificate.cpp.1.o): In function `CryptoPP::SourceTemplate<CryptoPP::StringStore>::PumpMessages2(unsigned int&, bool)':
/usr/local/include/cryptopp/filters.h:765: undefined reference to `CryptoPP::BufferedTransformation::TransferMessagesTo2(CryptoPP::BufferedTransformation&, unsigned int&, std::string const&, bool)'

(omitted)

./libndn-cpp-dev.a(certificate-subject-description.cpp.1.o): In function `ndn::CertificateSubjectDescription::encode(CryptoPP::BufferedTransformation&) const':
/scratch/NDN-Routing/NFD-code-fbsd/ndn-cpp-dev/build/../src/security/certificate-subject-description.cpp:36: undefined reference to `CryptoPP::DEREncodeTextString(CryptoPP::BufferedTransformation&, std::string const&, unsigned char)'
Waf: Leaving directory `/scratch/NDN-Routing/NFD-code-fbsd/ndn-cpp-dev/build'
Build failed
 -> task in 'ndncatchunks3' failed (exit status 1): 
    {task 689331116: cxxprogram ndncatchunks3.cpp.1.o -> ndncatchunks3}
['/usr/bin/g++', '-L/usr/local/lib', 'tools/ndncatchunks3.cpp.1.o', '-o', '/scratch/NDN-Routing/NFD-code-fbsd/ndn-cpp-dev/build/tools/ndncatchunks3', '-Wl,-Bstatic', '-L.', '-lndn-cpp-dev', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/local/lib', '-lboost_system', '-lboost_filesystem', '-lboost_date_time', '-lboost_iostreams', '-lboost_regex', '-lboost_program_options', '-lboost_chrono', '-lssl', '-lcrypto', '-lcryptopp', '-lsqlite3', '-lrt', '-lpthread']

Similar error occurs if I specify CXX=clang++.


Files

201404210805.out (9.02 KB) 201404210805.out Junxiao Shi, 04/21/2014 08:19 PM
Actions

Also available in: Atom PDF