Finally results that the version 2.7 of glibc, that i have got intalled, has libpthred included and installed in /usr/lib/libpthread.so and in /lib/libpthread-<a href="http://2.7.so">2.7.so</a>) but&nbsp; ITK-3.4.0 continue without compiling. Any ideas?  
<br><br><div><span class="gmail_quote">2007/12/2, Kendra &lt;<a href="mailto:kendracorreo@gmail.com">kendracorreo@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks. The package in Gentoo is called libpthread-stubs and because of this I don&#39;t found it.<br><br><div><span class="gmail_quote">2007/12/2, Luis Ibanez &lt;<a href="mailto:luis.ibanez@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
luis.ibanez@kitware.com
</a>&gt;:</span><div><span class="e" id="q_1169b203c12a108c_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Kendra<br><br>You seem to be missing the pthreads library in your installation of GNU/Linux.
<br><br>Use your favorite linux package manager and install the libpthread2 package.<br><br>In some systems the package will be &quot;libpthread2&quot;;<br>in others it might be &quot;libpthread2&quot;.<br><br><br>&nbsp;&nbsp; Regards,
<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Luis<br><br><br>----------------------------------------------------------------------<br>On 12/2/07, Kendra &lt;<a href="mailto:kendracorreo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
kendracorreo@gmail.com</a>&gt; wrote:<br>&gt; I&#39;ve got a problem compiling 
3.4.0 version of ITK in Gentoo Linux with gcc<br>&gt; 4.1.2. The error is the following:<br>&gt;<br>&gt; [&nbsp;&nbsp;45%] Building CXX object Code/Common/CMakeFiles/ITKCommon.dir<br>&gt; /itkMultiThreader.o<br>&gt; /home/kendra/ITK-
3.4.0/Code/Common/itkMultiThreader.cxx: In member function<br>&gt; &#39;void itk::MultiThreader::MultipleMethodExecute()&#39;:<br>&gt; /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:568: error:<br>&gt; &#39;pthread_attr_create&#39; no se declaró en este ámbito
<br>&gt; /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:584: error: no se<br>&gt; puede convertir &#39;pthread_attr_t&#39; a &#39;const pthread_attr_t*&#39; para el argumento<br>&gt; &#39;2&#39; para &#39;int pthread_create(pthread_t*, const pthread_attr_t*, void*
<br>&gt; (*)(void*), void*)&#39;<br>&gt; /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx: In member function<br>&gt; &#39;int itk::MultiThreader::SpawnThread(void* (*)(void*), void*)&#39;:<br>&gt; /home/kendra/ITK-
3.4.0/Code/Common/itkMultiThreader.cxx:686: error:<br>&gt; &#39;pthread_attr_create&#39; no se declaró en este ámbito<br>&gt; /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:697: error: no se<br>&gt; puede convertir &#39;pthread_attr_t&#39; a &#39;const pthread_attr_t*&#39; para el argumento
<br>&gt; &#39;2&#39; para &#39;int pthread_create(pthread_t*, const pthread_attr_t*, void*<br>&gt; (*)(void*), void*)&#39;<br>&gt; /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx: In member function<br>&gt; &#39;itk::ThreadProcessIDType
<br>&gt; itk::MultiThreader::DispatchSingleMethodThread(itk::MultiThreader::ThreadInfoStruct*)&#39;:<br>&gt; /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:888: error:<br>&gt; &#39;pthread_attr_create&#39; no se declaró en este ámbito
<br>&gt; /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:899: error: no se<br>&gt; puede convertir &#39;pthread_attr_t&#39; a &#39;const pthread_attr_t*&#39; para el argumento<br>&gt; &#39;2&#39; para &#39;int pthread_create(pthread_t*, const pthread_attr_t*, void*
<br>&gt; (*)(void*), void*)&#39;<br>&gt; make[2]: *** [Code/Common/CMakeFiles/ITKCommon.dir/itkMultiThreader.o] Error<br>&gt; 1<br>&gt; make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2<br>&gt; make: *** [all] Error 2
<br>&gt;<br>&gt; Thanks.<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Esther.<br>&gt;<br></blockquote></span></div></div><span class="sg"><br><br clear="all"><br>-- <br>Esther.
</span></blockquote></div><br><br clear="all"><br>-- <br>Esther.