You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by shirley <sh...@trend.com.tw> on 2014/06/17 12:29:46 UTC

building activemq-cpp failed on Mac OS X 10.5

We tried to build activemq-cpp on Mac OS X 10.5, but we got the following
error messages.

decaf/internal/util/concurrent/unix/Atomics.cpp:126: error: 'atomic_swap_32'
was not declared in this scope
make[2]: ***
[decaf/internal/util/concurrent/unix/libactivemq_cpp_la-Atomics.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It seems that it cannot find neither the atomic builtins
(HAVE_ATOMIC_BUILTINS is set to 0) nor atomic.h. Is there any way or option
we should set to build activemq cpp on Mac OS X 10.5? Any suggestions will
be appreciated. 




--
View this message in context: http://activemq.2283324.n4.nabble.com/building-activemq-cpp-failed-on-Mac-OS-X-10-5-tp4682213.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: building activemq-cpp failed on Mac OS X 10.5

Posted by Timothy Bish <ta...@gmail.com>.
On 06/17/2014 06:29 AM, shirley wrote:
> We tried to build activemq-cpp on Mac OS X 10.5, but we got the following
> error messages.
>
> decaf/internal/util/concurrent/unix/Atomics.cpp:126: error: 'atomic_swap_32'
> was not declared in this scope
> make[2]: ***
> [decaf/internal/util/concurrent/unix/libactivemq_cpp_la-Atomics.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> It seems that it cannot find neither the atomic builtins
> (HAVE_ATOMIC_BUILTINS is set to 0) nor atomic.h. Is there any way or option
> we should set to build activemq cpp on Mac OS X 10.5? Any suggestions will
> be appreciated.
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/building-activemq-cpp-failed-on-Mac-OS-X-10-5-tp4682213.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
I don't think it's been tested on that version so you'd need to dig in 
and see what needs fixed in order to make it work there, we accept patches.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/