[Boost-bugs] [Boost C++ Libraries] #4747: mingw linker errors: undefined references

Subject: [Boost-bugs] [Boost C++ Libraries] #4747: mingw linker errors: undefined references
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-18 00:22:43


#4747: mingw linker errors: undefined references
----------------------------------------+-----------------------------------
 Reporter: Jim Bell <jim@…> | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: mingw |
----------------------------------------+-----------------------------------
 The MinGW build fails to link, with fifteen or undefined references as
 such:

 bin.v2\libs\serialization\build\gcc-mingw-4.4.0\release\threading-
 multi\basic_iarchive.o:basic_iarchive.cpp:(.text+0x564): undefined
 reference to `_imp___ZNK5boost13serialization18extended_type_infoltERKS1_'


 Cause: the BOOST_SERIALIZATION_SOURCE flag isn't being set. Note that this
 flag is distinct from BOOST_ARCHIVE_SOURCE.

 The attached patch file modifies the Jamfile.v2 to pass that flag into
 every compilation unit. Maybe that's the final solution, but it resolves
 this issue.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4747>
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:04 UTC