|
Boost Users : |
Subject: [Boost-users] ERROR: `boost::archive::ARCHIVE_VERSION'
From: niranjan bangera (niranjannina_at_[hidden])
Date: 2009-02-25 10:00:47
Hi all,
Boost Version: 1.38.0
==========
Compiler:/_TOOLS_/dist/gnu-gcc-/4.1.1-binutils-2.16.1/x86_64-pc-linux2.4/bin/gcc
======
While running my test case i am getting following ERROR, I know this is
linking Error, Please Help me to remove this.
ERROR:
======
test.o: In function
`boost::serialization::detail::extended_type_info_typeid_0::extended_type_info_typeid_0()':
test.cpp:(.text._ZN5boost13serialization6detail27extended_type_info_typeid_0C2Ev[boost::serialization::detail::extended_type_info_typeid_0::extended_type_info_typeid_0()]+0x7):
undefined reference to
`boost::serialization::detail::extended_type_info_typeid_0::type_info_key'
test.o: In function
`boost::archive::detail::common_iarchive<boost::archive::text_iarchive>::common_iarchive()':
test.cpp:(.text._ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEEC2Ev[boost::archive::detail::common_iarchive<boost::archive::text_iarchive>::common_iarchive()]+0xd):
undefined reference to
`boost::archive::detail::basic_iarchive::basic_iarchive()'
test.o: In function
`boost::archive::detail::common_iarchive<boost::archive::text_iarchive>::init()':
test.cpp:(.text._ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE4initEv[boost::archive::detail::common_iarchive<boost::archive::text_iarchive>::init()]+0x2f):
undefined reference to `boost::archive::ARCHIVE_SIGNATURE'
test.cpp:(.text._ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE4initEv[boost::archive::detail::common_iarchive<boost::archive::text_iarchive>::init()]+0xd0):
undefined reference to `boost::archive::ARCHIVE_VERSION'
test.o: In function `boost::serialization::extended_type_info_typeid<Myclass
const>::extended_type_info_typeid()':
test.cpp:(.text._ZN5boost13serialization25extended_type_info_typeidIKN3ddr3DDREEC1Ev[boost::serialization::extended_type_info_typeid<Myclass
const>::extended_type_info_typeid()]+0x23): undefined reference to
`boost::serialization::extended_type_info::self_register()'
test.o: In function
`boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::init()':
test.cpp:(.text._ZN5boost7archive6detail15common_oarchiveINS0_13text_oarchiveEE4initEv[boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::init()]+0x14):
undefined reference to `boost::archive::ARCHIVE_SIGNATURE'
test.cpp:(.text._ZN5boost7archive6detail15common_oarchiveINS0_13text_oarchiveEE4initEv[boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::init()]+0x85):
undefined reference to `boost::archive::ARCHIVE_VERSION'
test.o: In function
`boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::common_oarchive()':
test.cpp:(.text._ZN5boost7archive6detail15common_oarchiveINS0_13text_oarchiveEEC2Ev[boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::common_oarchive()]+0xd):
undefined reference to
`boost::archive::detail::basic_oarchive::basic_oarchive()'
collect2: ld returned 1 exit status
make[1]: *** [test] Error 1
make[1]: Leaving directory `test/TEST'
make: *** [check-am] Error 2
Thanks,
Niranjan
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