Magnus,<br><br>Here they are:<br><span style="font-family:courier new,monospace">configure:10588: checking for a usable libatomic_ops implementation</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">configure:10630: cc -o conftest -g -I/produccion/tmmprov2/claudio/temp/otp_src_R14B04/erts/sparc-sun-solaris2.10  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace"> -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_PTHREAD_SEMANTICS -I/produccion/tmmprov2/lutils/include   conftest.c -ldl -lm   -lpthread  -lkstat >&5</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">"conftest.c", line 45: warning: implicit function declaration: AO_compare_and_swap_full</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Undefined                       first referenced</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace"> symbol                             in file</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">AO_compare_and_swap_full            conftest.o</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">AO_test_and_set_full                conftest.o</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">ld: fatal: symbol referencing errors. No output written to conftest</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">configure:10636: $? = 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">configure: failed program was:</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| /* confdefs.h.  */</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define PACKAGE_NAME ""</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define PACKAGE_TARNAME ""</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define PACKAGE_VERSION ""</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define PACKAGE_STRING ""</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define PACKAGE_BUGREPORT ""</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define STDC_HEADERS 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define HAVE_SYS_TYPES_H 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define HAVE_SYS_STAT_H 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define HAVE_STDLIB_H 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define HAVE_STRING_H 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define HAVE_MEMORY_H 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define HAVE_STRINGS_H 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define HAVE_INTTYPES_H 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define HAVE_STDINT_H 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define HAVE_UNISTD_H 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define SIZEOF_VOID_P 4</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define HAVE_LIBM 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define HAVE_LIBDL 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define HAVE_PTHREAD_H 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define HAVE_KSTAT 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define ETHR_PTHREADS 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define ETHR_HAVE_PTHREAD_H 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define ETHR_HAVE_SCHED_H 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define ETHR_HAVE_SYS_TIME_H 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define ETHR_TIME_WITH_SYS_TIME 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define ETHR_HAVE_PTHREAD_SPIN_LOCK 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define ETHR_HAVE_SCHED_YIELD 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| #define ETHR_SCHED_YIELD_RET_INT 1</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #define ETHR_HAVE_PTHREAD_ATTR_SETGUARDSIZE 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| /* end confdefs.h.  */</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| #include "atomic_ops.h"</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| int</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| main ()</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">| {</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">|                       volatile AO_t x;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|                       AO_t y;</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">|                       int z;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">|                       AO_nop_full();</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|                       AO_store(&x, (AO_t) 0);</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">|                       z = AO_load(&x);</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|                       z = AO_compare_and_swap_full(&x, (AO_t) 0, (AO_t) 1);</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">|</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|   ;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">|   return 0;</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">| }</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">configure:10660: result: no</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">configure:11125: error: No usable libatomic_ops implementation found</span><br><br>I also have tried to build erlang in this platform without libatomic_ops, hoping the build used the native atomic operations available in Solaris 10, but this also failed. Erlang doesn't use them and try to use libatomic_ops instead. ¿Maybe this is because I'm using cc compiler instead of gcc?<br>
<br>Regards,<br>
<br><div class="gmail_quote">On Wed, Dec 14, 2011 at 6:14 AM, Magnus Henoch <span dir="ltr"><<a href="mailto:magnus.henoch@erlang-solutions.com" target="_blank">magnus.henoch@erlang-solutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>> checking for a usable libatomic_ops implementation... no<br>
> configure: error: No usable libatomic_ops implementation found<br>
> configure: error: /bin/bash<br>
> '/produccion/tmmprov2/claudio/temp/otp_src_R14B04/erts/configure'<br>
> failed for erts<br>
<br>
</div>Could you post the relevant bits of erts/config.log?  You should be able<br>
to find the messages above, as well as details about why it didn't<br>
consider your libatomic_ops to be usable.<br>
<span><font color="#888888"><br>
--<br>
Magnus Henoch<br>
Erlang Solutions Ltd<br>
<a href="http://www.erlang-solutions.com/" target="_blank">http://www.erlang-solutions.com/</a><br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Claudio A. Costagliola Fiedler<br>
<div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div>
<div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%" id="avg_ls_inline_popup"></div>