--- Vladimir Prus
Zhoujie Mao wrote:
Thanks Jeff and Vladimir. The problem is gone. But a new one came up.
[Linker error] undefined reference to `pthread_mutex_lock'
I guessed I should include libboost-thread-gcc-1_31 as well. But I only found libboost-thread-gcc-1_31.dll, is there anyway I can get around this? or I am out of luck with windows?
Try adding -mthread to the linker command line (I'm not sure about the spelling, for check the docs). Or add -DBOOST_DISABLE_THREADS to the compiler options and rebuild. This assumes you're using gcc 3.3.
yes, I am using gcc 3.3. Tried both options, it did not work. Checked gcc manual, could not find out a solution. Thanks. George
BTW, it's always a good idea to specify the version of compiler you're using, for gcc it can be obtained with "gcc -v".
HTH, Volodya
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail