[Insight-users] Compile problem on Solaris 5.8 of CVS.

Steven Boyd skboyd at ucalgary.ca
Thu, 11 Mar 2004 20:15:40 -0700


Hi,

I'm trying to build the latest CVS version of ITK on my SUN (Solaris 
5.8), but run into errors in the vnl library.  Below is part of the 
output from my attempt to build.  Can somebody see a solution to this 
build problem?  Is it something I need to tweak in CMake?

Sincerely,

Steve

-----   BUILD ERROR RESULTS   -----------------------------------------

Building object file Templates/vnl_convolve+double.double-.o...
"/local/pack/Insight/Utilities/vxl/core/vnl/algo/vnl_convolve.txx", line 
79: Error: The name has_only_primefactors_2_3_5(unsigned) is unusable in 
vnl_convolve_using_fft<double, double, double>(const 
vnl_vector<double>&, const vnl_vector<double>&, double*, int).
"/local/pack/Insight/Utilities/vxl/core/vnl/algo/vnl_convolve.txx", line 
122:     Where: While instantiating "vnl_convolve_using_fft<double, 
double, double>(const vnl_vector<double>&, const vnl_vector<double>&, 
double*, int)".
"/local/pack/Insight/Utilities/vxl/core/vnl/algo/vnl_convolve.txx", line 
122:     Where: Instantiated from vnl_convolve<double, double, 
double>(const vnl_vector<double>&, const vnl_vector<double>&, double*, int).
"/local/pack/Insight/Utilities/vxl/core/vnl/algo/Templates/vnl_convolve+double.double-.cxx", 
line 3:     Where: Instantiated from non-template code.
1 Error(s) detected.
*** Error code 1
The following command caused the error:
CC -o Templates/vnl_convolve+double.double-.o -Ditkvnl_algo_EXPORTS 
-D_PTHREADS -KPIC  -I/local/pack/Insight/Utilities/vxl/core/vnl/algo 
-I/local/pack/Insight -I/local/pack/Insight/Code/Algorithms 
-I/local/pack/Insight/Code/BasicFilters 
-I/local/pack/Insight/Code/Common -I/local/pack/Insight/Code/Numerics 
-I/local/pack/Insight/Code/IO -I/local/pack/Insight/Code/Numerics/FEM 
-I/local/pack/Insight/Code/Numerics/Statistics 
-I/local/pack/Insight/Code/SpatialObject 
-I/local/pack/Insight/Utilities/MetaIO 
-I/local/pack/Insight/Utilities/DICOMParser 
-I/local/pack/Insight/Utilities/expat -I/local/pack/Insight/Utilities 
-I/local/pack/Insight/Utilities/vxl/vcl 
-I/local/pack/Insight/Utilities/vxl/core 
-I/local/pack/Insight/Utilities/vxl/v3p/netlib 
-I/local/pack/Insight/Utilities/zlib -I/local/pack/Insight/Utilities/png 
-I/local/pack/Insight/Utilities/jpeg 
-I/local/pack/Insight/Utilities/tiff  -c 
/local/pack/Insight/Utilities/vxl/core/vnl/algo/Templates/vnl_convolve+double.double-.cxx
make: Fatal error: Command failed for target 
`Templates/vnl_convolve+double.double-.o'
Current working directory /local/pack/Insight/Utilities/vxl/core/vnl/algo
*** Error code 1
The following command caused the error:
make  all
make: Fatal error: Command failed for target `default_target'
Current working directory /local/pack/Insight/Utilities/vxl/core/vnl/algo
*** Error code 1
.
.
.
.
. etc

-- 
Steven Boyd, PhD

Assistant Professor
Department of Mechanical and Manufacturing Engineering
University of Calgary
2500 University Drive, N.W.
Calgary, Alberta, Canada, T2N 1N4

tel. 1.403.220.4173  fax. 1.403.282.8406  skboyd at ucalgary.ca
-------------------------------------------------------------------