|
Boost Users : |
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2008-08-26 12:30:01
Hi,
I build release 1.36.0 on linux using jam successfully. By using this,
I've got linker errors:
interpreter.cpp.o: In function `void boost::call_once<void
(*)()>(boost::once_flag&, void (*)())':
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x16):
undefined reference to `boost::detail::get_once_per_thread_epoch()'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x4f):
undefined reference to `boost::detail::once_epoch_mutex'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x89):
undefined reference to `boost::detail::once_epoch_mutex'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0xc1):
undefined reference to `boost::detail::once_global_epoch'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0xc7):
undefined reference to `boost::detail::once_global_epoch'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0xd2):
undefined reference to `boost::detail::once_global_epoch'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0xd8):
undefined reference to `boost::detail::once_global_epoch'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0xdd):
undefined reference to `boost::detail::once_global_epoch'
CMakeFiles/eda.dir/src/python/interpreter.cpp.o:interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0xe3): more
undefined references to `boost::detail::once_global_epoch' follow
CMakeFiles/eda.dir/src/python/interpreter.cpp.o: In function `void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())':
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0xf2):
undefined reference to `boost::detail::once_epoch_cv'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x125):
undefined reference to `boost::detail::once_epoch_cv'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x198):
undefined reference to `boost::detail::once_epoch_mutex'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x19f):
undefined reference to `boost::detail::once_epoch_cv'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x20e):
undefined reference to `boost::detail::once_global_epoch'
interpreter.cpp:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[void
boost::call_once<void (*)()>(boost::once_flag&, void (*)())]+0x214):
undefined reference to `boost::detail::once_global_epoch'
main.cpp.o: In function `main':
main.cpp:(.text+0x312): undefined reference to
`boost::program_options::options_description::m_default_line_length'
main.cpp:(.text+0x3aa): undefined reference to
`boost::program_options::options_description::m_default_line_length'
main.cpp:(.text+0x478): undefined reference to
`boost::program_options::options_description::m_default_line_length'
main.cpp:(.text+0x4c6): undefined reference to
`boost::program_options::options_description::m_default_line_length'
main.cpp:(.text+0x55e): undefined reference to
`boost::program_options::options_description::m_default_line_length'
Any ideas what gone wrong?
linker flags where:
-rdynamic -L/usr/local/boost_1_36_0/lib ... -lboost_python
-lboost_program_options -lboost_thread
-Wl,-rpath,/usr/local/boost_1_36_0/lib:/usr/lib/python2.5/config
Thanks,
Olaf
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