[Insight-developers] compile error

Xinwei Xue xwxue at cs . utah . edu
Wed, 17 Jul 2002 17:05:27 -0600 (MDT)


Hi,

I just did a cvs update of the ITK files, but when I recompile it with
cmake, it give me the following errors, does anyone know why?

Thanks,

Xinwei

c++ -g -O2 -ftemplate-depth-50
-I/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl
-I/home/sci/xwxue/res/itk/Insight-LINUX
-I/home/sci/xwxue/res/itk/Insight/Code/Numerics
-I/home/sci/xwxue/res/itk/Insight/Code/Common
-I/home/sci/xwxue/res/itk/Insight/Code/IO
-I/home/sci/xwxue/res/itk/Insight-LINUX/Code/Numerics/vxl
-I/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl
-I/home/sci/xwxue/res/itk/Insight-LINUX/Code/Numerics/vxl/vcl
-I/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl/vcl
-I/home/sci/xwxue/res/itk/Insight/Utilities/png
-I/home/sci/xwxue/res/itk/Insight/Utilities/zlib   -D_PTHREADS -c
/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx -o
vnl/vnl_math.o
/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx:13:24: vxl_config.h: No
such file or directory
/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx:33:2: warning: #warning
finite() is not declared on this platform
/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx: In
function
   `bool finite(double)':
/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx:37: new
   declaration `bool finite(double)'
/usr/include/bits/mathcalls.h:187: ambiguates old declaration `int
   finite(double)'
/home/sci/xwxue/res/itk/Insight/Code/Numerics/vxl/vnl/vnl_math.cxx:37: `bool
   finite(double)' was declared `extern' and later `static'
/usr/include/bits/mathcalls.h:187: previous declaration of `int
finite(double)'
make[7]: *** [vnl/vnl_math.o] Error 1
make[6]: *** [default_target] Error 2
make[5]: *** [default_target_vxl] Error 2
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Numerics] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Code] Error 2
make: *** [default_target] Error 2