[Insight-users] compilation error: __threads is not a type

Puja Malik puja.malik@memot.unibe.ch
Wed, 25 Sep 2002 09:35:54 +0200


I download ITK and CMake and have the following compilation problem on
my Solaris 5.8:

CC  -I/home/encephalon/puja/ITK/Insight/Utilities/stdlib
-I/home/encephalon/puja/ITK/Insight/Code/Numerics
-I/home/encephalon/puja/ITK/work
-I/home/encephalon/puja/ITK/Insight/Code/Numerics
-I/home/encephalon/puja/ITK/Insight/Code/Common
-I/home/encephalon/puja/ITK/Insight/Code/IO
-I/home/encephalon/puja/ITK/work/Code/Numerics/vxl
-I/home/encephalon/puja/ITK/Insight/Code/Numerics/vxl
-I/home/encephalon/puja/ITK/work/Code/Numerics/vxl/vcl
-I/home/encephalon/puja/ITK/Insight/Code/Numerics/vxl/vcl
-I/home/encephalon/puja/ITK/Insight/Utilities/png
-I/home/encephalon/puja/ITK/Insight/Utilities/zlib
-D_PTHREADS
-c
/home/encephalon/puja/ITK/Insight/Code/Numerics/itkCacheableScalarFunction.cxx
-o
itkCacheableScalarFunction.o

"/home/encephalon/puja/ITK/Insight/Utilities/stdlib/stl_alloc.h", line
408: Error: The template argument __threads is not a type.
"/home/encephalon/puja/ITK/Insight/Utilities/stdlib/stl_string_fwd.h",
line 25: Error: "," expected instead of "=".
"/home/encephalon/puja/ITK/Insight/Utilities/stdlib/stl_string_fwd.h",
line 25: Error: ">" expected instead of "=".


I would appreciate any help!     Puja