|
Boost Users : |
Subject: [Boost-users] [serialization] newbie compilation question
From: lenberman (lenberman_at_[hidden])
Date: 2009-02-20 17:27:12
I've got boost 1.38 built.
When I try to build demo.cpp, it fails. I'm building in the
serialization/examples subdirectory. I think this is a supported
compiler. No doubt I'm doing something very stupid and hopefully very
easy to fix.
Thanks in advance.
--Len
make -k
g++ --version
g++ (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ -g -I/share/space/net-srcs/boost_1_38_0 demo.cpp
In file included from demo.cpp:16:
/share/space/net-srcs/boost_1_38_0/boost/archive/tmpdir.hpp: In function
âchar* boost::archive::tmpdir()â:
/share/space/net-srcs/boost_1_38_0/boost/archive/tmpdir.hpp:42: warning:
deprecated conversion from string constant to âchar*â
/tmp/ccezla7D.o: In function `boost::archive::text_iarchive&
boost::serialization::smart_cast_impl::reference<boost::archive::text_iarchive&>::polymorphic::cross::cast<boost::archive::detail::basic_iarchive>(boost::archive::detail::basic_iarchive&)':
/share/space/net-srcs/boost_1_38_0/boost/serialization/smart_cast.hpp:78:
undefined reference to `typeinfo for boost::archive::detail::basic_iarchive'
/tmp/ccezla7D.o: In function `boost::archive::text_oarchive&
boost::serialization::smart_cast_impl::reference<boost::archive::text_oarchive&>::polymorphic::cross::cast<boost::archive::detail::basic_oarchive>(boost::archive::detail::basic_oarchive&)':
/share/space/net-srcs/boost_1_38_0/boost/serialization/smart_cast.hpp:78:
undefined reference to `typeinfo for boost::archive::detail::basic_oarchive'
/tmp/ccezla7D.o: In function `~iserializer':
/share/space/net-srcs/boost_1_38_0/boost/archive/detail/iserializer.hpp:141:
undefined reference to
`boost::archive::detail::basic_iserializer::~basic_iserializer()'
/share/space/net-srcs/boost_1_38_0/boost/archive/detail/iserializer.hpp:141:
undefined reference to
`boost::archive::detail::basic_iserializer::~basic_iserializer()'
...
more errors
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net