Boost logo

Boost Users :

From: Markus Ruettimann (toomy_at_[hidden])
Date: 2005-08-07 05:56:00


Hi List
I face an ugly linker error in my really simple program using boost 1.32 on
Linux SUSE9.3 and KDevelop

the line that causes the linker error is:
boost::archive::text_oarchive oa(cout);

error is:
cpptest.o(.gnu.linkonce.t._ZN5boost7archive18text_oarchive_implINS0_13text_oarchiveEED2Ev+0x51):/usr/local/include/boost/archive/text_oarchive.hpp:97:
undefined reference to
`boost::archive::basic_text_oprimitive<_STL::basic_ostream<char,
_STL::char_traits<char> > >::~basic_text_oprimitive

I am linking against
libboost_serialization-gcc.a using "-lboost_serialization-gcc" switch in
KDevelop automake manager.

Am I linking right? Do I miss something?
I realy have tried a lot of settings, allways with the same result.
Can anyone help?

Thanks.
Markus

-- 
 
Ideas don't stay in some minds very long because they don't like
solitary confinement.

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