Re: boost thread static library

Thanks, Russell and Michael, from your responces I realise that I will probably have to leave with DLL. However, the next question then would be why am I getting these undefined refs while linking with boost_thread-mgw-mt-d-1_31d? obj\synchronizer.o(.text$_ZN5boost9condition7do_waitINS_5mutexEEEvRT_+0x29):sync hronizer.cpp: undefined reference to `boost::detail::condition_impl::do_wait(__p thread_mutex_t**)' obj\synchronizer.o(.text$_ZN5boost6detail6thread8lock_opsINS_5mutexEE4lockERS3_R NS3_8cv_stateE+0x14):synchronizer.cpp: undefined reference to `boost::mutex::do_ lock(boost::mutex::cv_state&)' obj\synchronizer.o(.text$_ZN5boost6detail6thread8lock_opsINS_5mutexEE6unlockERS3 _RNS3_8cv_stateE+0x14):synchronizer.cpp: undefined reference to `boost::mutex::d o_unlock(boost::mutex::cv_state&)' Thanks, Arkadiy _________________________________________________________________ Get fast, reliable access with MSN 9 Dial-up. Click here for Special Offer! http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/

I'm not sure, as I'm not familiar with mingw. Mike "Arkadiy Vertleyb" <vertleyb@hotmail.com> wrote in message news:LAW12-F450FhecrlVQ70007be9d@hotmail.com...
Thanks, Russell and Michael, from your responces I realise that I will probably have to leave with DLL. However, the next question then would be why am I getting these undefined refs while linking with boost_thread-mgw-mt-d-1_31d?
obj\synchronizer.o(.text$_ZN5boost9condition7do_waitINS_5mutexEEEvRT_+ 0x29):sync
hronizer.cpp: undefined reference to `boost::detail::condition_impl::do_wait(__p thread_mutex_t**)'
obj\synchronizer.o(.text$_ZN5boost6detail6thread8lock_opsINS_5mutexEE4 lockERS3_R
NS3_8cv_stateE+0x14):synchronizer.cpp: undefined reference to `boost::mutex::do_ lock(boost::mutex::cv_state&)'
obj\synchronizer.o(.text$_ZN5boost6detail6thread8lock_opsINS_5mutexEE6 unlockERS3
_RNS3_8cv_stateE+0x14):synchronizer.cpp: undefined reference to `boost::mutex::d o_unlock(boost::mutex::cv_state&)'
Thanks,
Arkadiy
_________________________________________________________________ Get fast, reliable access with MSN 9 Dial-up. Click here for Special Offer! http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Arkadiy Vertleyb
-
Michael Glassford