Opened 13 years ago

Closed 13 years ago

#3277 closed Bugs (invalid)

Latest serialization svn update in trunk breaks application build

Reported by: ramon.casellas@… Owned by: Robert Ramey
Milestone: Boost 1.40.0 Component: serialization
Version: Boost 1.39.0 Severity: Not Applicable
Keywords: serialization trunk xm_iarchive build Cc:

Description

Hello

When building from a scratch an application that uses Boost Serialization, the application no longer links. The same application used to build and run fine.

Log: algo_api_algorithm.cpp.o: In function `boost::archive::detail::common_iarchive<boost::archive::xml_iarchive>::find(boost::serialization::extended_type_info const&) const': algo_api_algorithm.cpp:(.text._ZNK5boost7archive6detail15common_iarchiveINS0_12xml_iarchiveEE4findERKNS_13serialization18extended_type_infoE[boost::archive::detail::common_iarchive<boost::archive::xml_iarchive>::find(boost::serialization::extended_type_info const&) const]+0x19): undefined reference to `boost::archive::detail::archive_serializer_map<boost::archive::xml_iarchive>::find(boost::serialization::extended_type_info const&)' collect2: ld returned 1 exit status

Code

boost::asio::ip::tcp::iostream s(topology_server_address, topology_server_port); boost::archive::xml_iarchive ia(s); ia >> BOOST_SERIALIZATION_NVP(database_->g);

g is a boost graph

Ubuntu karmic Linux 2.6.31-3-generic #19-Ubuntu SMP Tue Jul 14 16:04:41 UTC 2009 i686 GNU/Linux

gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.0-11ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.0 (Ubuntu 4.4.0-11ubuntu1)

Thanks

Change History (1)

comment:1 by anonymous, 13 years ago

Resolution: invalid
Severity: RegressionNot Applicable
Status: newclosed

it seems that a full rebuild of boost fixed the issue, apologies for the noise

Note: See TracTickets for help on using tickets.