Boost logo

Boost-Build :

Subject: [Boost-build] __sync_val_compare_and_swap_4
From: Madhukar Sandi (Madhukar.Sandi_at_[hidden])
Date: 2010-07-21 04:08:07


Hi

When im doing cross compiling boost libraries on Cronus mips board.

I am getting below error

undefined reference to `__sync_val_compare_and_swap_4'

Please any one have solution , pls share with me

user_at_user-desktop:~/madhukar/boost/boost_1_43_0/workspace/interprocess/messageque$ mips-linux-g++ -lpthread -lrt -g -march=mips32 comp_doc_message_queueA.cpp -o mess -I/home/user/madhukar/boost/boost_1_43_0/ ../../../stage/lib/libboost_thread.a

I got below error....

/tmp/ccVKlA7S.o:/home/user/madhukar/boost/boost_1_43_0/boost/interprocess/detail/atomic.hpp:306: undefined reference to `__sync_val_compare_and_swap_4'
collect2: ld returned 1 exit status

Thanks & Regards
Madhukar Sandi

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk