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

Steven Boyd skboyd at ucalgary.ca
Sat, 13 Mar 2004 19:43:45 -0700


Hi Luis,

Yes, I am using the native compiler.  I installed Forte 6, Update 1.

 > temple:Insight # CC -V
 > cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11

I haven't installed the GNU compilers.  I guess I have no choice?

Sincerely,

Steve


Luis Ibanez wrote:
> 
> Hi Steven,
> 
> It looks like you are using the Sun native compiler CC.
> 
> Could you please let us know the version of your compiler ?
> 
> I think most of the builds on Solaris are using GCC
> instead of the Sun compiler.
> 
> You may want to try setting the environment variables
> CC and CXX to point to the gcc and g++ compilers and
> then restart the configuration from scratch.
> 
> 
>   Please let us know what you find.
> 
> 
> 
>    Thanks
> 
> 
>     Regards
> 
> 
> 
> ------------------
> Steven Boyd wrote:
> 
>> 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
-------------------------------------------------------------------