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">luis.ibanez@kitware.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;">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">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></div><br><br clear="all"><br>-- <br>Esther.