Thanks. The package in Gentoo is called libpthread-stubs and because of this I don't found it.<br><br><div><span class="gmail_quote">2007/12/2, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com
</a>>:</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 "libpthread2";<br>in others it might be "libpthread2".<br><br><br> Regards,
<br><br><br> Luis<br><br><br>----------------------------------------------------------------------<br>On 12/2/07, Kendra <<a href="mailto:kendracorreo@gmail.com">kendracorreo@gmail.com</a>> wrote:<br>> I've got a problem compiling
3.4.0 version of ITK in Gentoo Linux with gcc<br>> 4.1.2. The error is the following:<br>><br>> [ 45%] Building CXX object Code/Common/CMakeFiles/ITKCommon.dir<br>> /itkMultiThreader.o<br>> /home/kendra/ITK-
3.4.0/Code/Common/itkMultiThreader.cxx: In member function<br>> 'void itk::MultiThreader::MultipleMethodExecute()':<br>> /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:568: error:<br>> 'pthread_attr_create' no se declaró en este ámbito
<br>> /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:584: error: no se<br>> puede convertir 'pthread_attr_t' a 'const pthread_attr_t*' para el argumento<br>> '2' para 'int pthread_create(pthread_t*, const pthread_attr_t*, void*
<br>> (*)(void*), void*)'<br>> /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx: In member function<br>> 'int itk::MultiThreader::SpawnThread(void* (*)(void*), void*)':<br>> /home/kendra/ITK-
3.4.0/Code/Common/itkMultiThreader.cxx:686: error:<br>> 'pthread_attr_create' no se declaró en este ámbito<br>> /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:697: error: no se<br>> puede convertir 'pthread_attr_t' a 'const pthread_attr_t*' para el argumento
<br>> '2' para 'int pthread_create(pthread_t*, const pthread_attr_t*, void*<br>> (*)(void*), void*)'<br>> /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx: In member function<br>> 'itk::ThreadProcessIDType
<br>> itk::MultiThreader::DispatchSingleMethodThread(itk::MultiThreader::ThreadInfoStruct*)':<br>> /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:888: error:<br>> 'pthread_attr_create' no se declaró en este ámbito
<br>> /home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:899: error: no se<br>> puede convertir 'pthread_attr_t' a 'const pthread_attr_t*' para el argumento<br>> '2' para 'int pthread_create(pthread_t*, const pthread_attr_t*, void*
<br>> (*)(void*), void*)'<br>> make[2]: *** [Code/Common/CMakeFiles/ITKCommon.dir/itkMultiThreader.o] Error<br>> 1<br>> make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2<br>> make: *** [all] Error 2
<br>><br>> Thanks.<br>><br>><br>> --<br>> Esther.<br>><br></blockquote></div><br><br clear="all"><br>-- <br>Esther.