we accessing functions below using
#include
#include
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 >::basic_binary_iprimitive(_STL::basic_istream&, bool)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_iprimitive >::load(_STL::basic_string&)'
/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 >::~basic_binary_oprimitive()'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_oprimitive >::save(_STL::basic_string const&)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_oprimitive >::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 >::basic_binary_oprimitive(_STL::basic_ostream&, bool)'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_iprimitive >::init()'
../Ferris/.libs/libferris.so: undefined reference to `boost::archive::basic_binary_iprimitive >::~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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
--
Яндекс.Почта: объем почтового ящика не ограничен! http://mail.yandex.ru/monitoring/