I&#39;m trying to get the threads library to link. I&#39;ve built all the libraries using bjam (--toolset=darwin) and they are in /usr/local/lib (e.g., libboost_thread-mt-1_35.dylib). <br><br>However, when I execute this (from make, but this is the crux):<br>
g++ -funsigned-char&nbsp; -I ~/Desktop/Work/boost_1_35_0/ main.cpp -L /usr/local/lib -lboost_thread-mt-1_35 -t -pthread -o lock_free<br><br>it fails with this output:<br>In file included from /usr/include/c++/4.0.0/backward/strstream:51,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from enforce.h:10,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from main.cpp:5:<br>/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section <a href="http://17.4.1.2">17.4.1.2</a> of the C++ standard. Examples include substituting the &lt;X&gt; header for the &lt;X.h&gt; header for C++ includes, or &lt;iostream&gt; instead of the deprecated header &lt;iostream.h&gt;. To disable this warning use -Wno-deprecated.<br>
<b>ld: in /usr/local/lib, can&#39;t map file, errno=22<br>/usr/lib/crt1.10.5.o<br>collect2: ld returned 1 exit status</b><br>make: *** [lock_free] Error 1<br><br>Any ideas? At first I thought it was a boost library error, but then I added the -t linker option and the <br>
/usr/lib/crt1.10.5.o<br>showed up.<br><br>Thanks in advance -<br>