[asterisk-users] [1.8.3] Error compiling Asterisk: __sync_fetch_and_add
RR
ranjtech at gmail.com
Mon Mar 7 21:31:46 CST 2011
On Mon, Mar 7, 2011 at 5:45 PM, Kevin P. Fleming <kpfleming at digium.com>wrote:
> On 03/07/2011 04:41 PM, RR wrote:
>
> Someone with SPARC experience will have to chime in then... for some
>> reason the configure script has determined that your compiler
>> provides atomic instructions, but they aren't being found at link time.
>>
>>
>> Ok...thanks. Is there no way for me to tell the compiler or provide
>> flags in ./configure that can tell it to not do that? Conversely can I
>> use -march and/or -mcpu kind of options to make this compile for my
>> platform? If so, then what would the value be of these options or are
>> there no values for them and one just specifies them?
>>
>
> The answer to all of those questions is probably 'yes', but that's why I
> said someone with SPARC experience would have to chime in.
Ok, so this is solved! The culprit was the the line "mcpu=v8" in the
Makefile. Comment that out, and it makes properly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110307/9003f6df/attachment.htm>
More information about the asterisk-users
mailing list