|
Boost Users : |
From: brussels (brussels_at_[hidden])
Date: 2005-11-28 14:17:31
we accessing functions below using
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
we can now compile test program.. but linker cannot resolve this functions... why? it seems to me, libferris source has no problems..
ld -lstlport_gcc -lboost_serialization-gcc-p -lboost_wserialization-gcc-p -lboost_date_time-gcc-p -lboost_filesystem-gcc-p -lboost_iostreams-gcc-p -lboost_prg_exec_monitor-gcc-p -lboost_program_options-gcc-p -lboost_regex-gcc-p -lboost_signals-gcc-p -lboost_test_exec_monitor-gcc-p -lboost_thread-gcc-mt-p -lboost_unit_test_framework-gcc-p -lboost_wave-gcc-p ../Ferris/.libs/libferris.so
ld: warning: cannot find entry symbol _start; not setting start address
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive, _STL::basic_istream<char, _STL::char_traits<char> > >::basic_binary_iprimitive(_STL::basic_istream<char, _STL::char_traits<char> >&, bool)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive, _STL::basic_istream<char, _STL::char_traits<char> > >::load(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&)'
/usr/local/lib/libboost_test_exec_monitor-gcc-p.so: undefined reference to `test_main(int, char**)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive, _STL::basic_ostream<char, _STL::char_traits<char> > >::~basic_binary_oprimitive()'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive, _STL::basic_ostream<char, _STL::char_traits<char> > >::save(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const&)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive, _STL::basic_ostream<char, _STL::char_traits<char> > >::init()'
/usr/local/lib/libboost_prg_exec_monitor-gcc-p.so: undefined reference to `cpp_main(int, char**)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive, _STL::basic_ostream<char, _STL::char_traits<char> > >::basic_binary_oprimitive(_STL::basic_ostream<char, _STL::char_traits<char> >&, bool)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive, _STL::basic_istream<char, _STL::char_traits<char> > >::init()'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive, _STL::basic_istream<char, _STL::char_traits<char> > >::~basic_binary_iprimitive()'
why this calls cannot be resolved by linker?
>> actually boost built with stlport
>
>> compiling results in error
>
>> what linking flags should i use to get with this
>> "basic_binary_iprimitive"??
>
>No idea: I suggest you contact the author of libferris and find out how it
>(and Boost) should be built. A quick look on the libferris web site doesn't
>even mention Boost, so I'm stumped, sorry.
>
>John.
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- ñÎÄÅËÓ.ðÏÞÔÁ: ÏÂßÅÍ ÐÏÞÔÏ×ÏÇÏ ÑÝÉËÁ ÎÅ ÏÇÒÁÎÉÞÅÎ! http://mail.yandex.ru/monitoring/
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