I've got a problem compiling 3.4.0 version of ITK in Gentoo Linux with gcc 4.1.2. The error is the following:<br><br>[ 45%] Building CXX object Code/Common/CMakeFiles/ITKCommo<div id="mb_0">n.dir/itkMultiThreader.o<br>
/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx: In member function 'void itk::MultiThreader::MultipleMethodExecute()':
<br>/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:568: error: 'pthread_attr_create' no se declaró en este ámbito<br>/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:584:
error: no se puede convertir 'pthread_attr_t' a 'const pthread_attr_t*'
para el argumento '2' para 'int pthread_create(pthread_t*, const
pthread_attr_t*, void* (*)(void*), void*)'
<br>/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx: In member function 'int itk::MultiThreader::SpawnThread(void* (*)(void*), void*)':<br>/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:686: error: 'pthread_attr_create' no se declaró en este ámbito
<br>/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:697:
error: no se puede convertir 'pthread_attr_t' a 'const pthread_attr_t*'
para el argumento '2' para 'int pthread_create(pthread_t*, const
pthread_attr_t*, void* (*)(void*), void*)'
<br>/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx: In member function 'itk::ThreadProcessIDType itk::MultiThreader::DispatchSingleMethodThread(itk::MultiThreader::ThreadInfoStruct*)':<br>/home/kendra/ITK-
3.4.0/Code/Common/itkMultiThreader.cxx:888: error: 'pthread_attr_create' no se declaró en este ámbito
<br>/home/kendra/ITK-3.4.0/Code/Common/itkMultiThreader.cxx:899:
error: no se puede convertir 'pthread_attr_t' a 'const pthread_attr_t*'
para el argumento '2' para 'int pthread_create(pthread_t*, const
pthread_attr_t*, void* (*)(void*), void*)'
<br>make[2]: *** [Code/Common/CMakeFiles/ITKCommon.dir/itkMultiThreader.o] Error 1<br>make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2<br>make: *** [all] Error 2<br><br>Thanks.<br>
</div><br clear="all"><br>-- <br>Esther.