title: cannot find -lpthread
body: <p>I am trying to cross compile samba server.</p>
  
  <p>./config works just fine, but when I want to build with make  the prompt says:</p>
  
  <pre><code>Linking shared library bin/libsmbclient.so.0
  /opt/qnx630/host/linux/x86/usr/bin/ntoarm-ld: cannot find -lpthread
  collect2: ld returned 1 exit status
  make: *** [bin/libsmbclient.so.0] Error 1
  </code></pre>
  
  <p>Anyone knows a solution?</p>