Subject: [Boost-bugs] [Boost C++ Libraries] #3802: link error happens to demo_portable_archive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-29 07:02:10
#3802: link error happens to demo_portable_archive
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner:
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: None
Version: Boost 1.41.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
I download boost 1.41.0 src to Debian sid. After compiling and installing
the library successfully, I tried to build the demo_portable_binary which
locates libs/serialization/example.
compilation is ok, but I'm unable to link it.
link cmd:
g++ -o /tmp/demo_portable_archive /tmp/portable_binary_*.o
/tmp/demo_portable_archive.o -lboost_serialization -L/usr/local/lib
Here is the error msg:
demo_portable_archive.cpp:(.text._ZNK5boost7archive6detail15common_iarchiveI24portable_binary_iarchiveE4findERKNS_13serialization18extended_type_infoE[boost::archive::detail::common_iarchive<portable_binary_iarchive>::find(boost::serialization::extended_type_info
const&) const]+0xd): undefined reference to
`boost::archive::detail::archive_serializer_map<portable_binary_iarchive>::find(boost::serialization::extended_type_info
const&)'
collect2: ld returned 1 exit status
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3802> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC